{"uid":"cap_hiuYlF_DgpTcxBTVehNgq","slug":"agent-signals-crypto-basis-funding-rate-signal-x402-aa33a2e6","name":"Agent Signals – Crypto Basis/Funding Rate Signal (x402)","description":"Pay-per-call crypto market-intelligence API for autonomous AI trading agents. Funding-rate, BTC lead-lag and trend/chop regime signals, settled in USDC over x402.","url":"https://cryptojp.com/v1/basis","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","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Base asset symbol, e.g. BTC, ETH, SOL."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"base":"ETH","basisPct":0.055,"spotPrice":3450.1,"structure":"contango","perpMarkPrice":3452,"interpretation":"Perp above spot (contango) — longs pay to hold; leveraged-long / bullish carry.","annualizedFundingPct":9.8}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"symbol":"BTC"}}},"response":{"ok":true,"base":"BTC","basisPct":-0.0418,"spotPrice":64107.3,"structure":"flat","computedAt":"2026-06-18T06:48:08.587Z","disclaimer":"Derived heuristic from public market data. Not financial advice. Verify before trading.","perpMarkPrice":64080.5,"interpretation":"Perp ≈ spot; negligible carry.","annualizedFundingPct":null}},"exampleRequest":{"symbol":"BTC"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y6jcUG0LeS3pgj4w17IMj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current funding rate, spot/perp basis percentage, market structure (contango/backwardation), and annualized funding yield for a given crypto asset symbol.","exampleAgentPrompt":"What's the current basis and funding rate for ETH — is it in contango or backwardation, and is it expensive to hold a long perp position right now?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the asset symbol, basis percentage, spot price, perp mark price, market structure label (contango or backwardation), a human-readable interpretation of what the structure means for longs/shorts, and the annualized funding rate percentage.","failureModes":["Missing or invalid 'symbol' query parameter returns a 400 error","Unknown or unsupported asset symbol may return an error or empty result","Payment not completed via x402 protocol returns a 402 Payment Required response","Network or upstream data feed unavailability may return a 503 error"],"whenToPreferThis":"Use this endpoint when an AI trading agent needs real-time funding rate and basis intelligence for a specific crypto asset to decide whether to enter, hold, or exit a leveraged perpetual futures position. Prefer this over generic price feeds when the agent specifically needs carry cost, market structure regime, or funding rate signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:11.899Z","isFirstParty":false}