Get historical asset prices

Fetch historical underlying asset prices.

GEThttps://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.

← Vaults API overview

Try it#

GET/historical/asset-prices/mainnet/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?perPage=7&fromTimestamp=1790035200&toTimestamp=1790640000&granularity=1day

Kept in this browser tab only, and sent to Syncrone with each request. No key yet? Create one ↗

Example assets
Parameters
Response
Paste an API key, then press Send. The parameters are pre-filled with a real example.
curl
curl "https://api-v2.syncrone.fi/api/catalog/historical/asset-prices/mainnet/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?perPage=7&fromTimestamp=1790035200&toTimestamp=1790640000&granularity=1day" \
  -H "x-api-key: $SYNCRONE_API_KEY"

Example#

A real response to the pre-filled Try it request, recorded from Syncrone data. Values move with every indexing run.

200GET /historical/asset-prices/mainnet/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?perPage=7&fromTimestamp=1790035200&toTimestamp=1790640000&granularity=1day
{
  "itemsOnPage": 0,
  "data": []
}

Parameters#

NameTypeDescription
networkpathrequiredstring

Network name (mainnet, base, arbitrum…), CAIP-2 id (eip155:1) or chain id (1).

assetAddresspathrequiredstring

Token address, any case.

pagequeryinteger

Page number, starting from 0.

default: 0
perPagequeryinteger

Items per page, 1 to 1000.

default: 50
fromTimestampqueryinteger

Start of the period, Unix seconds, inclusive.

default: 0
toTimestampqueryinteger

End of the period, Unix seconds, inclusive. Defaults to now.

granularityquerystring1day | 1week

Spacing of points. Vaults are indexed once a day at 00:00 UTC, so 1day is the finest granularity. 1week points fall on epoch-aligned weeks (Thursdays 00:00 UTC).

default: 1day

Response#

200 returns JSON with these fields. APY values are fractions (0.04 = 4%); timestamps are Unix seconds.

FieldTypeDescription
itemsOnPageinteger

Number of items in data.

nextPageinteger

Next page number. Absent on the last page.

data[].timestampinteger

Point time, Unix seconds.

data[].priceInUsdstring

USD per token.

Errors#

StatusMeaning
400Invalid query or path parameter, or unknown network.
401Missing or rejected API key.
404No catalog vault holds this asset on this network.
429Too many requests from the docs playground. Wait a minute.
500The service failed.

Error bodies carry error and, for invalid parameters, details.