{"openapi":"3.1.0","info":{"title":"Funding Rate Arbitrage Feed","version":"1.1.0","description":"x402-gated perpetual funding-rate arbitrage feed for autonomous trading agents. Informational data only, not financial advice. Funding rates change continuously; an opportunity flag is a screening signal, not a profit estimate, and trading fees, slippage and margin costs are not included.","x-guidance":"GET /v1/funding/arbitrage costs 0.10 USD per successful call: pay with x402 (USDC on Base) or with a Skyfire pay / kya-pay token in the kyapay-token header. Returns hourly funding rates (% per hour) for BTC, ETH, SOL on Binance, Hyperliquid and dYdX v4, plus the best cross-venue spread and action, refreshed about every 15 minutes (check generated_at). Optional fee_bps and hold_hours add net-of-fees estimates. Poll the free GET /v1/status first and buy only when it is fresh. This is screening data, not financial advice; fees and slippage are not included.","contact":{"email":"contact@rdxdata.xyz"}},"servers":[{"url":"https://funding.rdxdata.xyz","description":"Production (funding.rdxdata.xyz)"}],"paths":{"/v1/funding/arbitrage":{"get":{"operationId":"getFundingArbitrage","tags":["feed"],"parameters":[{"name":"fee_bps","in":"query","required":false,"schema":{"type":"number","minimum":0,"maximum":100},"description":"Optional. Your taker fee per fill in basis points (5 = 0.05%). When set, every coin's best_arbitrage also carries a net-of-fees estimate. Four fills are assumed: open and close on both venues."},{"name":"hold_hours","in":"query","required":false,"schema":{"type":"number","minimum":1,"maximum":720},"description":"Optional, requires fee_bps. How long you expect to hold the position, in hours. Default 8."},{"name":"kyapay-token","in":"header","required":false,"schema":{"type":"string"},"description":"Skyfire KYAPay token (type pay or kya-pay) as an alternative to x402 payment. It is charged once per successful call; kya tokens cannot be charged."}],"summary":"Funding Rate Arbitrage Feed","description":"Funding Rate Arbitrage Feed: hourly perpetual funding rates (% per hour) and cross-venue spread signals for BTC, ETH, SOL across Binance, Hyperliquid and dYdX v4. Informational only; not financial advice.","security":[],"x-skyfire-token-type":["pay","kya-pay"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.10"},"protocols":[{"x402":{"network":"eip155:8453","asset":"USDC"}}]},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"generated_at":{"type":"string"},"model":{"type":"string"},"opportunities_found":{"type":"integer"},"data":{"type":"object","properties":{"BTC":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]},"ETH":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]},"SOL":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]}},"required":["BTC","ETH","SOL"]},"cost_model":{"type":"object","properties":{"fee_bps_per_fill":{"type":"number"},"hold_hours":{"type":"number"},"round_trip_fees_pct":{"type":"number"},"assumptions":{"type":"string"}}},"profitable_after_fees_count":{"type":"integer"}},"required":["status","generated_at","model","opportunities_found","data"]},"example":{"status":"success","generated_at":"2026-11-01T00:00:00Z","model":"rule-based-v1","opportunities_found":1,"data":{"BTC":{"binance_rate_hourly":0.0011,"hyperliquid_rate_hourly":0.0095,"dydx_rate_hourly":0.0009,"best_arbitrage":{"spread_hourly":0.0086,"action":"Long dYdX, Short Hyperliquid","estimated_duration_hours":"1-8 hours"}},"ETH":{"binance_rate_hourly":0.0012,"hyperliquid_rate_hourly":0.00125,"dydx_rate_hourly":0.0012,"best_arbitrage":{"spread_hourly":0.00005,"action":"No Profitable Arbitrage Opportunity Detected","estimated_duration_hours":"N/A"}},"SOL":{"binance_rate_hourly":0.0011,"hyperliquid_rate_hourly":0.0012,"dydx_rate_hourly":0.0011,"best_arbitrage":{"spread_hourly":0.0001,"action":"No Profitable Arbitrage Opportunity Detected","estimated_duration_hours":"N/A"}}}}}}},"402":{"description":"Payment Required (x402 v2, PAYMENT-REQUIRED header + JSON body), or a Skyfire token with insufficient balance"},"403":{"description":"Invalid, expired or wrong-type Skyfire token; nothing is charged"},"422":{"description":"Invalid query parameter (for example hold_hours without fee_bps); payment is not settled"},"503":{"description":"Feed not ready or stale; payment is not settled"}}}},"/v1/status":{"get":{"operationId":"getFeedStatus","tags":["status"],"summary":"Feed freshness (free)","description":"Free: no payment or token needed. Reports when the feed was last refreshed, without returning any data. 200 when fresh; 503 when the feed is missing, stale or unreadable.","security":[],"responses":{"200":{"description":"The feed is fresh","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok","stale","not_ready","unavailable"]},"fresh":{"type":"boolean"},"generated_at":{"type":"string"},"age_seconds":{"type":["integer","null"]},"stale_after_seconds":{"type":"integer"},"model":{"type":"string"},"opportunities_found":{"type":"integer"}},"required":["status","fresh"]}}}},"503":{"description":"The feed is missing, stale or unreadable","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok","stale","not_ready","unavailable"]},"fresh":{"type":"boolean"},"generated_at":{"type":"string"},"age_seconds":{"type":["integer","null"]},"stale_after_seconds":{"type":"integer"},"model":{"type":"string"},"opportunities_found":{"type":"integer"}},"required":["status","fresh"]}}}}}}}},"components":{"securitySchemes":{"x402_auth":{"type":"apiKey","name":"PAYMENT-SIGNATURE","in":"header","description":"x402 v2 payment payload (base64) signed by the buyer's wallet."},"SkyfireToken":{"type":"apiKey","in":"header","name":"kyapay-token","description":"Skyfire token header. This service accepts pay or kya-pay tokens as an alternative to x402.","x-skyfire-token-type":["pay","kya-pay"]}}},"x-skyfire-token-type":["pay","kya-pay"],"x-x402":{"x402Version":2,"error":"Payment required","resource":{"url":"https://funding.rdxdata.xyz/v1/funding/arbitrage","description":"Funding Rate Arbitrage Feed: hourly perpetual funding rates (% per hour) and cross-venue spread signals for BTC, ETH, SOL across Binance, Hyperliquid and dYdX v4. Informational only; not financial advice.","mimeType":"application/json"},"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"100000","payTo":"0xA0f3bab8f298766610005F2BCcDef6964b40b5e6","maxTimeoutSeconds":30,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"HEAD","queryParams":{"fee_bps":5,"hold_hours":8}},"output":{"type":"json","example":{"status":"success","generated_at":"2026-11-01T00:00:00Z","model":"rule-based-v1","opportunities_found":1,"data":{"BTC":{"binance_rate_hourly":0.0011,"hyperliquid_rate_hourly":0.0095,"dydx_rate_hourly":0.0009,"best_arbitrage":{"spread_hourly":0.0086,"action":"Long dYdX, Short Hyperliquid","estimated_duration_hours":"1-8 hours"}},"ETH":{"binance_rate_hourly":0.0012,"hyperliquid_rate_hourly":0.00125,"dydx_rate_hourly":0.0012,"best_arbitrage":{"spread_hourly":0.00005,"action":"No Profitable Arbitrage Opportunity Detected","estimated_duration_hours":"N/A"}},"SOL":{"binance_rate_hourly":0.0011,"hyperliquid_rate_hourly":0.0012,"dydx_rate_hourly":0.0011,"best_arbitrage":{"spread_hourly":0.0001,"action":"No Profitable Arbitrage Opportunity Detected","estimated_duration_hours":"N/A"}}}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["HEAD"]},"queryParams":{"type":"object","properties":{"fee_bps":{"type":"number","minimum":0,"maximum":100,"description":"Optional. Your taker fee per fill in basis points (5 = 0.05%). When set, every coin's best_arbitrage also carries a net-of-fees estimate. Four fills are assumed: open and close on both venues."},"hold_hours":{"type":"number","minimum":1,"maximum":720,"description":"Optional, requires fee_bps. How long you expect to hold the position, in hours. Default 8."}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"status":{"type":"string"},"generated_at":{"type":"string"},"model":{"type":"string"},"opportunities_found":{"type":"integer"},"data":{"type":"object","properties":{"BTC":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]},"ETH":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]},"SOL":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]}},"required":["BTC","ETH","SOL"]},"cost_model":{"type":"object","properties":{"fee_bps_per_fill":{"type":"number"},"hold_hours":{"type":"number"},"round_trip_fees_pct":{"type":"number"},"assumptions":{"type":"string"}}},"profitable_after_fees_count":{"type":"integer"}},"required":["status","generated_at","model","opportunities_found","data"]}},"required":["type"]}},"required":["input"]}}}},"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"HEAD","queryParams":{"fee_bps":5,"hold_hours":8}},"output":{"type":"json","example":{"status":"success","generated_at":"2026-11-01T00:00:00Z","model":"rule-based-v1","opportunities_found":1,"data":{"BTC":{"binance_rate_hourly":0.0011,"hyperliquid_rate_hourly":0.0095,"dydx_rate_hourly":0.0009,"best_arbitrage":{"spread_hourly":0.0086,"action":"Long dYdX, Short Hyperliquid","estimated_duration_hours":"1-8 hours"}},"ETH":{"binance_rate_hourly":0.0012,"hyperliquid_rate_hourly":0.00125,"dydx_rate_hourly":0.0012,"best_arbitrage":{"spread_hourly":0.00005,"action":"No Profitable Arbitrage Opportunity Detected","estimated_duration_hours":"N/A"}},"SOL":{"binance_rate_hourly":0.0011,"hyperliquid_rate_hourly":0.0012,"dydx_rate_hourly":0.0011,"best_arbitrage":{"spread_hourly":0.0001,"action":"No Profitable Arbitrage Opportunity Detected","estimated_duration_hours":"N/A"}}}}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["HEAD"]},"queryParams":{"type":"object","properties":{"fee_bps":{"type":"number","minimum":0,"maximum":100,"description":"Optional. Your taker fee per fill in basis points (5 = 0.05%). When set, every coin's best_arbitrage also carries a net-of-fees estimate. Four fills are assumed: open and close on both venues."},"hold_hours":{"type":"number","minimum":1,"maximum":720,"description":"Optional, requires fee_bps. How long you expect to hold the position, in hours. Default 8."}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"status":{"type":"string"},"generated_at":{"type":"string"},"model":{"type":"string"},"opportunities_found":{"type":"integer"},"data":{"type":"object","properties":{"BTC":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]},"ETH":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]},"SOL":{"type":"object","properties":{"binance_rate_hourly":{"type":["number","null"]},"hyperliquid_rate_hourly":{"type":["number","null"]},"dydx_rate_hourly":{"type":["number","null"]},"best_arbitrage":{"type":"object","properties":{"spread_hourly":{"type":["number","null"]},"action":{"type":"string"},"estimated_duration_hours":{"type":"string"},"gross_funding_pct":{"type":"number"},"net_pct":{"type":"number"},"net_apr_pct":{"type":"number"},"breakeven_hold_hours":{"type":["number","null"]},"profitable_after_fees":{"type":"boolean"}},"required":["spread_hourly","action","estimated_duration_hours"]}},"required":["binance_rate_hourly","hyperliquid_rate_hourly","dydx_rate_hourly","best_arbitrage"]}},"required":["BTC","ETH","SOL"]},"cost_model":{"type":"object","properties":{"fee_bps_per_fill":{"type":"number"},"hold_hours":{"type":"number"},"round_trip_fees_pct":{"type":"number"},"assumptions":{"type":"string"}}},"profitable_after_fees_count":{"type":"integer"}},"required":["status","generated_at","model","opportunities_found","data"]}},"required":["type"]}},"required":["input"]}}}}