Api Endpoint

io.github.scrape402/scrape402

Historical OHLC candles for a crypto pair (e.g. BTC-USD) — for technical analysis and backtesting. Query: pair; granularity (1m, 5m, 15m, 1h, 6h, 1d — default 1h); limit (1-300, default 100) for the latest window, OR start & end (ISO8601 or unix secs) for a backtest range paginated server-side up to 3000 candles — months of history in one call. Returns candles oldest->newest, each {t, o, h, l, c, v}. Real-time from Coinbase.

Open interactive test console

Offering

Provider
x402.shizu.me
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://x402.shizu.me/candles
MIME type
application/json
First seen
2026-10-16T03:04:46.000Z
Last seen
Tags
Crypto, ohlc, Candles, technical-analysis, backtesting, market-data, Trading, Bitcoin, MCP, X402

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
352 ms
Average latency
1170 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": {
    "method": {
      "const": "GET"
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "pair": {
          "type": "string"
        },
        "granularity": {
          "type": "string"
        },
        "start": {
          "type": "string"
        },
        "end": {
          "type": "string"
        }
      },
      "required": [
        "pair",
        "granularity",
        "start",
        "end"
      ]
    }
  },
  "required": [
    "method"
  ]
}

Output schema

{
  "type": "json",
  "example": {
    "pair": "BTC-USD",
    "granularity": "1h",
    "count": 744,
    "candles": [
      {
        "t": 1719763200,
        "o": 62410.1,
        "h": 62600,
        "l": 62310.5,
        "c": 62542,
        "v": 118.3
      }
    ]
  }
}