Cambrian Whitelisted Tokens API

By Cambrian Network base

GET /api/v1/evm/tokens

EVM Whitelisted Tokens

Returns a list of all whitelisted tokens for EVM-compatible chains, including their contract addresses, symbols, names, and decimal places. This endpoint provides essential token metadata for building decentralized applications and integrating with EVM ecosystems.

Business Value

  • Token Discovery: Access a comprehensive catalog of verified tokens across EVM chains for integration purposes
  • Contract Verification: Get validated contract addresses to avoid interaction with malicious or fake tokens
  • Metadata Standardization: Retrieve standardized token information including symbols, names, and decimal precision
  • Chain Compatibility: Support for multiple EVM-compatible networks through a single endpoint
  • Application Development: Essential data for wallets, DEXs, and portfolio tracking applications

Endpoint Details

URL:

https://opabinia.cambrian.network/api/v1/evm/tokens

Method: GET
Authentication: Required via X-API-Key header

Query Parameters

Parameter Type Required Default Description
- - - - No query parameters required

Response Field Descriptions

Response Field Type Description
chainId UInt32 The blockchain network identifier (e.g., 1 for Ethereum, 8453 for Base)
address FixedString(42) The contract address of the token in hexadecimal format
symbol FixedString(50) The trading symbol or ticker of the token
name String The full name of the token
decimals UInt8 The number of decimal places the token uses for precision
stable UInt8 Flag indicating if the token is a stablecoin (0 = false, 1 = true)

Examples

1. Retrieve All Whitelisted Tokens

Get the complete list of whitelisted tokens across all supported EVM chains.

curl -X GET "https://opabinia.cambrian.network/api/v1/evm/tokens" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response:

{
  "columns": [
    {
      "name": "chainId",
      "type": "UInt32"
    },
    {
      "name": "address",
      "type": "FixedString(42)"
    },
    {
      "name": "symbol",
      "type": "FixedString(50)"
    },
    {
      "name": "name",
      "type": "String"
    },
    {
      "name": "decimals",
      "type": "UInt8"
    },
    {
      "name": "stable",
      "type": "UInt8"
    }
  ],
  "data": [
    [
      8453,
      "0xb3c2c8b4ed137c098609932787686483f30d846d",
      "$2025",
      "2025",
      18,
      0
    ],
    [
      8453,
      "0xcfd6a9461e6ed2dcc8f7e39476353d1b7a4865af",
      "$8BT",
      "8-Brett",
      18,
      0
    ],
    [
      8453,
      "0xfd59354c577e07ce83170d5e1d01a1671ede8b7f",
      "$ASE",
      "ASE",
      18,
      0
    ],
    [
      8453,
      "0x24f7c4be57a1d2b36b6be2eb4bd415803703855b",
      "$BCD",
      "BankrClankerDRB",
      18,
      0
    ],
    [
      8453,
      "0x64b220c4fec8c94d6ca1d04d9f85916db655afbf",
      "$BEBASED",
      "The Year We Built Base - A 2024 Retrospective Featuring Jesse Pollak",
      18,
      0
    ]
  ],
  "rows": 1667
  // ... additional rows omitted for brevity
}

Returns a columnar data format with 1667 whitelisted tokens, primarily from Base chain (chainId: 8453). Each token includes complete metadata for integration and verification purposes.

x402 Payment Option

This endpoint supports pay-per-use access via the x402 payment protocol (v2) — pay $0.05 USDC per request using blockchain micropayments. No API key required.

Quick Start (TypeScript)

npm install @x402/fetch @x402/evm viem
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));

const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const response = await fetchWithPayment(
  "https://deep42.cambrian.network/api/v1/evm/tokens"
);
const data = await response.json();

Quick Start (Python)

pip install "x402[httpx]"
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

async def main():
    client = x402Client()
    account = Account.from_key(os.getenv("EVM_PRIVATE_KEY"))
    register_exact_evm_client(client, EthAccountSigner(account))

    async with x402HttpxClient(client) as http:
        response = await http.get("https://deep42.cambrian.network/api/v1/evm/tokens")
        print(response.json())

asyncio.run(main())

Payment Flow

  1. Send a normal request to the endpoint (no API key needed)
  2. Server returns 402 Payment Required with payment details
  3. The x402 SDK automatically signs a payment authorization with your wallet
  4. The SDK resubmits the request with the signed payment
  5. Server verifies payment and returns the API response

The x402 SDK handles steps 2–5 automatically.

Network: Base (chain ID 8453) | Currency: USDC | Price: $0.05 per request


Related Endpoints

  • /api/v1/evm/price-current - Returns current price of a token calculated based on uniswap v3 and clones liquidity pools
  • /api/v1/evm/price-hour - Returns historical hourly price data for a specified EVM token
  • /api/v1/evm/dexes - List of DEXes on EVM compatible chains
  • /api/v1/evm/tvl/status - Returns the tokens held by an address
  • /api/v1/evm/tvl/top-owners - Returns top token holders for a given token address