# Contracts

Look up a token by its contract address and get what it is: its standard, name, symbol, decimals and total supply, on EVM chains and Solana.

- Look up by contract address
- Name, symbol and decimals
- EVM chains and Solana

## Key facts

| | |
| --- | --- |
| Endpoints | 2 |
| Blockchains | 4 |
| Chain families | EVM, Solana |
| Custody | Non-custodial, you sign |
| Free trial | 14 days, no card |

## Token details for wallets, explorers and listings

**Show the right amounts.** Read a token's decimals before you display or send an amount, so an amount is never off by a factor of a million.

**Name an unknown token.** Turn a contract address from a transfer into a name and symbol your users can read.

**Check before listing.** Confirm a contract's standard and supply before you add the token to your wallet or exchange.

## Make your first Contracts call

Real paths and example responses from the API reference. Add your API key and run it.

### Token · EVM

```
curl https://rest.cryptoapis.io/contracts/evm/ethereum/mainnet/CONTRACT_ADDRESS/token-details \
  -H "X-API-Key: YOUR_API_KEY"
```

### Token · Solana

```
curl https://rest.cryptoapis.io/contracts/solana/mainnet/CONTRACT_ADDRESS/token-details \
  -H "X-API-Key: YOUR_API_KEY"
```

## Every Contracts endpoint

Each operation links to its page in the API reference, with its parameters and responses. Paths take the blockchain and the network, so moving to another chain is a change of path.

| What it does | Method and path | Blockchains | Reference |
| --- | --- | --- | --- |
| Get Token Details by Contract Address EVM | `GET /contracts/evm/{blockchain}/{network}/{contractAddress}/token-details` | Ethereum, Ethereum Classic, BNB Smart Chain | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/contracts-evm/get-token-details-by-contract-address-evm/get) |
| Get Token Details by Contract Address Solana | `GET /contracts/solana/{network}/{contractAddress}/token-details` | Solana | [Docs](https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/contracts-solana/get-token-details-by-contract-address-solana/get) |

## Contracts works on 4 blockchains

Mainnets, and test networks where the chain has one. Open a chain for its own endpoints and quick start.

- [Ethereum](/chains/ethereum)
- [Ethereum Classic](/chains/ethereum-classic)
- [BNB Smart Chain](/chains/binance-smart-chain)
- [Solana](/chains/solana)

## Build the rest of the flow

- [Transactions Data](/products/blockchain-api/transactions-data) — Any transaction by hash, with its transfers
- [Address Latest](/products/blockchain-api/address-latest) — Balance and recent transactions of any address, no setup
- [Market Data](/products/blockchain-api/market-data) — Exchange rates and asset details

## Contracts questions

**Which blockchains does Contracts support?** Contracts works on 4 blockchains: Ethereum, Ethereum Classic, BNB Smart Chain, Solana. Each chain's page lists its networks and its own endpoints.

**Can I try Contracts for free?** Yes, for 14 days. The Blockchain API free trial includes Contracts and every other feature, with no card. It ends after 14 days or when its credits run out; after that, calls need a subscription, listed on the [pricing page](/pricing).

**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.

## Pointers

- [Blockchain API](/products/blockchain-api)
- [All networks](/what-we-support)
- [Pricing](/pricing)
- [Developer portal](https://developers.cryptoapis.io/)
