Tokens
List tokens
Page through the shared token registry with your project key.
Endpoint
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
| Field | Required | Description |
|---|---|---|
| chainId | No | Gray3 chain ID, such as ethereum or solana |
| q | No | Symbol or name prefix (case-insensitive), or an exact token address |
| addresses | No | Up to 50 comma-separated token ids on chainId — see Look up token addresses |
| verification | No | Comma list of verified, unverified, abandoned, flagged — or all. Default verified |
| status | No | active | disabled — default active |
| cursor | No | nextCursor from the previous page |
| limit | No | Rows per page (default 100, max 500) |
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.
{
"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
| Field | Required | Description |
|---|---|---|
| _id | Yes | Token id (tok_…) |
| chainId | Yes | Network the asset lives on |
| address | Yes | Token id in the same form the portfolio API returns (see Token ids) |
| symbol / name | Yes | Display ticker and name |
| decimals | Yes | 0–36 |
| type | No | Token standard, e.g. ERC20, BEP20, SPL, TRC20, JETTON, ASA |
| logoUrl | No | PNG on Gray's asset CDN, usually 256×256. The file name changes when the logo changes. |
| verification | Yes | verified | unverified | abandoned | flagged (see Verification) |
| verified | Yes | Shorthand for verification === "verified" |
| status | Yes | active | disabled |
| reviewReason | No | Why Gray set the verification by hand, e.g. the reason for a flag |
| description / website / explorer | No | Optional project metadata |
| tags / links | No | Optional tags (stablecoin, defi, …) and social links ({name, url}) |
| updatedAt | Yes | ISO timestamp of the last change |
Errors
Errors use HTTP { "error": { "code", "message", "retryable" } }. Branch on code, not the message text.
| Code | HTTP | When |
|---|---|---|
| unauthorized | 401 | Missing or invalid project credentials |
| credits_exhausted | 402 | No credits left this billing period |
| invalid_argument | 400 | Unknown chainId, bad limit, cursor or verification, or more than 50 addresses |
| not_found | 404 | Unknown token id |
| rate_limit_exceeded | 429 | Throttle — retry with backoff (retryable) |
{
"error": {
"code": "unauthorized",
"message": "Human-readable detail (may be sanitized).",
"retryable": false
}
}