{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"b57f738e-3cf7-4412-85ac-fe0c1b3ef12e","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"lifi","dataPlatformLogoUrl":"https://framerusercontent.com/images/qaMImANIDMfsz5uKFRTTXjZ1g4c.png","dataPlatformTranslations":{"ar":"LI.FI","ja":"LI.FI","zh":"LI.FI"},"dataProduct":"cross-chain-data","description":"Get LI.FI Chain Gas Price data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, configure supported query parameters and filters, and retrieve structured data including standard gas price tier, fast gas price tier, fastest gas price tier, and provider rate update timestamp to display rate tiers, and separate rate and total cost.","descriptionTranslations":{"ar":"استرجع مستويات أسعار الغاز لسلسلة محددة عبر OpenAny REST لتوفير سياق رسوم الشبكة عند إعداد المعاملات. أرسل chainId في المسار لاستلام standard وfast وfastest وتوقيت التحديث بصيغة JSON مع فصلها عن إجمالي رسوم المعاملة.","ja":"OpenAny REST で指定チェーンのガス価格段階を取得し、取引準備時の参考にできます。パスの chainId を指定で standard・fast・fastest と更新時刻を JSON で受け取り、総取引手数料とは区別します。","zh":"通过 OpenAny REST 获取指定链的 Gas 费率档位，为交易准备工具提供网络费率背景。在路径中传入 chainId，获取 standard、fast、fastest 和更新时间 JSON；费率档位不等同于整笔交易手续费。"},"effectContentHtml":"","executionMode":"sync","id":"15c796b5-eb9e-4fd9-9627-53bc80cfdb05","includedContentHtml":"","inputs":[{"description":"ChaindId from which gas prices should be shown","location":"path","name":"chainId","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://framerusercontent.com/images/qaMImANIDMfsz5uKFRTTXjZ1g4c.png","method":"GET","name":"LI.FI — Get gas price for the specified chainId","nameTranslations":{"ar":"LI.FI — الحصول على سعر الغاز لـ chainId المحدد","ja":"LI.FI — 指定された chainId のガス価格を取得","zh":"LI.FI — 获取指定 chainId 的 gas 价格"},"overviewHtml":"\u003ch2\u003eLI.FI Chain Gas Price API\u003c/h2\u003e\n\u003cp\u003eProvide chainId in the path. The response reports three rate tiers and lastUpdated for that chain.\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 inputs: chainId\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003elifi · LI.FI — Get gas price for the specified chainId\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\u003eDisplay rate tiers\u003c/strong\u003e: Label each tier with its chain context.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSeparate rate and total cost\u003c/strong\u003e: Combine rates with an appropriate transaction gas estimate in your application.\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\u003estandard\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eStandard gas price tier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efast\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFast gas price tier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efastest\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFastest gas price tier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elastUpdated\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eProvider rate update timestamp\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/lifi/v1/gas/prices/1 \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34;\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/15c796b5-eb9e-4fd9-9627-53bc80cfdb05\"\u003ePublished LI.FI Chain Gas Price 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 inputs are required?\u003c/h3\u003e\n\u003cp\u003echainId is a required path parameter.\u003c/p\u003e\n\u003ch3\u003eIs this a total transaction fee?\u003c/h3\u003e\n\u003cp\u003eNo. Gas price rates and total transaction cost are different quantities.\u003c/p\u003e\n\u003ch3\u003eIs lastUpdated the API call time?\u003c/h3\u003e\n\u003cp\u003eIt is the provider rate update timestamp; do not substitute the local request time.\u003c/p\u003e\n\u003ch3\u003eIs fastest a guaranteed inclusion time?\u003c/h3\u003e\n\u003cp\u003eNo. It is a reported price tier, not a confirmation-time guarantee.\u003c/p\u003e\n\u003ch3\u003eHow do I identify each chain?\u003c/h3\u003e\n\u003cp\u003eKeep the requested chainId with its rate result.\u003c/p\u003e\n\u003ch3\u003eAre network fees the OpenAny API call price?\u003c/h3\u003e\n\u003cp\u003eNo. Gas and transfer fee estimates describe the on-chain operation. Review the selected implementation pricing separately for the OpenAny request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/lifi/lifi-li-fi-check-the-status-of-a-cross-chain-transfer\"\u003eLI.FI — Check the status of a cross chain transfer\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/lifi/lifi-li-fi-fetch-all-known-tokens\"\u003eLI.FI — Fetch all known tokens\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/lifi/lifi-li-fi-fetch-information-about-a-token\"\u003eLI.FI — Fetch information about a Token\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/lifi/lifi-li-fi-get-gas-price-for-the-specified-chainid?offering=15c796b5-eb9e-4fd9-9627-53bc80cfdb05","providerId":"lifi","publicPath":"/v1/agent-apis/lifi/v1/gas/prices/{chainId}","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{"chainId":"1"},"query":{}},"response_body":{"fast":56309338,"fastest":186614317,"lastUpdated":1793258460,"standard":47490151}}],"seoDescription":"Get LI.FI Chain Gas Price data via REST or MCP powered by Lifi. Pay per call, no subscription. Get standard gas price tier and fast gas price tier in JSON.","updatedAt":"2026-12-03T02:43:32.794Z","usageInstructionsHtml":""}}