Api Endpoint

cryptofeed402 OHLCV candles

OHLCV candles for any Hyperliquid perp (main dex + HIP-3 like xyz:TSLA) or, with venue=okx, any OKX USDT spot pair. Intervals 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 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 charge. Free sample at /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/:symbol
MIME type
application/json
First seen
2026-10-23T22:12:25.378Z
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
187 ms
Average latency
293 ms
HTTP status
402
Last checked
Reachability
100% over 16 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

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "pathParams": {
          "properties": {
            "symbol": {
              "description": "Hyperliquid perp ticker (HIP-3 as dex:TICKER) or, with venue=okx, an OKX spot base ticker",
              "pattern": "^(?:[A-Za-z]{1,10}:)?[A-Za-z0-9]{1,20}$",
              "type": "string"
            }
          },
          "required": [
            "symbol"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "end": {
              "description": "Hyperliquid only: end time, epoch ms or ISO 8601 UTC",
              "type": "string"
            },
            "interval": {
              "description": "Default 1h",
              "enum": [
                "1m",
                "3m",
                "5m",
                "15m",
                "30m",
                "1h",
                "2h",
                "4h",
                "6h",
                "8h",
                "12h",
                "1d",
                "3d",
                "1w",
                "1M"
              ],
              "type": "string"
            },
            "limit": {
              "description": "1-500 (okx 1-300), default 100",
              "pattern": "^[0-9]{1,3}$",
              "type": "string"
            },
            "venue": {
              "description": "Default hyperliquid (perps)",
              "enum": [
                "hyperliquid",
                "okx"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "as_of": {
              "type": "string"
            },
            "candles": {
              "items": {
                "properties": {
                  "c": {
                    "type": "number"
                  },
                  "close_time": {
                    "type": "string"
                  },
                  "closed": {
                    "type": "boolean"
                  },
                  "h": {
                    "type": "number"
                  },
                  "l": {
                    "type": "number"
                  },
                  "o": {
                    "type": "number"
                  },
                  "t": {
                    "type": "string"
                  },
                  "v": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "count": {
              "type": "integer"
            },
            "interval": {
              "type": "string"
            },
            "market": {
              "type": "string"
            },
            "symbol": {
              "type": "string"
            },
            "venue": {
              "type": "string"
            },
            "window": {
              "type": "object"
            }
          },
          "required": [
            "symbol",
            "interval",
            "candles"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}