Token fields
This page is also Markdown, for agents: /api/reference/token-fields.md, and /llms.txt lists every page.
Name the fields you want in fields. account_id always comes first. The last three columns say whether a field works in where bounds (min, max), in sort, and in min_change.
| Field | Type | where |
sort |
min_change |
|---|---|---|---|---|
name, symbol |
string | |||
decimals |
number | ✅ | ✅ | |
reference |
string or null |
|||
icon |
string or null |
|||
thumbnail |
string or null |
|||
icon_hash |
string or null |
|||
price_usd, price_usd_raw, price_usd_hardcoded |
string | ✅ | ✅ | ✅ |
price_near |
string | ✅ | ✅ | ✅ |
ath_price_usd_raw |
string | ✅ | ✅ | |
main_pool, main_pool_url |
string or null |
|||
liquidity |
string | ✅ | ✅ | ✅ |
liquidity_usd |
number | ✅ | ✅ | ✅ |
market_cap_usd, fdv_usd |
number | ✅ | ✅ | ✅ |
total_supply, circulating_supply |
string | ✅ | ✅ | ✅ |
the same two with _with_decimals |
string | ✅ | ✅ | ✅ |
holders |
number | ✅ | ✅ | ✅ |
reputation |
string | |||
socials |
object or null |
|||
description |
string or null |
|||
dev |
string or null |
|||
banner_hash |
string or null |
|||
burn_addresses |
list of strings | |||
deleted |
boolean | |||
created_at, created_at_millis |
number | ✅ | ✅ | |
buys_<w>, sells_<w>, traders_<w> |
number | ✅ | ✅ | ✅ |
volume_usd_<w> |
number | ✅ | ✅ | ✅ |
price_usd_raw_<w>_ago |
string | ✅ | ✅ | ✅ |
price_change_<w> |
number or null |
✅ | ✅ |
<w> is a window: 5m, 15m, 1h, 6h or 24h.
Metadata
Section titled “Metadata”name,symbol,decimals,reference: from the token contract’sft_metadata.icon: the contract’s icon, shrunk to a small WebP if it’s a raster image, ornullwhen there’s none that can be served inline.thumbnail: a WebP of at most 35×35, a few hundred bytes, SVG icons included.nullwhen the icon can’t be decoded, and for a new token until its icon has been processed.icon_hash: the icon as a WebP of up to 128×128 athttps://api.intea.rs/icon/<icon_hash>.webp, SVG icons rasterized. The hash is 16 characters of URL-safe base64 from the icon’s SHA-256, so the URL changes whenever the icon does. It’s served withCache-Control: public, max-age=31536000, immutable, and returns404once it’s changed. Tokens with the same icon share it.reputation:Spam,Unknown,NotFakeorReputable, in increasing order.socials: links like{ "twitter": "https://x.com/..." }.description: what the launchpad the token was launched on describes it as,nullwhen it isn’t from one that does.banner_hash: the token’s 500×150 banner, as a WebP athttps://api.intea.rs/banner/<banner_hash>.webp, served likeicon_hash.nullwithout one.dev: the account that launched the token: the one that signed the transaction deploying its contract, or for a meta-transaction, the signer of the delegate action rather than the relayer. For a meme.cooking token, whoever created the meme.nullwhen that isn’t known.deleted: the token’s account is gone, has no contract, or has noft_metadata, or whatft_metadatareturns isn’t token metadata. A contract that panics, or an RPC that fails, doesn’t count. It staystrueuntil the token is found again, say after a redeploy.created_at: the block height the token was first seen at, andcreated_at_milliswhen that block was produced. wNEAR, USDt, USDC and nBTC havecreated_at0andcreated_at_millisat NEAR’s genesis.
Prices
Section titled “Prices”price_usd: USD per whole token."0"without a price. USDt is always"1".price_usd_raw: the unscaled price the indexer works in:price_usd = price_usd_raw × 10^(decimals − 6).price_usd_hardcoded:price_usd, except that USDC (17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1) is pinned at exactly"1"while it’s within 1% of $1.price_near: NEAR per whole token,price_usdover wrap.near’s at the same block."0"while either has no price.ath_price_usd_raw: the highest raw price ever recorded, as of the latest block.main_pool: the pool the price comes from, likeREF-6063orINTEARPLACH-274, ornull. It pairs the token with one that has a price of its own, and so on down towrap.nearor USDt, along the route whose shallowest pool is deepest. A route with one more pool needs to be twice as deep, and the price only moves to another route once that one is twice as deep. See Where prices come from.main_pool_url: the pool’s page on its DEX, ornullwithout amain_pool.
precision (1 to 30) rounds the string prices (price_usd, price_usd_raw, price_usd_hardcoded, price_near, ath_price_usd_raw and price_usd_raw_<w>_ago) to that many significant digits, keeping at least 3 decimals: at 6, 0.000123456789 is 0.000123457 and 12345.6789 is 12345.679. Without it, price_near and ath_price_usd_raw have up to 30 significant digits, and the others up to 20.
Where prices come from
Section titled “Where prices come from”Prices come from the pools of these DEXs:
| DEX | Pool ID | How a pool prices its tokens |
|---|---|---|
| Rhea | REF-<id> |
Its own swap math: constant product for simple pools, and StableSwap for stable, rated and degen pools, with rated tokens at their rate and degen tokens at the prices Rhea gives them |
| Rhea DCL | REFDCL-<token x>|<token y>|<fee> |
Its current price point |
| Plach | INTEARPLACH-<id> |
Its reserves, with a launch pool’s phantom liquidity |
| Qoq | INTEARQOQ-<id> |
Its price on its StableSwap curve: the oracle’s price as of the pool’s last swap, or its fixed price. A pool that an oracle prices has no price before its first swap |
| Aidols | AIDOLS-<token> |
Its bonding curve |
wrap.near is priced through Rhea’s NEAR/USDt pool, REF-6063, while that pool can price it, and USDt is always "1". Every other token’s price comes along a route of pools down to one of them, as main_pool describes.
Liquidity and supply
Section titled “Liquidity and supply”liquidity: the token’s reserves summed across its pools with tokens that have a price, in its smallest units, each counted only as far as the route behind that price is deep. A Rhea DCL pool counts what it holds, not its liquidity at the current price.liquidity_usd: the value ofliquidity, doubled to count the side it’s paired with.total_supply,circulating_supply: in the token’s smallest units. The_with_decimalsforms are the same in whole tokens, like"21000000.5".total_supplyisft_total_supply, or a known maximum supply for some tokens, minus what the zero address andburn_addresseshold. Forwrap.near, it’s NEAR’s total supply, and so iscirculating_supply.circulating_supplyalso leaves out supply known to be locked, like a treasury or tokens still vesting.
burn_addresses: accounts whose balance counts as burned.market_cap_usdandfdv_usd:circulating_supplyandtotal_supplyatprice_usd.0without a price.holders: how many accounts hold any of the token, as far as this project’s indexed balances go.
Activity windows
Section titled “Activity windows”For each window <w>, exact as of every block:
buys_<w>,sells_<w>: how many swaps bought and sold the token.traders_<w>: how many accounts made them.volume_usd_<w>: what they were worth in USD, each swap valued at the prices from before its block.price_usd_raw_<w>_ago: the last raw price recorded at or before the window’s start, or"0".price_change_<w>:price_usd_raw / price_usd_raw_<w>_ago - 1, like0.05for +5%.nullwithout a price<w>ago. A token that lost its price hasprice_usd"0", butprice_usd_raw_<w>_agokeeps its last price, so itsprice_change_<w>is-1: filter withmin.price_usdto leave such tokens out of gainers and losers.
A swap counts from its block until the window has moved past it, and price_usd_raw_<w>_ago moves along with the window.