Api Endpoint

AgentOracle

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.

Open interactive test console

Offering

Provider
aiagentoracle.ai
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://aiagentoracle.ai/api/v1/token/:symbol/history
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
preflight, Base, Risk, X402, DeFi

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x2feCabDFC849C76fdC28CA13Aa0Ab392753EF35C"
  }
]

Observed health

Status
Healthy
Latest latency
284 ms
Average latency
518 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "interval": {
          "type": "string",
          "enum": [
            "hour",
            "day"
          ],
          "default": "hour",
          "description": "Time bucket. `hour` returns hourly points; `day` returns daily points."
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200,
          "default": 24,
          "description": "Number of points to return (newest last)."
        }
      },
      "additionalProperties": false
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string",
          "description": "Uppercase ticker symbol."
        }
      },
      "required": [
        "symbol"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output 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"
}