Get historical asset prices
Fetch historical underlying asset prices.
https://api-v2.syncrone.fi/api/catalog/historical/asset-prices/{network}/{assetAddress}USD price of a vault asset per point, read from the catalog vault holding that asset with the longest history. Points without a price are skipped.
Try it#
Example#
A real response to the pre-filled Try it request, recorded from Syncrone data. Values move with every indexing run.
GET /historical/asset-prices/mainnet/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?perPage=7&fromTimestamp=1790035200&toTimestamp=1790640000&granularity=1day{
"itemsOnPage": 0,
"data": []
}Parameters#
| Name | Type | Description |
|---|---|---|
| networkpathrequired | string | Network name ( |
| assetAddresspathrequired | string | Token address, any case. |
| pagequery | integer | Page number, starting from 0. |
| perPagequery | integer | Items per page, 1 to 1000. |
| fromTimestampquery | integer | Start of the period, Unix seconds, inclusive. |
| toTimestampquery | integer | End of the period, Unix seconds, inclusive. Defaults to now. |
| granularityquery | string1day | 1week | Spacing of points. Vaults are indexed once a day at 00:00 UTC, so |
Response#
200 returns JSON with these fields. APY values are fractions (0.04 = 4%); timestamps are Unix seconds.
| Field | Type | Description |
|---|---|---|
| itemsOnPage | integer | Number of items in |
| nextPage | integer | Next page number. Absent on the last page. |
| data[].timestamp | integer | Point time, Unix seconds. |
| data[].priceInUsd | string | USD per token. |
Errors#
| Status | Meaning |
|---|---|
| 400 | Invalid query or path parameter, or unknown network. |
| 401 | Missing or rejected API key. |
| 404 | No catalog vault holds this asset on this network. |
| 429 | Too many requests from the docs playground. Wait a minute. |
| 500 | The service failed. |
Error bodies carry error and, for invalid parameters, details.