AgentOracle: price history time-series for a single token — array of `{ t, price }` points
AgentOracle: price history time-series for a single token — array of `{ t, price }` points at hourly or daily intervals. Pass `interval=hour` (returns hourly points over last 1-14 days) or `interval=day` (daily points over last 30-365 days). `limit` defaults to 24, max 200. Ideal for trading bots, charting agents, and backtesting.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-06
updated
Provider
aiagentoracle.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2feCabDFC849C76fdC28CA13Aa0Ab392753EF35C",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"symbol": "ETH"
},
"queryParams": {
"interval": "hour",
"limit": 24
},
"type": "http"
},
"output": {
"example": {
"asOf": "2025-12-31T23:59:30Z",
"interval": "hour",
"points": [
{
"price": 3418.22,
"t": "2025-12-31T22:00:00Z"
},
{
"price": 3421.55,
"t": "2025-12-31T23:00:00Z"
}
],
"symbol": "ETH"
},
"type": "json"
}
},
"routeTemplate": "/api/v1/token/:symbol/history",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"symbol": {
"description": "Uppercase ticker symbol.",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"interval": {
"default": "hour",
"description": "Time bucket. `hour` returns hourly points; `day` returns daily points.",
"enum": [
"hour",
"day"
],
"type": "string"
},
"limit": {
"default": 24,
"description": "Number of points to return (newest last).",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"asOf": {
"format": "date-time",
"type": "string"
},
"interval": {
"enum": [
"hour",
"day"
],
"type": "string"
},
"points": {
"items": {
"properties": {
"price": {
"description": "Spot price in USD at timestamp `t`.",
"type": "number"
},
"t": {
"format": "date-time",
"type": "string"
}
},
"required": [
"t",
"price"
],
"type": "object"
},
"type": "array"
},
"symbol": {
"type": "string"
}
},
"required": [
"symbol",
"interval",
"points",
"asOf"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://aiagentoracle.ai/api/v1/token/:symbol/history" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://aiagentoracle.ai/api/v1/token/:symbol/history");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://aiagentoracle.ai/api/v1/token/:symbol/history")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1102.json, and this resource appears in /discovery/resources and /discovery/search.