Prices at a time
This page is also Markdown, for agents: /api/reference/prices.md, and /llms.txt lists every page.
prices.at
Section titled “prices.at”Prices of tokens at given times. HTTP: /prices/at, with each query as at=<token>:<timestamp_millis>, comma-separated.
| Param | Description |
|---|---|
queries |
Required. 1 to 100 of { "token": "wrap.near", "timestamp_millis": 1700000000000 } |
The result is { "height", "timestamp_millis", "prices" }, with a price for each query, in the same order:
- the last
price_usdrecorded at or before that time; "0"before the token’s first price;- for a token that has since lost its price, the last one it had, since a price of
"0"isn’t recorded; nullfor a token that doesn’t exist.
A time after the latest indexed block is a not_indexed error.
GET https://api.intea.rs/prices/at?at=wrap.near:1790000000000,nope.near:1790000000000{ "height": 219969969, "timestamp_millis": 1792003920726, "prices": ["4.0912072952475411051", null] }