curl --request GET \
--url https://api.blockworks.com/v1/assets/{idOrSlug}/price \
--header 'x-api-key: <api-key>'
{
"usd": 4014.79,
"btc": 0.036245034667051854,
"eth": 1,
"updated_at": 1760623631,
"asset_code": "ETH",
"asset_slug": "ethereum"
}
Get price data for a single asset. Returns only the price data with asset identifiers.
curl --request GET \
--url https://api.blockworks.com/v1/assets/{idOrSlug}/price \
--header 'x-api-key: <api-key>'
{
"usd": 4014.79,
"btc": 0.036245034667051854,
"eth": 1,
"updated_at": 1760623631,
"asset_code": "ETH",
"asset_slug": "ethereum"
}