Onchain options volume by protocol
POST /api/options-volumeOnchain options protocols ranked by 24h notional volume from DefiLlama's options overview: per-protocol 24h, 7d and 30d volume with 1d/7d change and chains, plus sector totals and the list of chains with options volume. limit caps rows (default 25, max 100). Send POST /api/options-volume with no required fields (2 optional) and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, totals, chains, count, protocols and 1 more.
Keyless public data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Protocols to return (default 25, max 100). |
chain | string | no | Optional chain name filter, e.g. Arbitrum (case-insensitive). |
Example request
curl -i -X POST https://agent402.tools/api/options-volume \
-H "Content-Type: application/json" \
-d '{"limit":10}'
Without payment this returns HTTP 402 Payment Required with the exact price for options-volume; any x402 v2 or MPP client pays it and retries.
Example response
{
"source": "defillama-options",
"totals": {
"volume24hUsd": 5093016,
"volume7dUsd": 11148265.31,
"volume30dUsd": 30971390.66,
"change1dPct": 10.03,
"change7dPct": 4.1
},
"chains": [
"Derive Chain",
"Hyperliquid L1",
"Base"
],
"count": 1,
"protocols": [
{
"name": "Derive",
"slug": "derive",
"category": "Options",
"chains": [
"Derive Chain"
],
"volume24hUsd": 3000000,
"volume7dUsd": 7000000,
"volume30dUsd": 20000000,
"change1dPct": 12.5,
"change7dPct": 3.2
}
],
"fetchedAt": "2026-08-22T12:00:00.000Z"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
source | string | yes | defillama-options |
totals | object | yes | 5 fields: volume24hUsd, volume7dUsd, volume30dUsd, change1dPct, change7dPct |
chains | array of string | yes | 3 items in the example |
count | number | yes | 1 |
protocols | array of objects | yes | 1 item in the example |
fetchedAt | string | yes | 2026-08-22T12:00:00.000Z |
From an MCP client
catalog.call {
"slug": "options-volume",
"params": {
"limit": 10
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for options-volume; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
GETorHEADto /api/options-volume returns the same 402 quote, so the price can be read without a body. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/options-volume", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 10
}),
});
Related tools
DEX volume by protocol
POST /api/defi-dex-volumeDecentralized exchanges ranked by 24h spot trading volume from DefiLlama's free DEX overview: per-DEX 24h/7d/30d/1y/all-…
DeFi TVL by chain
POST /api/defi-chainsBlockchains ranked by DeFi TVL from DefiLlama's free chain list: name, TVL in USD, share of total DeFi TVL, native token…
DeFi protocol fees and revenue
POST /api/defi-feesProtocols ranked by fees paid by users (or by protocol revenue with metric "revenue") over the last 24h from DefiLlama's…
DeFi protocols ranked by TVL
POST /api/defi-protocolsDeFi protocols ranked by current TVL from DefiLlama's free protocol list: filter by category (Lending, Dexs, Liquid Stak…
Options chain by expiry
POST /api/crypto-options-chainOptions chain for a currency and expiry on Deribit, sorted by strike: instrument, strike, call/put, bid, ask, mark, mark…
DeFi chain TVL history
POST /api/defi-chain-tvl-historyDaily TVL history for one chain (Ethereum, Base, Solana, Arbitrum...) or for all of DeFi (chain "all") from DefiLlama's …