DefiLlama: Get summary of options dex volume with historical data
Get summary of options dex volume with historical data
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
DefiLlama: Get summary of options dex volume with historical data
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
addressstringannualized1ynumberaudit_linksnullauditsnullbreakdownMethodologynullcategorynullchainBreakdownobjectArbitrumobjecttotal24hnulltotal48hto24hnulltotalAllTimeinteger
Derive Chainobjectaverage1ynumbermonthlyAverage1ynumbertotal1yintegertotal24hnulltotal48hto24hnulltotal60dto30dintegertotalAllTimeinteger
Derive V3objectaverage1ynumberchange_1dnumberchange_1mnumberchange_30dover30dnumberchange_7dnumberchange_7dover7dnumbermonthlyAverage1ynumbertotal14dto7dintegertotal1yintegertotal24hintegertotal30DaysAgointegertotal30dintegertotal48hto24hintegertotal60dto30dintegertotal7DaysAgointegertotal7dintegertotalAllTimeintegertotalLastFullDayinteger
OP Mainnetobjecttotal24hnulltotal48hto24hnulltotalAllTimeinteger
chainsstring[]change_1dnumberchildProtocolsobject[]breakdownMethodologynulldefaultChartViewnulldefillamaIdstringdisplayNamestringmethodologyobjectFeesstringHoldersRevenuestringProtocolRevenuestringRevenuestringSupplySideRevenuestringUserFeesstring
methodologyURLstringnamestringunknownBreakdownMethodologynull
cmcIdstringdefaultChartViewnulldefillamaIdstringdescriptionstringdisplayNamestringdoublecountednullforkedFromnullgecko_idstringgithubstring[]governanceIDstring[]hallmarksnullhasLabelBreakdownbooleanidstringlinkedProtocolsstring[]logostringmethodologynullmethodologyURLnullmodulenullnamestringparentProtocolnullpreviousNamesnullprotocolTypestringreferralUrlstringslugstringsymbolstringtotal1yintegertotal24hintegertotal30dintegertotal48hto24hintegertotal7dintegertotalAllTimeintegertotalDataChartinteger[][]totalDataChartBreakdown((integer | object)[])[]OP MainnetobjectDerive V1integer
treasurystringtwitterstringunknownBreakdownMethodologynullurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
address?: string;
annualized1y?: number;
audit_links?: null;
audits?: null;
breakdownMethodology?: null;
category?: null;
chainBreakdown?: {
Arbitrum?: {
total24h?: null;
total48hto24h?: null;
totalAllTime?: number;
};
"Derive Chain"?: {
average1y?: number;
monthlyAverage1y?: number;
total1y?: number;
total24h?: null;
total48hto24h?: null;
total60dto30d?: number;
totalAllTime?: number;
};
"Derive V3"?: {
average1y?: number;
change_1d?: number;
change_1m?: number;
change_30dover30d?: number;
change_7d?: number;
change_7dover7d?: number;
monthlyAverage1y?: number;
total14dto7d?: number;
total1y?: number;
total24h?: number;
total30DaysAgo?: number;
total30d?: number;
total48hto24h?: number;
total60dto30d?: number;
total7DaysAgo?: number;
total7d?: number;
totalAllTime?: number;
totalLastFullDay?: number;
};
"OP Mainnet"?: {
total24h?: null;
total48hto24h?: null;
totalAllTime?: number;
};
};
chains?: Array<string>;
change_1d?: number;
childProtocols?: Array<{
breakdownMethodology?: null;
defaultChartView?: null;
defillamaId?: string;
displayName?: string;
methodology?: {
Fees?: string;
HoldersRevenue?: string;
ProtocolRevenue?: string;
Revenue?: string;
SupplySideRevenue?: string;
UserFees?: string;
};
methodologyURL?: string;
name?: string;
unknownBreakdownMethodology?: null;
}>;
cmcId?: string;
defaultChartView?: null;
defillamaId?: string;
description?: string;
displayName?: string;
doublecounted?: null;
forkedFrom?: null;
gecko_id?: string;
github?: Array<string>;
governanceID?: Array<string>;
hallmarks?: null;
hasLabelBreakdown?: boolean;
id?: string;
linkedProtocols?: Array<string>;
logo?: string;
methodology?: null;
methodologyURL?: null;
module?: null;
name?: string;
parentProtocol?: null;
previousNames?: null;
protocolType?: string;
referralUrl?: string;
slug?: string;
symbol?: string;
total1y?: number;
total24h?: number;
total30d?: number;
total48hto24h?: number;
total7d?: number;
totalAllTime?: number;
totalDataChart?: Array<Array<number>>;
totalDataChartBreakdown?: Array<Array<number | {
"OP Mainnet"?: {
"Derive V1"?: number;
};
}>>;
treasury?: string;
twitter?: string;
unknownBreakdownMethodology?: null;
url?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
defillamaCurrent DefiLlama — Get summary of options dex volume with historical data · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/defillama/summary/options/{protocol}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/defillama/summary/options/derive?dataType=dailyPremiumVolume' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
protocol | URL path parameterspath | string | Yes | protocol slug |
dataType | URL query parametersquery | string | No | Desired data type, dailyNotionalVolume by default. enum: "dailyPremiumVolume", "dailyNotionalVolume" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"address": "0xb1d1eae60eea9525032a6dcb4c1ce336a1de71be",
"annualized1y": 590995860.7417582,
"audit_links": null,
"audits": null,
"breakdownMethodology": null,
"category": null,
"chainBreakdown": {
"Arbitrum": {
"total24h": null,
"total48hto24h": null,
"totalAllTime": 11479007
},
"Derive Chain": {
"average1y": 1184712.9285714286,
"monthlyAverage1y": 36062661.54571429,
"total1y": 431235506,
"total24h": null,
"total48hto24h": null,
"total60dto30d": 45861364,
"totalAllTime": 625324237
},
"Derive V3": {
"average1y": 434453.8131868132,
"change_1d": 12.36,
"change_1m": 141.2,
"change_30dover30d": 277.38,
"change_7d": -92.63,
"change_7dover7d": -54.31,
"monthlyAverage1y": 13224774.073406594,
"total14dto7d": 63460490,
"total1y": 158141188,
"total24h": 2515893,
"total30DaysAgo": 1043083,
"total30d": 125014535,
"total48hto24h": 2239044,
"total60dto30d": 33126653,
"total7DaysAgo": 34157577,
"total7d": 28997149,
"totalAllTime": 158141188,
"totalLastFullDay": 2515893
},
"OP Mainnet": {
"total24h": null,
"total48hto24h": null,
"totalAllTime": 40830880
}
},
"chains": [
"OP Mainnet",
"Arbitrum"
],
"change_1d": 12.36,
"childProtocols": [
{
"breakdownMethodology": null,
"defaultChartView": null,
"defillamaId": "503",
"displayName": "Derive V1",
"methodology": {
"Fees": "Fees paid by users",
"HoldersRevenue": "Fees going to governance token holders",
"ProtocolRevenue": "Fees going to treasury",
"Revenue": "Treasury and token holders revenue",
"SupplySideRevenue": "LPs revenue",
"UserFees": "Fees paid by users"
},
"methodologyURL": "https://github.com/DefiLlama/dimension-adapters/blob/1e8620166b5772c02e5e68e9dcd2cbb818724d69/dead/options/lyra",
"name": "Derive V1",
"unknownBreakdownMethodology": null
},
{
"breakdownMethodology": null,
"defaultChartView": null,
"defillamaId": "5060",
"displayName": "Derive Options",
"methodology": {
"Fees": "Fees paid by users",
"HoldersRevenue": "Fees going to governance token holders",
"ProtocolRevenue": "Fees going to treasury",
"Revenue": "Treasury and token holders revenue",
"SupplySideRevenue": "LPs revenue",
"UserFees": "Fees paid by users"
},
"methodologyURL": "https://github.com/DefiLlama/dimension-adapters/blob/c6dbda42d2466dd673b7432a4ff16dc38d1132e1/options/lyra-v2",
"name": "Derive Options",
"unknownBreakdownMethodology": null
}
],
"cmcId": "35014",
"defaultChartView": null,
"defillamaId": "parent#lyra",
"description": "Trade options & perps. Earn yield with restaking derivatives.",
"displayName": "Derive",
"doublecounted": null,
"forkedFrom": null,
"gecko_id": "derive",
"github": [
"lyra-finance"
],
"governanceID": [
"snapshot:lyra.eth"
],
"hallmarks": null,
"hasLabelBreakdown": false,
"id": "parent#lyra",
"linkedProtocols": [
"Derive",
"Derive V1"
],
"logo": "https://icons.llamao.fi/icons/protocols/derive",
"methodology": null,
"methodologyURL": null,
"module": null,
"name": "Derive",
"parentProtocol": null,
"previousNames": null,
"protocolType": "protocol",
"referralUrl": "https://app.derive.xyz?ref=defillama",
"slug": "derive",
"symbol": "DRV",
"total1y": 589376694,
"total24h": 2515893,
"total30d": 125014535,
"total48hto24h": 2239044,
"total7d": 28997149,
"totalAllTime": 835775312,
"totalDataChart": [
[
1636761600,
5601
],
[
1636848000,
19838
]
],
"totalDataChartBreakdown": [
[
1636761600,
{
"OP Mainnet": {
"Derive V1": 5601
}
}
],
[
1636848000,
{
"OP Mainnet": {
"Derive V1": 19838
}
}
]
],
"treasury": "lyra.js",
"twitter": "derivexyz",
"unknownBreakdownMethodology": null,
"url": "https://app.derive.xyz"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# DefiLlama: Get summary of options dex volume with historical data
Get summary of options dex volume with historical data
## Available implementations
defillama · DefiLlama — Get summary of options dex volume with historical data: https://openany.si/markets/apis/capabilities/defillama-get-summary-of-options-dex-volume-with-historical-data?offering=07d9bd53-3a6b-40af-b5c6-32081d240a26 · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/07d9bd53-3a6b-40af-b5c6-32081d240a26
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/defillama/summary/options/{protocol}
Price: $0 / call
Provider: defillama
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/defillama/summary/options/derive?dataType=dailyPremiumVolume' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "DefiLlama — Get summary of options dex volume with historical data",
"endpoint": "https://api.openany.si/v1/agent-apis/defillama/summary/options/{protocol}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "protocol slug",
"location": "path",
"name": "protocol",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Desired data type, dailyNotionalVolume by default.",
"enum_values": [
"dailyPremiumVolume",
"dailyNotionalVolume"
],
"location": "query",
"name": "dataType",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Recorded upstream (abridged; 2026-11-18)",
"request": {
"body": null,
"headers": {},
"path": {
"protocol": "derive"
},
"query": {
"dataType": "dailyPremiumVolume"
}
},
"response_body": {
"address": "0xb1d1eae60eea9525032a6dcb4c1ce336a1de71be",
"annualized1y": 590995860.7417582,
"audit_links": null,
"audits": null,
"breakdownMethodology": null,
"category": null,
"chainBreakdown": {
"Arbitrum": {
"total24h": null,
"total48hto24h": null,
"totalAllTime": 11479007
},
"Derive Chain": {
"average1y": 1184712.9285714286,
"monthlyAverage1y": 36062661.54571429,
"total1y": 431235506,
"total24h": null,
"total48hto24h": null,
"total60dto30d": 45861364,
"totalAllTime": 625324237
},
"Derive V3": {
"average1y": 434453.8131868132,
"change_1d": 12.36,
"change_1m": 141.2,
"change_30dover30d": 277.38,
"change_7d": -92.63,
"change_7dover7d": -54.31,
"monthlyAverage1y": 13224774.073406594,
"total14dto7d": 63460490,
"total1y": 158141188,
"total24h": 2515893,
"total30DaysAgo": 1043083,
"total30d": 125014535,
"total48hto24h": 2239044,
"total60dto30d": 33126653,
"total7DaysAgo": 34157577,
"total7d": 28997149,
"totalAllTime": 158141188,
"totalLastFullDay": 2515893
},
"OP Mainnet": {
"total24h": null,
"total48hto24h": null,
"totalAllTime": 40830880
}
},
"chains": [
"OP Mainnet",
"Arbitrum"
],
"change_1d": 12.36,
"childProtocols": [
{
"breakdownMethodology": null,
"defaultChartView": null,
"defillamaId": "503",
"displayName": "Derive V1",
"methodology": {
"Fees": "Fees paid by users",
"HoldersRevenue": "Fees going to governance token holders",
"ProtocolRevenue": "Fees going to treasury",
"Revenue": "Treasury and token holders revenue",
"SupplySideRevenue": "LPs revenue",
"UserFees": "Fees paid by users"
},
"methodologyURL": "https://github.com/DefiLlama/dimension-adapters/blob/1e8620166b5772c02e5e68e9dcd2cbb818724d69/dead/options/lyra",
"name": "Derive V1",
"unknownBreakdownMethodology": null
},
{
"breakdownMethodology": null,
"defaultChartView": null,
"defillamaId": "5060",
"displayName": "Derive Options",
"methodology": {
"Fees": "Fees paid by users",
"HoldersRevenue": "Fees going to governance token holders",
"ProtocolRevenue": "Fees going to treasury",
"Revenue": "Treasury and token holders revenue",
"SupplySideRevenue": "LPs revenue",
"UserFees": "Fees paid by users"
},
"methodologyURL": "https://github.com/DefiLlama/dimension-adapters/blob/c6dbda42d2466dd673b7432a4ff16dc38d1132e1/options/lyra-v2",
"name": "Derive Options",
"unknownBreakdownMethodology": null
}
],
"cmcId": "35014",
"defaultChartView": null,
"defillamaId": "parent#lyra",
"description": "Trade options & perps. Earn yield with restaking derivatives.",
"displayName": "Derive",
"doublecounted": null,
"forkedFrom": null,
"gecko_id": "derive",
"github": [
"lyra-finance"
],
"governanceID": [
"snapshot:lyra.eth"
],
"hallmarks": null,
"hasLabelBreakdown": false,
"id": "parent#lyra",
"linkedProtocols": [
"Derive",
"Derive V1"
],
"logo": "https://icons.llamao.fi/icons/protocols/derive",
"methodology": null,
"methodologyURL": null,
"module": null,
"name": "Derive",
"parentProtocol": null,
"previousNames": null,
"protocolType": "protocol",
"referralUrl": "https://app.derive.xyz?ref=defillama",
"slug": "derive",
"symbol": "DRV",
"total1y": 589376694,
"total24h": 2515893,
"total30d": 125014535,
"total48hto24h": 2239044,
"total7d": 28997149,
"totalAllTime": 835775312,
"totalDataChart": [
[
1636761600,
5601
],
[
1636848000,
19838
]
],
"totalDataChartBreakdown": [
[
1636761600,
{
"OP Mainnet": {
"Derive V1": 5601
}
}
],
[
1636848000,
{
"OP Mainnet": {
"Derive V1": 19838
}
}
]
],
"treasury": "lyra.js",
"twitter": "derivexyz",
"unknownBreakdownMethodology": null,
"url": "https://app.derive.xyz"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Recorded upstream (abridged; 2026-11-18)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
protocol- protocol slug
dataType- Desired data type, dailyNotionalVolume by default.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/defillama/summary/options/derive?dataType=dailyPremiumVolume' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "address": "0xb1d1eae60eea9525032a6dcb4c1ce336a1de71be", "annualized1y": 590995860.7417582, "audit_links": null, "audits": null, "breakdownMethodology": null, "category": null, "chainBreakdown": { "Arbitrum": { "total24h": null, "total48hto24h": null, "totalAllTime": 11479007 }, "Derive Chain": { "average1y": 1184712.9285714286, "monthlyAverage1y": 36062661.54571429, "total1y": 431235506, "total24h": null, "total48hto24h": null, "total60dto30d": 45861364, "totalAllTime": 625324237 }, "Derive V3": { "average1y": 434453.8131868132, "change_1d": 12.36, "change_1m": 141.2, "change_30dover30d": 277.38, "change_7d": -92.63, "change_7dover7d": -54.31, "monthlyAverage1y": 13224774.073406594, "total14dto7d": 63460490, "total1y": 158141188, "total24h": 2515893, "total30DaysAgo": 1043083, "total30d": 125014535, "total48hto24h": 2239044, "total60dto30d": 33126653, "total7DaysAgo": 34157577, "total7d": 28997149, "totalAllTime": 158141188, "totalLastFullDay": 2515893 }, "OP Mainnet": { "total24h": null, "total48hto24h": null, "totalAllTime": 40830880 } }, "chains": [ "OP Mainnet", "Arbitrum" ], "change_1d": 12.36, "childProtocols": [ { "breakdownMethodology": null, "defaultChartView": null, "defillamaId": "503", "displayName": "Derive V1", "methodology": { "Fees": "Fees paid by users", "HoldersRevenue": "Fees going to governance token holders", "ProtocolRevenue": "Fees going to treasury", "Revenue": "Treasury and token holders revenue", "SupplySideRevenue": "LPs revenue", "UserFees": "Fees paid by users" }, "methodologyURL": "https://github.com/DefiLlama/dimension-adapters/blob/1e8620166b5772c02e5e68e9dcd2cbb818724d69/dead/options/lyra", "name": "Derive V1", "unknownBreakdownMethodology": null }, { "breakdownMethodology": null, "defaultChartView": null, "defillamaId": "5060", "displayName": "Derive Options", "methodology": { "Fees": "Fees paid by users", "HoldersRevenue": "Fees going to governance token holders", "ProtocolRevenue": "Fees going to treasury", "Revenue": "Treasury and token holders revenue", "SupplySideRevenue": "LPs revenue", "UserFees": "Fees paid by users" }, "methodologyURL": "https://github.com/DefiLlama/dimension-adapters/blob/c6dbda42d2466dd673b7432a4ff16dc38d1132e1/options/lyra-v2", "name": "Derive Options", "unknownBreakdownMethodology": null } ], "cmcId": "35014", "defaultChartView": null, "defillamaId": "parent#lyra", "description": "Trade options & perps. Earn yield with restaking derivatives.", "displayName": "Derive", "doublecounted": null, "forkedFrom": null, "gecko_id": "derive", "github": [ "lyra-finance" ], "governanceID": [ "snapshot:lyra.eth" ], "hallmarks": null, "hasLabelBreakdown": false, "id": "parent#lyra", "linkedProtocols": [ "Derive", "Derive V1" ], "logo": "https://icons.llamao.fi/icons/protocols/derive", "methodology": null, "methodologyURL": null, "module": null, "name": "Derive", "parentProtocol": null, "previousNames": null, "protocolType": "protocol", "referralUrl": "https://app.derive.xyz?ref=defillama", "slug": "derive", "symbol": "DRV", "total1y": 589376694, "total24h": 2515893, "total30d": 125014535, "total48hto24h": 2239044, "total7d": 28997149, "totalAllTime": 835775312, "totalDataChart": [ [ 1636761600, 5601 ], [ 1636848000, 19838 ] ], "totalDataChartBreakdown": [ [ 1636761600, { "OP Mainnet": { "Derive V1": 5601 } } ], [ 1636848000, { "OP Mainnet": { "Derive V1": 19838 } } ] ], "treasury": "lyra.js", "twitter": "derivexyz", "unknownBreakdownMethodology": null, "url": "https://app.derive.xyz" }