ToolAssay

Historical crypto OHLCV bars (gzip required)

Historical crypto OHLCV bars (gzip required). Requires `Accept-Encoding: gzip`. When `start` predates all upstreams' coverage the API returns `422` with code `data_unavailable` and an `earliest` field. Pay per call in USDC via x402; no account or API key.

Answeringour last check, 2026-11-27
1 of 1checks answered this week
835 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://x402.sifting.io/v1/hist/crypto/:symbol/bars

CategoryCode and developer
Provider hostx402.sifting.io
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.01 835 ms

Example input (from the provider)

{
  "method": "GET",
  "pathParams": {
    "symbol": "BTCUSD"
  },
  "queryParams": {
    "interval": "1h",
    "limit": 1000,
    "start": "2026-11-01"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "pathParams": {
          "properties": {
            "symbol": {
              "description": "USD-quoted crypto symbol, e.g. `BTCUSD`.",
              "type": "string"
            }
          },
          "required": [
            "symbol"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "cursor": {
              "description": "Opaque pagination cursor from a previous response's `meta.next_cursor`.",
              "type": "string"
            },
            "end": {
              "description": "Inclusive upper bound. Default now.",
              "type": "string"
            },
            "interval": {
              "default": "1m",
              "description": "Bar interval. Default 1m. All `/v1/hist/*` routes accept the same set: intraday (1m\u20131h), plus `1d` (UTC calendar day), `1w` (Monday-aligned), and `1mo` (calendar month). Coarser bars are aggregated from 1-minute history; a `1d`/`1w`/`1mo` bar opens at midnight UTC of the period start.",
              "enum": [
                "1m",
                "5m",
                "15m",
                "30m",
                "1h",
                "1d",
                "1w",
                "1mo"
              ],
              "type": "string"
            },
            "limit": {
              "default": 1000,
              "maximum": 5000,
              "type": "integer"
            },
            "start": {
              "description": "Inclusive lower bound (YYYY-MM-DD or RFC3339). Required.",
              "type": "string"
            }
          },
          "required": [
            "start"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "items": {
                "properties": {
                  "c": {
                    "type": "number"
                  },
                  "h": {
                    "type": "number"
                  },
                  "l": {
                    "type": "number"
                  },
                  "o": {
                    "type": "number"
                  },
                  "t": {
                    "type": "integer"
                  },
                  "v": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "meta": {
              "properties": {
                "as_of": {
                  "format": "date-time",
                  "type": "string"
                },
                "interval": {
                  "type": "string"
                },
                "next_cursor": {
                  "type": "string"
                },
                "symbol": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON