Get live crypto reference prices
curl --request POST \
--url https://api.agg.market/crypto/reference-prices \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"targets": [
{
"type": "venueMarket",
"venueMarketId": "<string>"
}
]
}
'{
"data": [
{
"target": {
"type": "venueMarket",
"venueMarketId": "<string>"
},
"venueEventId": "<string>",
"venueMarketId": "<string>",
"externalEventId": "<string>",
"externalMarketId": "<string>",
"asset": "<string>",
"quoteAsset": "USD",
"raw": "<string>",
"decimals": 123,
"normalized": 123,
"providerTimestamp": "<string>",
"fetchedAt": "<string>",
"ageMs": 123,
"refreshing": true,
"stale": true,
"source": {
"provider": "<string>",
"providerMarketId": "<string>"
},
"error": {
"message": "<string>"
}
}
],
"softRefreshMs": 123,
"hardMaxAgeMs": 123
}Discovery
Get live crypto reference prices
Returns fresh reference prices for recurring crypto market targets. Responses are never older than 1 second; concurrent requests are deduplicated across API instances.
POST
/
crypto
/
reference-prices
Get live crypto reference prices
curl --request POST \
--url https://api.agg.market/crypto/reference-prices \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"targets": [
{
"type": "venueMarket",
"venueMarketId": "<string>"
}
]
}
'{
"data": [
{
"target": {
"type": "venueMarket",
"venueMarketId": "<string>"
},
"venueEventId": "<string>",
"venueMarketId": "<string>",
"externalEventId": "<string>",
"externalMarketId": "<string>",
"asset": "<string>",
"quoteAsset": "USD",
"raw": "<string>",
"decimals": 123,
"normalized": 123,
"providerTimestamp": "<string>",
"fetchedAt": "<string>",
"ageMs": 123,
"refreshing": true,
"stale": true,
"source": {
"provider": "<string>",
"providerMarketId": "<string>"
},
"error": {
"message": "<string>"
}
}
],
"softRefreshMs": 123,
"hardMaxAgeMs": 123
}Authorizations
Your application ID. Required for all app-tier and user-tier routes.
Body
application/json
Required array length:
1 - 100 elements- Option 1
- Option 2
- Option 3
- Option 4
Show child attributes
Show child attributes
⌘I