Historical OHLCV bars for a major-coin crypto spot pair at the requested multipl
Historical OHLCV bars for a major-coin crypto spot pair at the requested multiplier and timespan (minute, hour, day, week, month) between `from` and `to`. Pass the pair in the path as BASE-QUOTE, e.g. BTC-USD or ETH-USD. Aggregated centralized-market spot — for Hyperliquid-listed token spot use /api/v1/spot, for perps use /api/v1/perps. From x402stock, a market & economic data API (x402, USDC).
Answeringour last check, 2026-09-24
1 of 1checks answered this week
431 msmedian answer time
$0.02listed price per call
$0.02price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.x402stock.xyz/api/v1/crypto/:pair/aggregates
| Category | Market data |
|---|---|
| Provider host | agents.x402stock.xyz |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.02 | 431 ms |
Example input (from the provider)
{
"method": "GET",
"pathParams": {
"pair": "EUR-USD"
},
"queryParams": {},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"pathParams": {
"pair": {
"type": "string"
},
"type": "object"
},
"queryParams": {
"properties": {
"adjusted": {
"default": true,
"type": "boolean"
},
"from": {
"default": "2025-07-31",
"minLength": 1,
"type": "string"
},
"limit": {
"default": 5000,
"exclusiveMinimum": 0,
"maximum": 50000,
"type": "integer"
},
"multiplier": {
"default": 1,
"exclusiveMinimum": 0,
"maximum": 50000,
"type": "integer"
},
"sort": {
"default": "asc",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"timespan": {
"default": "day",
"enum": [
"minute",
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"type": "string"
},
"to": {
"default": "2026-07-31",
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}