Skip to main content
All REST endpoints and streams follow the same response conventions, described on this page.

Field names

Field names and query parameters are camelCase: marketCap, priceChangePct, countBack. Enumerated values are case-sensitive strings, such as "side": "buy", "flags": ["pro_trader"] and "metric": "marketCap". Send and compare them exactly as documented. Responses can include values that are new since you wrote your client, such as a new flag, venue or trader source. Ignore a value you do not recognize, rather than failing to parse the response.

Timestamps

Every timestamp is an integer count of milliseconds since the Unix epoch, in requests and responses alike.
  • Fields that hold a point in time end in At: createdAt, graduatedAt, updatedAt.
  • Some records use a plain name instead, such as a trade’s timestamp and a candle’s time.

Money

Every price, market cap, liquidity, volume and fee total is returned in two units:
No response has a standalone priceUsd field; priceUsd is only a filter key. The portfolio sums are the exception to the pair: fields such as totalValueUsd and stableBalanceUsd contain only the USD value, as a decimal string.

Decimals

Prices, amounts, supplies and percentages are returned as strings containing exact decimals: "0.0000216", "1000000000". JSON numbers are floating point and lose precision on small prices and large token amounts, so parse these strings with a decimal type:
Counts, such as holders.count and buyCount, are plain JSON integers.

Candle values

Candle values (open, high, low, close, volume) are JSON numbers, because charting libraries consume them as floats. Candles are the only place where the API returns money as a number.

Percentages

A field ending in Pct holds a signed percentage on a 0–100 scale, as a decimal string.
For example, "-2.5" means a decrease of 2.5%, not a factor of -0.025. Fields ending in Bps are the exception: they are integers in basis points, so 250 means 2.50%. Examples are transferFeeBps, buyTaxBps and totalSellBps.

Trailing windows

A token’s stats object holds one entry per trailing window, keyed 5m, 30m, 1h, 6h and 24h. Each window ends at the current time rather than aligning to a calendar bucket.

Missing values

  • Most values that are not yet known are null. For example, graduatedAt is null until a token leaves its launchpad.
  • A few fields use an empty value instead. For example, a trade’s name and symbol are empty strings until the token’s metadata is available.
  • Empty lists may be omitted: platforms and annotations on a token, and flags, platforms and identities on a trade. Treat a missing list as empty.
  • A token’s fees object is omitted when no fee data is known.
  • Each URL in a token’s logo can return 404 while the artwork is not yet stored. Show a placeholder when the image does not load.