{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"d7e98019-8331-4ac0-ba4b-f571074340d4","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"hyperliquid","dataPlatformLogoUrl":"https://hyperliquid.xyz/apple-touch-icon.png","dataPlatformTranslations":{"ar":"hyperliquid","ja":"hyperliquid","zh":"hyperliquid"},"dataProduct":"info-general","description":"Get Hyperliquid L2 Order Book data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as coin, type, and retrieve structured data including coin identifier, snapshot timestamp, and reported aggregation count for depth displays, and aggregation comparisons, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"اقرأ لقطة دفتر أوامر Hyperliquid من المستوى الثاني لعملة واحدة، مع السعر والحجم والعدد وتجميع دقة اختياري لواجهات العمق وفحص سيولة السوق. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"銘柄を指定して Hyperliquid のL2注文板スナップショットを読み、価格・数量・集約数と任意の桁数集約を板表示や流動性の確認に利用できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"读取一个币种的 Hyperliquid L2 订单簿快照，获取价格、数量、聚合计数及可选精度聚合，用于深度界面和市场流动性检查工具。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"34264029-e9e5-45ba-b387-428de9566dd1","includedContentHtml":"","inputs":[{"description":"L2 book snapshot Documentation prepared only; runtime not verified.","json_schema":{"additionalProperties":false,"allOf":[{"if":{"required":["mantissa"]},"then":{"properties":{"nSigFigs":{"const":5}},"required":["nSigFigs"]}}],"examples":[{"coin":"BTC","type":"l2Book"}],"properties":{"coin":{"description":"coin","example":"BTC","type":"string"},"mantissa":{"description":"Optional field to aggregate levels. This field is only allowed if nSigFigs is 5. Accepts values of 1, 2 or 5. Only supply when nSigFigs=5.","enum":[1,2,5],"type":"integer"},"nSigFigs":{"description":"Optional field to aggregate levels to `nSigFigs` significant figures. Valid values are 2, 3, 4, 5, and `null`, which means full precision","enum":[2,3,4,5,null],"type":["integer","null"]},"type":{"const":"l2Book","description":"Fixed native Info query discriminator.","enum":["l2Book"],"example":"l2Book","type":"string"}},"required":["type","coin"],"type":"object"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"https://hyperliquid.xyz/apple-touch-icon.png","method":"POST","name":"Hyperliquid — L2 book snapshot","nameTranslations":{"ar":"Hyperliquid — لقطة دفتر أوامر L2","ja":"Hyperliquid — L2 オーダーブックのスナップショット","zh":"Hyperliquid — L2 订单簿快照"},"overviewHtml":"\u003ch2\u003eHyperliquid L2 Order Book API\u003c/h2\u003e\n\u003cp\u003ePOST type=\u0026#34;l2Book\u0026#34; and coin. Optional nSigFigs accepts 2, 3, 4, 5 or null; mantissa accepts 1, 2 or 5 only when nSigFigs=5. The object contains coin, time and two level arrays, retaining decimal-string prices and sizes.\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\u003eJSON body: coin, mantissa, nSigFigs, type\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ehyperliquid · Hyperliquid — L2 book snapshot\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\u003eDepth displays\u003c/strong\u003e: Render the returned price levels for one coin.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAggregation comparisons\u003c/strong\u003e: Compare views using explicit precision settings.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\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\u003ecoin\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCoin identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etime\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSnapshot timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elevels[0][].px\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrice in the first side array\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elevels[0][].sz\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSize in the first side array\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elevels[0][].n\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported aggregation count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elevels[1][].px\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrice in the second side array\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elevels[1][].sz\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSize in the second side array\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 JSON body and supported fields shown in the request template.\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 POST \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/hyperliquid/info/l2-book\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;coin\u0026#34;:\u0026#34;BTC\u0026#34;,\u0026#34;type\u0026#34;:\u0026#34;l2Book\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe saved response is a published documentation example. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/34264029-e9e5-45ba-b387-428de9566dd1\"\u003ePublished Hyperliquid L2 Order Book 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\u003eWhich fields are required?\u003c/h3\u003e\n\u003cp\u003eSupply type=\u0026#34;l2Book\u0026#34; and coin in the JSON body. This route reads a snapshot rather than opening a streaming subscription.\u003c/p\u003e\n\u003ch3\u003eCan I supply mantissa on its own?\u003c/h3\u003e\n\u003cp\u003eNo. mantissa requires nSigFigs=5. Its allowed values are 1, 2 and 5.\u003c/p\u003e\n\u003ch3\u003eHow do I request full precision?\u003c/h3\u003e\n\u003cp\u003enSigFigs may be null for full precision. Otherwise choose 2, 3, 4 or 5 significant figures and retain the chosen aggregation settings with the result.\u003c/p\u003e\n\u003ch3\u003eShould price and size be parsed as integers?\u003c/h3\u003e\n\u003cp\u003eThey are decimal strings. Use decimal-safe handling and retain coin and time when comparing snapshots.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-candle-snapshot\"\u003eHyperliquid — Candle snapshot\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-check-builder-fee-approval\"\u003eHyperliquid — Check builder fee approval\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hyperliquid/hyperliquid-query-a-user-s-abstraction-state\"\u003eHyperliquid — Query a user\u0026#39;s abstraction state\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/hyperliquid/hyperliquid-l2-book-snapshot?offering=34264029-e9e5-45ba-b387-428de9566dd1","providerId":"hyperliquid","publicPath":"/v1/agent-apis/hyperliquid/info/l2-book","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":{"coin":"BTC","type":"l2Book"},"headers":{},"path":{},"query":{}},"response_body":{"coin":"BTC","levels":[[{"n":5,"px":"79929.0","sz":"0.68339"},{"n":2,"px":"79928.0","sz":"0.23287"},{"n":2,"px":"79925.0","sz":"0.30155"},{"n":2,"px":"79924.0","sz":"0.03767"},{"n":1,"px":"79923.0","sz":"0.005"},{"n":2,"px":"79922.0","sz":"0.00778"},{"n":5,"px":"79921.0","sz":"0.30857"},{"n":2,"px":"79920.0","sz":"0.50561"},{"n":2,"px":"79919.0","sz":"1.15944"},{"n":2,"px":"79918.0","sz":"1.00965"},{"n":5,"px":"79917.0","sz":"3.53863"},{"n":5,"px":"79916.0","sz":"3.06787"},{"n":5,"px":"79915.0","sz":"0.3626"},{"n":6,"px":"79914.0","sz":"1.55306"},{"n":8,"px":"79913.0","sz":"14.12504"},{"n":7,"px":"79912.0","sz":"3.57623"},{"n":7,"px":"79911.0","sz":"0.77929"},{"n":6,"px":"79910.0","sz":"0.85802"},{"n":8,"px":"79909.0","sz":"6.41416"},{"n":10,"px":"79908.0","sz":"4.97828"}],[{"n":56,"px":"79930.0","sz":"15.93731"},{"n":8,"px":"79931.0","sz":"2.64161"},{"n":5,"px":"79932.0","sz":"0.92201"},{"n":5,"px":"79933.0","sz":"1.06059"},{"n":9,"px":"79934.0","sz":"3.14853"},{"n":9,"px":"79935.0","sz":"2.18579"},{"n":16,"px":"79936.0","sz":"2.7289"},{"n":8,"px":"79937.0","sz":"3.07894"},{"n":11,"px":"79938.0","sz":"3.85744"},{"n":10,"px":"79939.0","sz":"5.12866"},{"n":11,"px":"79940.0","sz":"6.57674"},{"n":5,"px":"79941.0","sz":"1.57544"},{"n":5,"px":"79942.0","sz":"1.81881"},{"n":10,"px":"79943.0","sz":"3.40509"},{"n":9,"px":"79944.0","sz":"4.77732"},{"n":7,"px":"79945.0","sz":"1.4714"},{"n":13,"px":"79946.0","sz":"10.57766"},{"n":8,"px":"79947.0","sz":"8.99149"},{"n":7,"px":"79948.0","sz":"6.72707"},{"n":5,"px":"79949.0","sz":"2.11159"}]],"time":1793258524591}}],"seoDescription":"Get Hyperliquid L2 Order Book data via REST or MCP powered by Hyperliquid. Pay per call, no subscription. Retrieve coin identifier and snapshot timestamp.","updatedAt":"2026-12-03T02:49:32.467Z","usageInstructionsHtml":""}}