Skip to content
Docs

Tokens

List tokens

Page through the shared token registry with your project key.

Endpoint

GET/v1/tokens

Returns one page of the token registry, ordered by symbol. By default only active + verified tokens are returned, which suits token pickers. Pass nextCursor back as cursor to get the next page.

Project keys can read tokens. Gray manages the registry; project keys cannot change it. See Same project credentials.

Each successful request costs 1 credit (token_get), whether it returns one page of up to 500 tokens, a search, an address lookup of up to 50, or a single token. Failed requests are not charged. See Credit costs.

Query

FieldRequiredDescription
chainIdNoGray3 chain ID, such as ethereum or solana
qNoSymbol or name prefix (case-insensitive), or an exact token address
addressesNoUp to 50 comma-separated token ids on chainId — see Look up token addresses
verificationNoComma list of verified, unverified, abandoned, flagged — or all. Default verified
statusNoactive | disabled — default active
cursorNonextCursor from the previous page
limitNoRows per page (default 100, max 500)
Request
curl -sS "https://ledger.gray3.io/v1/tokens?chainId=ethereum&limit=50" \
  -H "X-Gray-Project-Id: proj_your_project_id" \
  -H "Authorization: Bearer gray_sk_your_secret"

Response

HTTP 200 — success envelope wraps the payload in data.

json
{
  "data": {
    "items": [
      {
        "_id": "tok_…",
        "chainId": "ethereum",
        "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "type": "ERC20",
        "logoUrl": "https://assets.blockchain.gray3.io/tokens/ethereum/0xa0b8…eb48/1a2b3c4d5e6f.png",
        "verification": "verified",
        "verified": true,
        "status": "active",
        "website": "https://www.circle.com/usdc",
        "explorer": "https://etherscan.io/token/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "tags": ["stablecoin"],
        "links": [{ "name": "x", "url": "https://x.com/circle" }],
        "updatedAt": "2026-10-18T12:00:00.000Z"
      }
    ],
    "nextCursor": "WyJ1c2RjIiwidG9rXy4uLiJd"
  }
}

nextCursor is omitted on the last page.

Item fields

FieldRequiredDescription
_idYesToken id (tok_…)
chainIdYesNetwork the asset lives on
addressYesToken id in the same form the portfolio API returns (see Token ids)
symbol / nameYesDisplay ticker and name
decimalsYes0–36
typeNoToken standard, e.g. ERC20, BEP20, SPL, TRC20, JETTON, ASA
logoUrlNoPNG on Gray's asset CDN, usually 256×256. The file name changes when the logo changes.
verificationYesverified | unverified | abandoned | flagged (see Verification)
verifiedYesShorthand for verification === "verified"
statusYesactive | disabled
reviewReasonNoWhy Gray set the verification by hand, e.g. the reason for a flag
description / website / explorerNoOptional project metadata
tags / linksNoOptional tags (stablecoin, defi, …) and social links ({name, url})
updatedAtYesISO timestamp of the last change

Errors

Errors use HTTP { "error": { "code", "message", "retryable" } }. Branch on code, not the message text.

CodeHTTPWhen
unauthorized401Missing or invalid project credentials
credits_exhausted402No credits left this billing period
invalid_argument400Unknown chainId, bad limit, cursor or verification, or more than 50 addresses
not_found404Unknown token id
rate_limit_exceeded429Throttle — retry with backoff (retryable)
json
{
  "error": {
    "code": "unauthorized",
    "message": "Human-readable detail (may be sanitized).",
    "retryable": false
  }
}