H

hyperextend · 1M Latest

by hyperextend

GETBaseHyperliquid

$0.002

per call · USD Coin on Base

The most-recent N OHLCV candles (≤5000). Same per-row pricing as the windowed read ($0.00001 base for main/spot, $0.000025 premium for HIP-3/HIP-4); candles lag ~2 days.

Endpoint

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

35

Calls / 30d

14

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.hyperextend.xyz/v1/candles/BTC/1m/latest", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.hyperextend.xyz/v1/candles/BTC/1m/latest?dex=main&n=100" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "c": "42080.0",
  "close_time": 1700000059999,
  "h": "42100.0",
  "interval": "1m",
  "l": "41950.0",
  "n": 340,
  "o": "42000.0",
  "open_time": 1700000000000,
  "v": "12.5"
}

Payment details

Pay to0x548fc289526ab2f0391d562a723cda64bbf1abc4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Hyperliquid
Schemesexact, batch-settlement

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from hyperextend & similar services