{
  "x402Version": 2,
  "id": 1102,
  "slug": "1102",
  "resource": "https://aiagentoracle.ai/api/v1/token/:symbol/history",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2feCabDFC849C76fdC28CA13Aa0Ab392753EF35C",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "aiagentoracle.ai",
  "lastUpdated": "2026-09-06T03:31:24.523Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-06T03:31:24.282Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "aiagentoracle.ai",
    "manifest_name": "aiagentoracle.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}