16trust / 100

Hyperliquid Basis

by Vextorium in Other

x402 APIFailing, checked 3 h ago

Basis of Hyperliquid perpetuals: mark vs oracle (spot) price in basis points, premium, hourly and annualized funding and open interest; ranked by funding extremes or for one asset. For basis and cash-and-carry strategies.

POST https://api.vextorium.com/v1/hyperliquid-basis

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/hyperliquid-basis" \
  -H "content-type: application/json" \
  -d '{"limit":5}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fhyperliquid-basis
const res = await pay("https://api.vextorium.com/v1/hyperliquid-basis", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":5}),
});
console.log(await res.json());

Example input

{
  "limit": 5
}

Example output

{
  "assets": [
    {
      "annual_funding_pct": -861.54,
      "asset": "SAND",
      "basis_bp": -109.82,
      "brand": 0.062773,
      "hourly_funding_pct": -0.09835,
      "open_interest_usd": 10073140,
      "oracle": 0.06347,
      "premium_pct": -1.0556
    },
    {
      "annual_funding_pct": -609.01,
      "asset": "2Z",
      "basis_bp": -74.66,
      "brand": 0.045731,
      "hourly_funding_pct": -0.06952,
      "open_interest_usd": 3750928,
      "oracle": 0.046075,
      "premium_pct": -0.6967
    }
  ],
  "note": "Positive funding: longs pay shorts; selling the perp and buying spot collects that funding.",
  "source": "Hyperliquid (open data)"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
8 h agoAmount "0.004" is not in atomic token units40286 ms$0.004
12 h agoAmount "0.004" is not in atomic token units402114 ms$0.004
16 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
20 h agoAmount "0.004" is not in atomic token units40286 ms$0.004
24 h agoAmount "0.004" is not in atomic token units40283 ms$0.004
28 h agoAmount "0.004" is not in atomic token units40278 ms$0.004
32 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
36 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
41 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
44 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40279 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402224 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40291 ms$0.004
3 days agoAmount "0.004" is not in atomic token units40284 ms$0.004