Api Endpoint

cryptofeed402

OHLCV candles for any Hyperliquid perp, incl. US stock perps (trade.xyz HIP-3, e.g. xyz:TSLA, xyz:NVDA) and crypto, or any OKX USDT spot pair (venue=okx). Intervals 1m to 1M (OKX: 6h instead of 3d/8h); limit 1-500 (OKX 300), end= for older Hyperliquid candles. Open/high/low/close, volume, trade count, closed flag. Bad params 400, unknown symbol 404; no candles, no charge. Free sample /samples/candles. $0.003 USDC per call on Base.

Open interactive test console

Offering

Provider
cryptofeed402.site
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://cryptofeed402.site/candles/BTC
MIME type
application/json
First seen
2026-11-13T17:37:00.288Z
Last seen
Tags
Crypto, us-stock-perps, OHLCV, Candles, market-data, perpetuals, hyperliquid

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
183 ms
Average latency
185 ms
HTTP status
402
Last checked
Reachability
100% over 5 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": [
            "1m",
            "3m",
            "5m",
            "15m",
            "30m",
            "1h",
            "2h",
            "4h",
            "6h",
            "8h",
            "12h",
            "1d",
            "3d",
            "1w",
            "1M"
          ],
          "description": "Default 1h"
        },
        "limit": {
          "type": "string",
          "pattern": "^[0-9]{1,3}$",
          "description": "1-500 (okx 1-300), default 100"
        },
        "end": {
          "type": "string",
          "description": "Hyperliquid only: end time, epoch ms or ISO 8601 UTC"
        },
        "venue": {
          "type": "string",
          "enum": [
            "hyperliquid",
            "okx"
          ],
          "description": "Default hyperliquid (perps)"
        }
      }
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string",
          "pattern": "^(?:[A-Za-z]{1,10}:)?[A-Za-z0-9]{1,20}$",
          "description": "Hyperliquid perp ticker (HIP-3 as dex:TICKER) or, with venue=okx, an OKX spot base ticker"
        }
      },
      "required": [
        "symbol"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "symbol": {
          "type": "string"
        },
        "venue": {
          "type": "string"
        },
        "market": {
          "type": "string"
        },
        "interval": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "window": {
          "type": "object"
        },
        "as_of": {
          "type": "string"
        },
        "candles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "t": {
                "type": "string"
              },
              "close_time": {
                "type": "string"
              },
              "o": {
                "type": "number"
              },
              "h": {
                "type": "number"
              },
              "l": {
                "type": "number"
              },
              "c": {
                "type": "number"
              },
              "v": {
                "type": "number"
              },
              "closed": {
                "type": "boolean"
              }
            }
          }
        },
        "provenance": {
          "type": "object",
          "description": "Freshness/provenance (additive). fetched_at = when cryptofeed402 fetched or built the data; observed_at = when the upstream data was observed (as_of); truncated = true only if rows were dropped by a fixed size cap",
          "properties": {
            "source": {
              "type": "string"
            },
            "fetched_at": {
              "type": "string"
            },
            "as_of": {
              "type": "string"
            },
            "observed_at": {
              "type": "string"
            },
            "max_age_s": {
              "type": "number"
            },
            "age_s": {
              "type": "number"
            },
            "truncated": {
              "type": "boolean"
            },
            "data_sha256": {
              "type": "string"
            },
            "canon": {
              "type": "string"
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "required": [
        "symbol",
        "interval",
        "candles"
      ]
    }
  },
  "required": [
    "type"
  ]
}