Finance
Crypto historical prices API
Historical price series for a crypto asset over N days, for backtests and trend analysis. Answers queries like 'bitcoin price history', 'ETH price over the last 90 days', 'historical crypto prices'.
Price$0.03per request
MethodPOST
Route/v1/finance/crypto-history
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache600s public
financecryptohistoryohlcbacktestprice-historycoingecko
API URL
Integration docshttps://x402.hexl.dev/v1/finance/crypto-historyExample request
{
"id": "bitcoin",
"days": 30
}Example response
{
"id": "bitcoin",
"vs": "usd",
"days": 30,
"count": 31,
"points": [
{
"date": "2026-05-03T00:00:00.000Z",
"price": 95000
}
]
}Input schema
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"examples": [
"bitcoin",
"ethereum"
]
},
"days": {
"type": "number",
"minimum": 1,
"maximum": 365,
"default": 30
},
"vs": {
"type": "string",
"default": "usd"
}
}
}Output schema
{
"type": "object",
"required": [
"id",
"count",
"points"
],
"properties": {
"id": {
"type": "string"
},
"vs": {
"type": "string"
},
"days": {
"type": "number"
},
"count": {
"type": "number"
},
"points": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
}