NFT API Overview
The NFT API indexes metadata and activity for NFT tokens and collections. It supports tokens that adhere to the ERC721 and ERC1155 token standards, as well as non-standard tokens like CryptoPunks.
With the NFT API you can:
- Retrieve on-chain updates in < 1.5 minutes
- Query token metadata, transaction history, ownership, and all tokens within a collection
- Query collection metadata, trending collections, and all collections.
Developers can leverage these features to build crypto applications such as NFT marketplaces, galleries, portfolios, wallets, and more.
Endpoints
Coinbase Node supports the following NFT API endpoints:
General
Get general information about the NFT API.
Endpoint | Method | Description |
---|---|---|
/networks | GET | Get all supported networks. |
info
The NFT API currently only supports NFTs on Ethereum Mainnet.
Contracts
Get metadata and activities for NFT collections.
Endpoint | Method | Description |
---|---|---|
/contracts | GET | List all NFT collections with sorting. |
/contracts | POST | List multiple NFT collections by their contract addresses. |
/contracts/{contractAddress} | GET | Get an NFT collection by its contract address. |
/contracts/{contractAddress}/activities | GET | Get NFT collection activities by contract address. |
Tokens
Get metadata and activities for tokens of an NFT collection.
Endpoint | Method | Description |
---|---|---|
/contracts/{contractAddress}/tokens | GET | Get all tokens within an NFT collection. |
/contracts/{contractAddress}/tokens | POST | List multiple NFT tokens by their token Ids. |
/contracts/{contractAddress}/tokens/{tokenId} | GET | Get an NFT token by its token Id. |
/contracts/{contractAddress}/tokens/{tokenId}/activities | GET | List all the activities of an NFT token. |