# Prices at a time

> prices.at, a token's price at a point in the past.

This page is part of the Intear API docs. The Intear API is at `https://api.intea.rs` and `wss://api.intea.rs/ws`, with no API key. https://docs.intear.tech/api/llms-full.txt has all of its pages in one file, and https://docs.intear.tech/llms.txt lists every page of the Intear docs.

## `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_usd` recorded 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;
- `null` for a token that doesn't exist.

A time after the latest indexed block is a [`not_indexed`](https://docs.intear.tech/api/reference/errors.md) error.

```
GET https://api.intea.rs/prices/at?at=wrap.near:1790000000000,nope.near:1790000000000
```

```json
{ "height": 219969969, "timestamp_millis": 1792003920726, "prices": ["4.0912072952475411051", null] }
```
