Read an NFT collection and optionally one token from the chain: ERC-721 or ERC-1155, name, symbol, total supply, the token's owner and its metadata (name, description, image, attributes) with IPFS and Arweave resolved. Metadata hosts are fetched through the same private-network guard as web-fetch. Read-only, no key.

Paid per call via x402. Send without payment to get the exact price in the 402.

post/v1/tools/nft-info

Request

  • Base URL: https://agents.dexl.io
  • URL: https://agents.dexl.io/v1/tools/nft-info
  • Auth: API key in header X-Payment

Request body

chainstring

Chain id, e.g. ethereum, base, polygon, arbitrum.

contractstring required

NFT contract address (0x...).

token_idstring

Optional token id (decimal). Without it only the collection is read.

Response

The tool output

Changes

No recorded changes to this operation across all 1 revision of this API.