Skip to content
Docs

Tokens

Get a token by ID

Fetch a single tok_… record for detail screens.

Endpoint

GET/v1/tokens/:tokenId

Load one registry row by its tok_… id. To look a token up by its address, use Look up token addresses.

Request
curl -sS "https://ledger.gray3.io/v1/tokens/tok_your_token_id" \
  -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": {
  "_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"
}
}

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
  }
}