{"uid":"cap_5qnm3ZC1tJ-BS0SMxVmrL","slug":"4sec-futures-basis-api-f8a2c15f","name":"4SEC Futures Basis API","description":"Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.","url":"https://api.foursec.xyz/futures/basis/%7Bsymbol%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object","example":{"symbol":{"type":"string"},"spot_price":{"type":"number"},"best_carry_trade":{"type":"string"},"perp_by_exchange":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LmTck68U80CZkeF9i_gxD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the futures basis (spot vs perpetual price spread) for a given crypto symbol across multiple exchanges, including the best carry trade opportunity.","exampleAgentPrompt":"What's the current futures basis for BTC — show me the spot price, the perp rates by exchange, and which one gives the best carry trade right now?","exampleUseCases":[{"title":"Carry trade opportunity scanner","prompt":"Find me the best carry trade opportunity for ETH — I want to see the spot price, perp rates across exchanges, and which exchange has the highest basis I can capture."},{"title":"Cross-exchange basis arbitrage","prompt":"Pull the current futures basis for SOL across all exchanges and tell me where the biggest spread between spot and perp exists right now."},{"title":"Real-time funding rate dashboard","prompt":"I'm building a dashboard — give me the live perp funding rates by exchange for BTC and flag the best carry trade opportunity available."}],"resultDescription":"Returns a JSON object containing the symbol, current spot price, the best carry trade opportunity (as a string label), and a breakdown of perpetual swap prices or funding rates by exchange. Useful for identifying cross-exchange basis arbitrage and cash-and-carry trades.","failureModes":["Invalid or unsupported symbol returns an error or empty data","Payment not processed via x402 protocol results in 402 Payment Required response","Network latency from aggregating multi-exchange data may occasionally cause timeouts","Symbol not listed on any tracked exchange may return null or empty perp_by_exchange object"],"whenToPreferThis":"Choose this endpoint when you need real-time, aggregated futures basis data across multiple exchanges for a single crypto symbol, especially for carry trade analysis. It is ideal for agents performing derivatives arbitrage research, funding rate monitoring, or cash-and-carry strategy evaluation. Prefer this over single-exchange APIs when cross-exchange comparison is essential.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:25:18.505Z","isFirstParty":false}