{"uid":"cap_ugoMiVj8V8O-27fneUY-d","slug":"hyperliquid-current-funding-rate-x402-7f6a70cc","name":"Hyperliquid Current Funding Rate (x402)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/api/v1/coinank/funding-rate/current?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"coin":{"enum":["BTC","ETH","SOL"],"type":"string","examples":["BTC","ETH","SOL"],"description":"Perp coin (default BTC)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"coins":{"BTC":{"mark_px":80860,"oracle_px":80870,"open_interest":30000,"funding_hourly":0.0000125,"funding_apr_pct":10.95,"open_interest_usd":2426000000}},"venue":"hyperliquid","sources":["https://api.hyperliquid.xyz/info"],"updated_at":"2026-10-28T11:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Aw6RBLK36My_dzmMj1aUC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current perpetual funding rate, mark price, oracle price, and open interest for BTC, ETH, or SOL on Hyperliquid, paid per-call via x402 USDC microtransaction.","exampleAgentPrompt":"What's the current funding rate and open interest for BTC perpetuals on Hyperliquid — give me the hourly rate, annualized APR, and mark vs oracle price?","exampleUseCases":[{"title":"Funding arbitrage signal detection","prompt":"Check the current annualized funding APR for BTC perps on Hyperliquid — if it's above 20%, I want to know so I can set up a cash-and-carry trade."},{"title":"Perp bot market state refresh","prompt":"My trading bot needs the latest Hyperliquid funding rate, mark price, oracle price, and open interest for ETH right now — pull that data for me."},{"title":"Funding rate comparison across assets","prompt":"Get me the current hourly funding rates for BTC, ETH, and SOL on Hyperliquid so I can see which perp market is paying the most to shorts right now."}],"resultDescription":"A JSON object containing, for the requested coin: mark price, oracle price, open interest (in contracts and USD), hourly funding rate, annualized funding rate (APR %), the venue name ('hyperliquid'), upstream source URLs, and an ISO 8601 timestamp of when the data was last updated.","failureModes":["Unsupported coin symbol returns an error or empty result (only BTC, ETH, SOL are valid enum values)","Payment failure via x402 if USDC balance on Base is insufficient","Stale data if Hyperliquid API is temporarily unavailable (updated_at timestamp will be old)","Network timeout from the Cloudflare Worker if upstream Hyperliquid API is slow","Missing coin parameter defaults to BTC — may return unexpected asset if caller forgets to specify"],"whenToPreferThis":"Use this endpoint when you need real-time Hyperliquid-specific perpetual funding rate data (hourly rate, APR, open interest, mark/oracle prices) for BTC, ETH, or SOL without managing API keys. Ideal for AI trading agents that need pay-per-call microdata via x402 USDC payments on Base. Prefer this over general market data APIs when Hyperliquid funding rates specifically are needed for arbitrage analysis, cash-and-carry setups, or perp bot state refreshes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:14.950Z","isFirstParty":false,"canonicalSlug":"hyperliquid-current-funding-rate-x402-7f6a70cc"}