Cheap raw normalized reserve breakdown of one centralized exchange
api.agentstools.dev/cex/reserves
Cheap raw normalized reserve breakdown of one centralized exchange: total on-chain reserves (currentTvl), clean-of-own-token reserves (cleanAssetsTvl), the own-token symbol / USD value / concentration, clean-asset ratio, spot & derivative volumes, leverage, 24h/1w/1m netflow and the public reserves URL, with citations. The cheap first grain before the fuller /cex/solvency verdict. Keyless DefiLlam
GET
https://api.agentstools.dev/cex/reservesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.agentstools.dev/cex/reserves?cex=okx");
console.log(await res.json());Example input
{
"cex": "okx"
}