Perp funding screener
POST /api/perp-funding-screenerRank perpetuals by funding rate: the N most positive (longs pay shorts) and N most negative (shorts pay longs) markets with hourly, 8h and annualized rates, open interest and 24h volume. minVolumeUsd filters out illiquid markets (default $1M). Send POST /api/perp-funding-screener with no required fields (2 optional) and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, screened, minVolumeUsd, highest, lowest and 1 more.
The carry and basis-trade screen in one call. Hyperliquid public data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Rows per side (default 10, max 100). |
minVolumeUsd | number | no | Minimum 24h notional volume in USD (default 1000000, 0 disables). |
Example request
curl -i -X POST https://agent402.tools/api/perp-funding-screener \
-H "Content-Type: application/json" \
-d '{"limit":5}'
Without payment this returns HTTP 402 Payment Required with the exact price for perp-funding-screener; any x402 v2 or MPP client pays it and retries.
Example response
{
"source": "hyperliquid",
"screened": 180,
"minVolumeUsd": 1000000,
"highest": [
{
"coin": "XYZ",
"fundingHourly": 0.0001,
"funding8h": 0.0008,
"fundingAprPct": 87.6,
"openInterestUsd": 12000000,
"volume24hUsd": 35000000,
"markPx": 1.23
}
],
"lowest": [
{
"coin": "ABC",
"fundingHourly": -0.00005,
"funding8h": -0.0004,
"fundingAprPct": -43.8,
"openInterestUsd": 9000000,
"volume24hUsd": 21000000,
"markPx": 0.45
}
],
"fetchedAt": "2026-08-22T12:00:00.000Z"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
source | string | yes | hyperliquid |
screened | number | yes | 180 |
minVolumeUsd | number | yes | 1000000 |
highest | array of objects | yes | 1 item in the example |
lowest | array of objects | yes | 1 item in the example |
fetchedAt | string | yes | 2026-08-22T12:00:00.000Z |
From an MCP client
catalog.call {
"slug": "perp-funding-screener",
"params": {
"limit": 5
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for perp-funding-screener; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key (
Authorization: Bearer a402_...) also pays it. - A
GETorHEADto /api/perp-funding-screener returns the same 402 quote, so the price can be read without a body. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/perp-funding-screener", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5
}),
});
Related tools
Perp funding rate and history
POST /api/perp-fundingCurrent funding rate for one perpetual (hourly, per 8h and annualized) plus the last N hourly funding prints with premiu…
Perp markets snapshot
POST /api/perp-marketsSnapshot of every listed perpetual on Hyperliquid in one call: mark and oracle price, 24h change, hourly funding (plus 8…
Perp premium and predicted funding
POST /api/perp-basisBasis view for one perpetual: mark, oracle and mid price, mark-vs-oracle premium in percent and bps, the impact premium …
Perp dex limits and status (HIP-3)
POST /api/perp-dex-limitsRisk limits and status of ONE builder-deployed perp dex (HIP-3): total open-interest cap, per-perp OI size cap, max tran…
Perp dex markets snapshot (HIP-3)
POST /api/perp-dex-marketsSnapshot of every market on ONE builder-deployed perp dex (HIP-3): mark and oracle price, 24h change, hourly funding (pl…
Perp dexs (HIP-3 builder-deployed)
POST /api/perp-dexsEvery builder-deployed perpetuals dex on Hyperliquid (HIP-3): dex name, full name, deployer, oracle updater and fee reci…