82trust / 100
Sofr Usd
by regimeshift.xyz in Other
x402 APIPassing, checked 2 h ago
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.
GET https://regimeshift.xyz/api/v1/rate/sofr/usd
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 171 ms typical, 171 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://regimeshift.xyz/api/v1/rate/sofr/usd?horizon=1h"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fregimeshift.xyz%2Fapi%2Fv1%2Frate%2Fsofr%2Fusd
const res = await pay("https://regimeshift.xyz/api/v1/rate/sofr/usd?horizon=1h");
console.log(await res.json());Example input
{
"horizon": "1h"
}Example output
{
"asset": "USD",
"cache_ttl_sec": 60,
"computed_at": 1779380000,
"decomposition": {
"base_anchor": 4.115,
"regime_adjustment": 0,
"variance_premium": 0
},
"horizon": "1h",
"horizon_sec": 3600,
"methodology": {
"url": "https://regimeshift.xyz/methodology/agent-sofr-v1",
"version": "agent-sofr-v1"
},
"ok": true,
"rate": 4.115,
"regime": {
"mode": "RESTING",
"mode_index": 0
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 171 ms | $0.001 |
| 7 h ago | Passed | 402 | 225 ms | $0.001 |