82trust / 100
Market State
by ACODA Liquidation Intelligence in Markets & finance
x402 APIPassing, checked 16 min ago
Aggregated perp market state: OI-weighted mark/index price, open interest, funding, per-venue breakdown and freshness across 7 live venues.
GET https://acoda.xyz/v1/market-state
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 177 ms typical, 177 ms slowest 5%
- Last check
- 16 min ago
- Next check
- in 12 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://acoda.xyz/v1/market-state?market=BTC-USDT-PERP"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%2Facoda.xyz%2Fv1%2Fmarket-state
const res = await pay("https://acoda.xyz/v1/market-state?market=BTC-USDT-PERP");
console.log(await res.json());Example input
{
"market": "BTC-USDT-PERP"
}Example output
{
"exchange_breakdown": {
"binance": {
"markPrice": 63514.77,
"weight": 0.32
}
},
"freshness": {
"age_ms": 426,
"stale": false
},
"funding_rate": 0.0000759,
"mark_price": 63514.07,
"market": "BTC-USDT-PERP",
"open_interest_usd": 21441257752.13,
"paid": true
}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 |
|---|---|---|---|---|
| 16 min ago | Passed | 402 | 306 ms | $0.01 |
| 5 h ago | Passed | 402 | 177 ms | $0.01 |