{"uid":"cap_qwKsFspn-ro75iPg_y_Zh","slug":"regimeshift-xyz-78aa1b59","name":"Agent-SOFR USD Short-Rate Benchmark","description":"Agent-SOFR — decentralized USD short-rate benchmark for AI agents. Weighted-median of 7 sources + variance + regime premiums. BNS-calibrated 6-mode classifier on 444k ETH/USDC 5-min bars (λ=1.097 closed-form). Open + IPFS-pinned methodology: agent-sofr-v1.","url":"https://regimeshift.xyz/api/v1/rate/sofr/usd","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"horizon":{"enum":["1h","1d","1w"],"type":"string","description":"Rate horizon (e.g. 1h, 1d)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","asset","rate","decomposition"],"properties":{"ok":{"type":"boolean"},"rate":{"type":"number","description":"Annualized agent-native short rate, %"},"asset":{"type":"string"},"regime":{"type":"object"},"horizon":{"type":"string"},"sources":{"type":"object"},"computed_at":{"type":"integer"},"methodology":{"type":"object"},"decomposition":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"rate":4.115,"asset":"USD","regime":{"mode":"RESTING","mode_index":0},"horizon":"1h","computed_at":1779380000,"horizon_sec":3600,"methodology":{"url":"https://regimeshift.xyz/methodology/agent-sofr-v1","version":"agent-sofr-v1"},"cache_ttl_sec":60,"decomposition":{"base_anchor":4.115,"variance_premium":0,"regime_adjustment":0}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"horizon":"1d"}}},"response":{"ok":true,"rate":4.943,"asset":"USD","regime":{"mode":"ELEVATED","mode_index":3,"thresholds_bp":{"p50":14.214549205501973,"p65":17.7658150628067,"p80":23.251504057990264,"p93":34.44920341599264,"p99":62.933404997191666}},"horizon":"1h","sources":{"aevo_pcp":{"ok":false,"error":"empty orderbook","weight":0.11,"rate_pct":null},"sofr_30d":{"ok":true,"error":null,"weight":0.1,"rate_pct":4.32},"deribit_pcp_30d":{"ok":true,"error":null,"weight":0.32,"rate_pct":4.643},"aave_borrow_usdc":{"ok":true,"error":null,"weight":0.1,"rate_pct":4.2295},"deribit_basis_3m":{"ok":true,"error":null,"weight":0.1,"rate_pct":5.151},"hl_funding_smoothed":{"ok":true,"error":null,"weight":0.22,"rate_pct":10.95},"compound_borrow_usdc":{"ok":false,"error":"not_implemented_yet","weight":0.05,"rate_pct":null}},"variance":{"cv_per_bar":5.996498934015276e-7,"sigma_5min_bp":31.259,"j_squared_per_bar":0.000008360719066418105,"sigma_horizon_pct":1.0828,"lambda_jump_weight":1.097},"computed_at":1780029820,"horizon_sec":3600,"methodology":{"url":"https://regimeshift.xyz/methodology/agent-sofr-v1","verify":{"ipfs":"curl -H 'Accept: application/vnd.ipld.raw' https://ipfs.io/ipfs/bafkreiaadxkhnrpbi5kwc4qargnr67y54stnkqcqy7vt6373hgemdimz7m | shasum -a 256","https":"curl https://regimeshift.xyz/methodology/agent-sofr-v1 | shasum -a 256  # should equal content_hash_sha256"},"version":"agent-sofr-v1","ipfs_cid":"bafkreiaadxkhnrpbi5kwc4qargnr67y54stnkqcqy7vt6373hgemdimz7m","ipfs_gateways":["https://ipfs.io/ipfs/bafkreiaadxkhnrpbi5kwc4qargnr67y54stnkqcqy7vt6373hgemdimz7m","https://dweb.link/ipfs/bafkreiaadxkhnrpbi5kwc4qargnr67y54stnkqcqy7vt6373hgemdimz7m","https://w3s.link/ipfs/bafkreiaadxkhnrpbi5kwc4qargnr67y54stnkqcqy7vt6373hgemdimz7m"],"calibration_data":"444219 5-min bars (~4.2 years) Binance ETH/USDC 1-second tickers aggregated upward. Barndorff-Nielsen-Shephard jump decomposition: BV (bipower variation) + TQ (tripower quarticity) -> Huang-Tauchen Z-statistic. lambda identified closed-form (5% margin over total IL) -> 1.0968 -> rounded to 1.097.","calibration_source":"arms/research/eth_jump_multihorizon.py","content_hash_sha256":"001dd476c5e14755617200899b1f7f1de4a6d54050c7eb3f6ffb3988c1a199fb"},"valid_until":1780029880,"cache_ttl_sec":60,"decomposition":{"base_anchor":4.643,"variance_premium":0,"regime_adjustment":0.3},"effective_weight_sum":0.84}},"exampleRequest":{"horizon":"1d"},"tags":["x402"],"displayCostAmount":"0.001","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.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__PUNXoShfupFqrBCuHsjI","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":"Returns a decentralized, AI-agent-native USD short-rate benchmark (SOFR analog) computed as a weighted median of 7 sources with regime classification and decomposition","exampleAgentPrompt":"What's the current Agent-SOFR USD short rate for a 1-day horizon, including the regime classification and rate decomposition?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: annualized USD short rate (%), asset identifier, rate horizon, regime object (6-mode BNS-calibrated classifier), decomposition of rate components, source-level data from 7 aggregated sources, timestamp, and methodology metadata including IPFS-pinned documentation reference.","failureModes":["Invalid horizon enum value (not 1h, 1d, or 1w) — returns 400 bad request","Payment not provided or insufficient (x402 payment required, $0.001 USDC) — returns 402 payment required","Source data unavailable causing insufficient quorum for weighted median — may return degraded or error response","Rate limit exceeded — returns 429","Service unavailable due to on-chain data feed disruption"],"whenToPreferThis":"Use this endpoint when an AI agent needs a credible, decentralized USD short-rate benchmark for DeFi or agent-native financial operations — particularly for pricing collateralized loans, computing hurdle rates, or assessing interest rate regime context. Prefer over centralized rate APIs when decentralization, open methodology, and crypto-native regime awareness are important. The 6-mode regime classifier makes it uniquely suited for risk-adjusted agent lending decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:41:13.140Z","isFirstParty":false}