Skip to content

Hyperliquid API

9 endpointsFinance & CryptoGlobalsocial:read7 real examples

Returns Hyperliquid perpetual and spot market data: mid prices, metadata, order books, candles, funding rates and volume.

View as Markdown
GET/hyperliquid/midsMid price of every perpetual and spot market, sorted by coin.
GET/hyperliquid/metaPerpetual markets of Hyperliquid with their size decimals and maximum leverage.
GET/hyperliquid/orderBookTop 20 bid and ask levels of one market, best price first.
GET/hyperliquid/tradesThe most recent trades of one Hyperliquid market, with price, size and side.
GET/hyperliquid/candlesThe latest OHLC candles of one market, oldest first.
GET/hyperliquid/perpMarketsEvery perpetual futures market with its mark, oracle and mid price, funding rate, open interest and 24-hour volume.
GET/hyperliquid/spotMarketsEvery spot trading pair with its mark and mid price, 24-hour volume and token supply.
GET/hyperliquid/fundingHistoryHourly funding rate history of one perpetual market, newest last.
GET/hyperliquid/predictedFundingsPredicted next funding rate of perpetual markets on Hyperliquid and on other venues such as Binance and Bybit, optionally of one market.

mids

GET/v1/hyperliquid/mids

Mid price of every perpetual and spot market, sorted by coin.

scope social:read1 unitcached 1 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
coinstring
pricestring
curl "https://api.hoshime.com/v1/hyperliquid/mids" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "coin": "#114910",
      "price": "0.5"
    },
    {
      "coin": "#114911",
      "price": "0.5"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "mids",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

meta

GET/v1/hyperliquid/meta

Perpetual markets of Hyperliquid with their size decimals and maximum leverage.

scope social:read1 unitcached 1 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
isDelistedboolean
maxLeverageinteger (int64)
namestring
szDecimalsinteger (int64)
curl "https://api.hoshime.com/v1/hyperliquid/meta" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "isDelisted": false,
      "maxLeverage": 40,
      "name": "BTC",
      "szDecimals": 5
    },
    {
      "isDelisted": false,
      "maxLeverage": 25,
      "name": "ETH",
      "szDecimals": 4
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "meta",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

orderBook

GET/v1/hyperliquid/orderBook

Top 20 bid and ask levels of one market, best price first.

scope social:read1 unit

Parameters

coin
string
required
Market name, such as BTC or ETH.
e.g. BTC
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
asksLevel[]
ordersinteger (int64)
pricestring
sizestring
bidsLevel[]
ordersinteger (int64)
pricestring
sizestring
coinstring
timestring
curl "https://api.hoshime.com/v1/hyperliquid/orderBook?coin=BTC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "asks": [
      {
        "orders": 15,
        "price": "75722.0",
        "size": "3.71341"
      },
      {
        "orders": 2,
        "price": "75723.0",
        "size": "0.39682"
      }
    ],
    "bids": [
      {
        "orders": 26,
        "price": "75721.0",
        "size": "6.31954"
      },
      {
        "orders": 4,
        "price": "75720.0",
        "size": "0.24319"
      }
    ],
    "coin": "BTC",
    "time": "2026-11-06T18:01:50Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "orderBook",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

trades

GET/v1/hyperliquid/trades

The most recent trades of one Hyperliquid market, with price, size and side.

scope social:read1 unitpaginated

Parameters

coin
string
required
Market name, such as BTC or ETH.
e.g. BTC
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
hashstring
idstring
pricestring
sidestring
sizestring
tradedAtstring
curl "https://api.hoshime.com/v1/hyperliquid/trades?coin=BTC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "hash": "…",
      "id": "abc123",
      "price": "…",
      "side": "…",
      "size": "…",
      "tradedAt": "2026-11-06T09:41:00Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "trades",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

candles

GET/v1/hyperliquid/candles

The latest OHLC candles of one market, oldest first.

scope social:read1 unitcached 1 min

Parameters

