crypto

Live on-chain token metadata for an ERC-20 or ERC-721...

Live on-chain token metadata for an ERC-20 or ERC-721 contract (Base, Ethereum, Polygon, Arbitrum, Optimism; keyless). Returns name, symbol, decimals, detected standard, and total supply (raw + formatted). The authoritative read straight from the contract — complements crypto.token-price and crypto.contract (ABI/source).

get/api/crypto/token-metadata

Request

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

Query parameters

addressstring required

Token contract address.

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

Default base.

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.