Api Endpoint

Historical stock prices, OHLCV

Historical stock prices, OHLCV. Stock price history as OHLCV bars for any ticker or company name: open, high, low, close, adjusted close and volume from 1-minute to monthly bars over 1 day to the full history, plus first, last, change, high and low. Use to chart a stock, backtest a signal, compute returns or feed indicators.

Open interactive test console

Offering

Provider
agent-data-tools.revmesh2074.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent-data-tools.revmesh2074.workers.dev/stock/history
MIME type
application/json
First seen
2026-11-08T18:39:52.471Z
Last seen
Tags
stock-ohlcv-history, stock-history, OHLCV, historical-stock-prices, stocks

Payment pricing

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

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6"
  }
]

Observed health

Status
Healthy
Latest latency
206 ms
Average latency
268 ms
HTTP status
402
Last checked
Reachability
100% over 7 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": {
        "symbol": {
          "type": "string",
          "description": "Ticker (AAPL, ^GSPC, BTC-USD) or a company name",
          "examples": [
            "AAPL"
          ]
        },
        "range": {
          "type": "string",
          "description": "1d, 5d, 1mo (default), 3mo, 6mo, 1y, 2y, 5y, 10y, ytd or max",
          "enum": [
            "1d",
            "5d",
            "1mo",
            "3mo",
            "6mo",
            "1y",
            "2y",
            "5y",
            "10y",
            "ytd",
            "max"
          ],
          "examples": [
            "1mo"
          ]
        },
        "interval": {
          "type": "string",
          "description": "1m, 5m, 15m, 30m, 60m (or 1h), 1d, 1wk or 1mo (default suits the range; intraday bars reach back about 60 days)",
          "enum": [
            "1m",
            "5m",
            "15m",
            "30m",
            "60m",
            "1h",
            "1d",
            "1wk",
            "1mo"
          ],
          "examples": [
            "1d"
          ]
        }
      },
      "required": [
        "symbol"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "range": {
          "type": "string"
        },
        "interval": {
          "type": "string"
        },
        "count": {
          "type": "number"
        },
        "first": {
          "type": "number"
        },
        "last": {
          "type": "number"
        },
        "changePercent": {
          "type": "number"
        },
        "high": {
          "type": "number"
        },
        "low": {
          "type": "number"
        },
        "bars": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "time": {
                "type": "string"
              },
              "open": {
                "type": "number"
              },
              "high": {
                "type": "number"
              },
              "low": {
                "type": "number"
              },
              "close": {
                "type": "number"
              },
              "adjClose": {
                "type": "number"
              },
              "volume": {
                "type": "number"
              }
            }
          }
        },
        "note": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}