{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"3637fd0e-05c8-4b24-93a4-af67117ced1c","catalogType":"api","categories":["data","finance","crypto-defi"],"dataPlatform":"DefiLlama","dataPlatformLogoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","dataPlatformTranslations":{"ar":"DefiLlama","ja":"DefiLlama","zh":"DefiLlama"},"dataProduct":"open-interest","description":"Get DefiLlama Open Interest DEX data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, pass parameters such as excludeTotalDataChart, and retrieve structured data including all chains, protocols, derivatives protocol name, display name, and chains to compare reported open interest, review percentage changes, and combine distinct market metrics.","descriptionTranslations":{"ar":"اعرض ملخصات العقود المفتوحة المبلغ عنها لمنصات المشتقات اللامركزية عبر OpenAny REST لمقارنة بيانات التعرض المتاحة. أرسل معاملات استبعاد المخطط للحصول على الشبكات وحقول الفترات والتغيرات والسجل، مع حفظ التسميات وفصل العقود المفتوحة عن حجم التداول وعمق الأوامر والتصفيات المرصودة مباشرة.","ja":"OpenAny REST で分散型デリバティブ取引所の建玉概要を取得し、利用可能な会場別データを比較できます。必須のチャート除外フラグでチェーン、期間フィールド、増減率、履歴を取得し、元のラベルを保持してください。建玉は出来高、板の厚み、直接観測した清算とは異なります。","zh":"通过 OpenAny REST 获取去中心化衍生品交易所报告的未平仓合约摘要，比较可用的平台敞口数据。传入必填图表排除参数，获取链背景、来源周期字段、百分比变化及可选历史图表，保留原字段标签，并区分未平仓量、成交量、盘口深度与直接观测的清算。"},"effectContentHtml":"","executionMode":"sync","id":"2478babb-2d86-4d69-a8a5-9f14f1386889","includedContentHtml":"","inputs":[{"description":"true to exclude aggregated chart from response","location":"query","name":"excludeTotalDataChart","nullable":false,"required":true,"type":"boolean"},{"description":"true to exclude broken down chart from response","location":"query","name":"excludeTotalDataChartBreakdown","nullable":false,"required":true,"type":"boolean"}],"logoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","method":"GET","name":"DefiLlama — List all open interest dex exchanges along with summaries of their open interest","nameTranslations":{"ar":"DefiLlama — إدراج جميع منصات DEX للعقود المفتوحة مع ملخصات عقودها المفتوحة","ja":"DefiLlama — すべての未決済建玉 DEX 取引所を一覧表示し、未決済建玉の概要を提供","zh":"DefiLlama — 列出所有未平仓合约 DEX 交易所及其未平仓合约摘要"},"overviewHtml":"\u003ch2\u003eDefiLlama Open Interest DEX API\u003c/h2\u003e\n\u003cp\u003eCall this endpoint with the required \u003ccode\u003eexcludeTotalDataChart\u003c/code\u003e and \u003ccode\u003eexcludeTotalDataChartBreakdown\u003c/code\u003e booleans to retrieve \u003ccode\u003eallChains\u003c/code\u003e, per-exchange open interest metrics under \u003ccode\u003eprotocols[]\u003c/code\u003e and optional \u003ccode\u003etotalDataChart\u003c/code\u003e history.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query parameters: excludeTotalDataChart (boolean), excludeTotalDataChartBreakdown (boolean).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003edefillama · DefiLlama — List all open interest dex exchanges along with summaries of their open interest\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eCompare reported open interest\u003c/strong\u003e: Keep source period fields and venue context with each observation.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eReview percentage changes\u003c/strong\u003e: Compare source changes without labeling them as confirmed liquidations or leverage changes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCombine distinct market metrics\u003c/strong\u003e: Pair open interest with separately retrieved trading volumes while retaining their different meanings.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eallChains\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eArray of blockchains with tracked open interest venues\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eArray of derivatives DEX open interest summaries\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDerivatives protocol name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].displayName\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eProtocol display name such as Hyperliquid Perps\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].chains\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eChains where the protocol’s open interest is tracked\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].total24h\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported 24-hour open interest figure in USD\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].total7d\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported 7-day open interest figure in USD\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].change_1d\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e1-day percentage change in open interest\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprotocols[].change_7d\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003e7-day percentage change in open interest\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotalDataChart\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHistorical aggregated open interest chart series\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/defillama/overview/open-interest \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode excludeTotalDataChart=true \\\n  --data-urlencode excludeTotalDataChartBreakdown=true\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/2478babb-2d86-4d69-a8a5-9f14f1386889\"\u003ePublished DefiLlama Open Interest DEX API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eAre excludeTotalDataChart and excludeTotalDataChartBreakdown required?\u003c/h3\u003e\n\u003cp\u003eYes. Both boolean query parameters are required in the contract.\u003c/p\u003e\n\u003ch3\u003eHow do I retrieve historical open interest chart points?\u003c/h3\u003e\n\u003cp\u003eSet excludeTotalDataChart=false in the query string.\u003c/p\u003e\n\u003ch3\u003eWhich types of venues appear in protocols?\u003c/h3\u003e\n\u003cp\u003eDecentralized perpetual and derivatives exchanges tracked by DefiLlama (for example, Hyperliquid Perps).\u003c/p\u003e\n\u003ch3\u003eCan I filter open interest by a single chain in the path?\u003c/h3\u003e\n\u003cp\u003eNo chain path parameter is defined on this endpoint; filter protocols[] by their chains array client-side.\u003c/p\u003e\n\u003ch3\u003eWhat currency are total24h and total7d reported in?\u003c/h3\u003e\n\u003cp\u003eOpen interest figures are reported in USD.\u003c/p\u003e\n\u003ch3\u003eHow do I inspect options volume instead of perpetual open interest?\u003c/h3\u003e\n\u003cp\u003eUse the DefiLlama All Options Volumes API or Options Protocol Volume API.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-list-all-dexs-along-with-summaries-of-their-volumes-and-datatype-history-data\"\u003eDefiLlama All DEX Volumes API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-list-all-options-dexs-along-with-summaries-of-their-volumes-and-datatype-history-data-9ac8d2b2\"\u003eDefiLlama All Options Volumes API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-list-all-protocols-along-with-summaries-of-their-fees-and-revenue-and-datatype-history\"\u003eDefiLlama All Protocol Fees API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/defillama/defillama-list-all-open-interest-dex-exchanges-along-with-summaries-of-their-open-interest?offering=2478babb-2d86-4d69-a8a5-9f14f1386889","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/overview/open-interest","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Official UI example (not runtime verified)","request":{"body":null,"headers":{},"path":{},"query":{"excludeTotalDataChart":true,"excludeTotalDataChartBreakdown":true}},"response_body":{"allChains":["Hyperliquid L1","Off Chain","zkLighter"],"protocols":[{"chains":["Hyperliquid L1"],"change_1d":3.62,"change_7d":12.63,"displayName":"Hyperliquid Perps","name":"Hyperliquid Perps","total24h":14304709847,"total7d":93112774041}],"totalDataChart":[[1654819200,607785941]]}}],"seoDescription":"Get DefiLlama Open Interest DEX data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Get all chains and protocols in JSON.","updatedAt":"2026-12-03T02:39:14.065Z","usageInstructionsHtml":""}}