---
title: "Get all NFTs from a collection"
method: GET
path: "/v3/nft/collection/{chain}/{address}"
tags: ["NFT (ERC-721 or compatible)"]
---

# Get all NFTs from a collection

`GET /v3/nft/collection/{chain}/{address}`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/nft/collection/{chain}/{address}`
- Auth: API key in header `x-api-key`

/v3/nft/collection/{chain}/{address}

**20 credit per API call + 10 credits for each listed NFT**

Get all NFTs from a collection (all the NFTs that were minted on the smart contract).

This API is supported for the following blockchains:

*   Celo
*   Ethereum
*   Polygon
*   Base
*   Arbitrum One
*   Optimism

## Path parameters

- `chain` 'CELO' | 'MATIC' | 'ETH' | 'ETH_BASE' | 'ETH_ARB' | 'ETH_OP', required
- `address` string, required

## Query parameters

- `pageSize` number, required
- `offset` number

## Response `200`

OK

- NftTokenByCollectionErc721[]
  - `tokenId` string, uint256, required: ID of the token.
  - `metadata` NftTokenByCollectionErc721TokenMetadata
    - `tokenId` string, uint256: TokenID of the NFT token owned by this address.
    - `url` string: Metadata URL of the TokenID. This data don't have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.
    - `metadata` object: Metadata scheme obtained from the url. This data don't have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to perform the operation due to logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/smart-contracts.md) - [All operations](https://skmtc.dev/tatum/apis/smart-contracts/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/smart-contracts/revisions/c0146043bb37?raw)
