crypto

Live ERC-721 NFT read (Base, Ethereum, Polygon, Arbitrum...

Live ERC-721 NFT read (Base, Ethereum, Polygon, Arbitrum, Optimism; keyless). Given a contract + tokenId: returns current owner, collection name/symbol, and tokenURI (IPFS auto-resolved to a gateway URL). Pass metadata=1 to also fetch and normalize the token's JSON metadata (name, description, image, attributes). For NFT provenance, ownership checks, and gallery rendering.

get/api/crypto/nft

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/crypto/nft
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

addressstring required

NFT contract address.

tokenIdstring required

Token id (decimal).

chain'base' | 'ethereum' | 'polygon' | 'arbitrum' | 'optimism'

Default ethereum.

metadata'0' | '1' | 'true' | 'false'

1 to also fetch token JSON metadata.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

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