Contracts

Get Full Metadata Details About Smart Contracts

Gain quick access to detailed metadata for smart contracts, such as token symbols, names and many more. Get the ultimate data precision through Contracts Data service.

Full metadata details
Complete token & contract data
25 ms response time

One integration. Infinite possibilities

Get access to over 100+ endpoints using a single point of integration.

{
    "apiVersion": "12-12-2024",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "tokenDecimals": "undefined",
            "tokenName": "Band Protocol",
            "tokenSymbol": "AQUA",
            "tokenType": "SPL-20",
            "totalSupply": "1000000"
        }
    }
}
{
    "apiVersion": "12-12-2024",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "collection": {
                "address": "69k55dCTwiUPNgaTZ8FVMADorTvEGJEGuAGEB7m1qB1S",
                "verified": "true"
            },
            "decimals": "0",
            "description": "A Community Brand Capturing the Spirit of Perseverance and Ambition, in Style",
            "image": "https://ipfs.io/ipfs/QmQ5TWTtXoKeupMucMUuss8pCbt3ZyyfV3frCKPjzzJXQf/8877.png",
            "name": "BoDoggos #8877",
            "symbol": "DOG",
            "totalSupply": "1",
            "type": "fungible"
        }
    }
}

What are you up to?

Our powerful blockchain product suite helps businesses and institutions build the ecosystem of tomorrow.

Crypto Wallet
Hardware Wallet
Crypto Exchange
Crypto PSP
Digital Banks
Crypto Lending
Crypto Custody
Crypto Taxes & Accounting

Infrastructure optimized for growth

30+

Networks Supported

25ms

Avg Processing Time

25,000+ rq/s

Enterprise-ready

100+ TB

of Big Data

Frequently Asked Questions

Which blockchains does the CryptoAPIs Contracts API support?

The Contracts API returns token details by contract address on Ethereum, Ethereum Classic, and Binance Smart Chain (all EVM chains), plus Solana. Each EVM chain is available on both mainnet and its test network (Sepolia, Mordor, and BSC testnet), and Solana is available on mainnet and devnet. These are the only chains covered by the Contracts product today.

Does the CryptoAPIs Contracts API support Solana tokens?

Yes. There is a dedicated Solana endpoint that returns token details by contract address on Solana mainnet and devnet. It is a separate route from the EVM endpoint, so Solana SPL token metadata is supported directly.

What token metadata can I get from a contract address?

For a given token contract address you can retrieve the token's name, symbol, standard, decimals, and total supply. This is the core capability of the Get Token Details by Contract Address endpoint. It is a read-only metadata lookup, not a full contract source or ABI download.

Can I decode a contract ABI or read arbitrary contract state with this API?

No. The Contracts product is scoped to retrieving token metadata (name, symbol, standard, decimals, total supply) by contract address. It does not expose ABI decoding, source code, event log decoding, or arbitrary read-calls to contract methods. For broader on-chain data, CryptoAPIs offers separate transactions data and blockchain data services.

How much does a token-details lookup cost in credits?

Credit cost per token-details request varies by chain: Ethereum is 30 credits, Ethereum Classic 39, and Binance Smart Chain 75, while Solana is 75. These figures are indicative and may change; the exact credits spent are returned in each response's headers.

You might also be interested in