Skip to content
onelayer.
All tools

Tool detail

hyperextend

Returns the most recent N 1-minute BTC OHLCV candles (up to 5000) from Hyperliquid, with candle data lagging about 2 days behind live.

Categories: Market prices

Use when

  • get recent 1-minute BTC candle history from Hyperliquid
  • backtest a strategy using up to 5000 recent BTC 1m candles
  • pull BTC OHLCV data for a HIP-3 dex via the dex param

Not for

  • not live/real-time — candles lag about 2 days behind Hyperliquid
  • not for assets other than BTC — endpoint path is fixed to BTC/1m

Inputs

GET query params: dex (string, optional, HIP-3 dex slug), n (integer, optional, candle count up to 5000)

Admitted input schema

{
  "type": "object",
  "properties": {
    "dex": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "n": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://api.hyperextend.xyz/v1/candles/BTC/1m/latest

Payment

Protocol
x402
Listed price
0.002 USDC per request on Base; per-row sub-pricing also applies (see description)
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://api.hyperextend.xyz/v1/candles/BTC/1m/latest
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z