> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Alchemy

> Blockchain data platform providing NFT metadata, token pricing, and wallet portfolio analytics across Ethereum and other EVM chains.

Blockchain data platform providing NFT metadata, token pricing, and wallet portfolio analytics across Ethereum and other EVM chains. Best for web3 workflows needing structured onchain data — NFT verification, wallet portfolio views, or token price feeds. Priced by compute units (\$0.45/1M CU) with endpoint costs ranging 40-1000 CU.

11 endpoints available through Lava's AI Gateway. See the [Alchemy API docs](https://docs.alchemy.com) for full documentation.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## Endpoints

### Get NFTs owned by an address

**GET** `https://eth-mainnet.g.alchemy.com/nft/v3/getNFTsForOwner?owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045` — \$0.000216 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://eth-mainnet.g.alchemy.com/nft/v3/getNFTsForOwner?owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Feth-mainnet.g.alchemy.com%2Fnft%2Fv3%2FgetNFTsForOwner%3Fowner%3D0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get NFT metadata

**GET** `https://eth-mainnet.g.alchemy.com/nft/v3/getNFTMetadata?contractAddress=0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D&tokenId=1` — \$0.000036 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://eth-mainnet.g.alchemy.com/nft/v3/getNFTMetadata?contractAddress=0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D&tokenId=1', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Feth-mainnet.g.alchemy.com%2Fnft%2Fv3%2FgetNFTMetadata%3FcontractAddress%3D0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D%26tokenId%3D1" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get NFT collection floor price

**GET** `https://eth-mainnet.g.alchemy.com/nft/v3/{id}/getFloorPrice` — \$0.000036 / request

### Get NFT contracts owned by an address

**GET** `https://eth-mainnet.g.alchemy.com/nft/v3/{id}/getContractsForOwner` — \$0.000144 / request

### Get owners of an NFT

**GET** `https://eth-mainnet.g.alchemy.com/nft/v3/{id}/getOwnersForNFT` — \$0.000036 / request

### Check if an NFT contract is spam

**GET** `https://eth-mainnet.g.alchemy.com/nft/v3/{id}/isSpamContract` — \$0.000036 / request

### Get token prices by symbol

**GET** `https://api.g.alchemy.com/prices/v1/tokens/by-symbol?symbols=ETH` — \$0.000018 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.g.alchemy.com/prices/v1/tokens/by-symbol?symbols=ETH', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.g.alchemy.com%2Fprices%2Fv1%2Ftokens%2Fby-symbol%3Fsymbols%3DETH" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get token prices by contract address

**POST** `https://api.g.alchemy.com/prices/v1/tokens/by-address` — \$0.000018 / request

### Get historical token prices

**POST** `https://api.g.alchemy.com/prices/v1/tokens/historical` — \$0.000018 / request

### Token portfolio (native + ERC-20) for one or more wallet addresses across EVM chains, with metadata and USD prices.

**POST** `https://api.g.alchemy.com/data/v1/{id}/assets/tokens/by-address` — \$0.000162 / request

### NFTs owned by one or more wallet addresses across EVM chains, with metadata, images, and acquisition info. Spam filtering available.

**POST** `https://api.g.alchemy.com/data/v1/{id}/assets/nfts/by-address` — \$0.00045 / request

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
