{"uid":"cap_MoJoqigMAp-cjQnhmv0n1","slug":"funding-rate-annualize-049f4323","name":"Funding Rate Annualize","description":"Annualize a period funding rate (e.g. 8h → APR). Call when comparing funding across venues with different periods. Returns apr and periods_per_year as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/funding-annualize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hours":{"type":"integer","description":"Funding period length in hours"},"funding_rate":{"type":"number","description":"Funding rate for the period as decimal"}}},"responseSchema":{"type":"json","example":{"apr":0.1095,"hours":8,"schema":"delx/util-funding-annualize/v1","funding_rate":0.0001,"periods_per_year":1095}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LvqDL0iV1YTOMmA2S3Pd0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a periodic funding rate (e.g. 8-hour) into an annualized APR for cross-venue funding rate comparison.","exampleAgentPrompt":"Convert an 8-hour funding rate of 0.01% to an annualized APR so I can compare it with rates from other exchanges.","exampleUseCases":[{"title":"Cross-venue funding rate comparison","prompt":"I'm seeing an 8-hour funding rate of 0.0025 on one exchange and a 1-hour funding rate of 0.0003 on another — can you annualize both so I can compare them apples-to-apples?"},{"title":"Annual carry cost estimation","prompt":"My perp position is paying a 0.01% funding rate every 8 hours — what does that work out to as an annualized percentage so I can estimate my yearly carry cost?"},{"title":"Funding arbitrage screening","prompt":"I have a 4-hour funding rate of 0.005 from one venue — annualize it to APR so I can decide if the funding income justifies the basis risk."}],"resultDescription":"Returns a JSON object with 'apr' (the annualized rate as a decimal or percentage) and 'periods_per_year' (how many funding periods occur in a year given the input hours), computed deterministically from local math with no external data dependencies.","failureModes":["Missing required fields (hours or funding_rate) returns a validation error","Non-positive or zero hours value may cause division errors","Extremely large or small floating-point funding rates may produce unusual but mathematically correct APR values","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, server-side annualization of a periodic funding rate without any external data fetches or API keys — especially when comparing funding rates across venues that use different funding intervals (e.g. 1h vs 4h vs 8h). Prefer this over manual calculation when you want a consistent, auditable result for advisory or display purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:03.456Z","isFirstParty":false}