coin
string
required
Market name, such as BTC or ETH.
e.g. BTC
interval
string
Candle length, such as 1h or 1d.
1m3m5m15m30m1h2h4h8h12h1d3d1w1M
default 1h
latest
integer
Number of latest candles, from 1 to 500.
default 100
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
coinstring
intervalstring
itemsCandle[]
closestring
highstring
lowstring
openstring
openedAtstring
tradesinteger (int64)
volumestring
curl "https://api.hoshime.com/v1/hyperliquid/candles?coin=BTC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "coin": "BTC",
    "interval": "1h",
    "items": [
      {
        "close": "77843.0",
        "high": "78138.0",
        "low": "77687.0",
        "open": "77932.0",
        "openedAt": "2026-11-02T14:00:00Z",
        "trades": 15911,
        "volume": "1316.9873"
      },
      {
        "close": "77499.0",
        "high": "78108.0",
        "low": "77280.0",
        "open": "77844.0",
        "openedAt": "2026-11-02T15:00:00Z",
        "trades": 18823,
        "volume": "1996.69142"
      }
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "candles",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

perpMarkets

GET/v1/hyperliquid/perpMarkets

Every perpetual futures market with its mark, oracle and mid price, funding rate, open interest and 24-hour volume.

scope social:read1 unitcached 1 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
changestring
changePercentstring
fundingstring
highstring
lowstring
maxLeverageinteger (int64)
midPricestring
openstring
openIntereststring
oraclePricestring
prevDayPricestring
pricestring
symbolstring
updatedAtstring
volumestring
curl "https://api.hoshime.com/v1/hyperliquid/perpMarkets" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "change": "",
      "changePercent": "",
      "funding": "0.0000125",
      "high": "",
      "low": "",
      "maxLeverage": 40,
      "midPrice": "75721.5",
      "open": "",
      "openInterest": "42777.2613",
      "oraclePrice": "75731.0",
      "prevDayPrice": "75948.0",
      "price": "75722.0",
      "symbol": "BTC",
      "updatedAt": "",
      "volume": "3420907968.5405774117"
    },
    {
      "change": "",
      "changePercent": "",
      "funding": "0.0000125",
      "high": "",
      "low": "",
      "maxLeverage": 25,
      "midPrice": "2224.9",
      "open": "",
      "openInterest": "992551.1378000005",
      "oraclePrice": "2225.61",
      "prevDayPrice": "2254.3",
      "price": "2225.0",
      "symbol": "ETH",
      "updatedAt": "",
      "volume": "915400071.1605994701"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "perpMarkets",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

spotMarkets

GET/v1/hyperliquid/spotMarkets

Every spot trading pair with its mark and mid price, 24-hour volume and token supply.

scope social:read1 unitcached 1 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
basestring
changestring
changePercentstring
circulatingSupplystring
highstring
lowstring
midPricestring
openstring
prevDayPricestring
pricestring
quotestring
symbolstring
totalSupplystring
updatedAtstring
volumestring
curl "https://api.hoshime.com/v1/hyperliquid/spotMarkets" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "base": "PURR",
      "change": "",
      "changePercent": "",
      "circulatingSupply": "594657529.2896399498",
      "high": "",
      "low": "",
      "midPrice": "0.100295",
      "open": "",
      "prevDayPrice": "0.10122",
      "price": "0.10029",
      "quote": "USDC",
      "symbol": "PURR/USDC",
      "totalSupply": "594657540.5961600542",
      "updatedAt": "",
      "volume": "1474908.5471259998"
    },
    {
      "base": "HFUN",
      "change": "",
      "changePercent": "",
      "circulatingSupply": "995707.28140787",
      "high": "",
      "low": "",
      "midPrice": "11.3035",
      "open": "",
      "prevDayPrice": "11.365",
      "price": "11.299",
      "quote": "USDC",
      "symbol": "@1",
      "totalSupply": "995707.33223403",
      "updatedAt": "",
      "volume": "22141.87864"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "spotMarkets",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

fundingHistory

GET/v1/hyperliquid/fundingHistory

Hourly funding rate history of one perpetual market, newest last.

scope social:read1 unitcached 5 min

Parameters

coin
string
required
Perpetual market name, such as BTC or ETH.
e.g. BTC
startTime
integer
Unix time in milliseconds the history starts at. Defaults to 24 hours ago.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
coinstring
itemsFundingPoint[]
fundedAtstring
fundingRatenumber (double)
premiumnumber (double)
curl "https://api.hoshime.com/v1/hyperliquid/fundingHistory?coin=BTC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "coin": "BTC",
    "items": [
      {
        "fundedAt": "2026-11-05T19:00:00Z",
        "fundingRate": 0.0000125,
        "premium": 0.0000765443
      },
      {
        "fundedAt": "2026-11-05T20:00:00Z",
        "fundingRate": 0.0000125,
        "premium": 0.0000969844
      }
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "fundingHistory",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

predictedFundings

GET/v1/hyperliquid/predictedFundings

Predicted next funding rate of perpetual markets on Hyperliquid and on other venues such as Binance and Bybit, optionally of one market.

scope social:read1 unitcached 1 minpaginated

Parameters

coin
string
Only this market, such as BTC. Empty for every market.
e.g. BTC
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
coinstring
fundingIntervalHoursinteger (int64)
fundingRatenumber (double)
nextFundingAtstring
venuestring
curl "https://api.hoshime.com/v1/hyperliquid/predictedFundings?coin=BTC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "coin": "…",
      "fundingIntervalHours": 0,
      "fundingRate": 0,
      "nextFundingAt": "2026-11-06T09:41:00Z",
      "venue": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "predictedFundings",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hyperliquid",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open