{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"c3225cbe-0ca9-4ba1-81fa-48370c729851","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 Connections data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as fromChain, fromToken, toChain, and retrieve structured data including source chain identifier, destination chain identifier, source token group, and destination token group for narrow asset selectors, and prepare quote requests.","descriptionTranslations":{"ar":"اكتشف اتصالات الرموز بين سلسلتين عبر OpenAny REST لتضييق اختيار الأصول وفحص إمكانات التوجيه قبل التسعير. أرسل fromChain وtoChain مع مرشحات الرموز وأنواع السلاسل والأدوات لاستلام معرفات السلاسل ومجموعات الرموز بصيغة JSON مع فصل الاتصال عن توفر عرض لكمية محددة.","ja":"OpenAny REST で二つのチェーン間の接続を取得し、見積前の資産選択や経路候補の確認に利用できます。fromChain・toChain と任意のトークン・チェーン種別・ツール条件からチェーン ID とトークン群を JSON で取得し、数量別の見積可否とは区別します。","zh":"通过 OpenAny REST 查询两条链之间的代币连接，在报价前缩小资产选择并检查路由可能性。传入 fromChain、toChain，可设置代币、链类型和工具筛选，获取来源与目标链 ID 及代币组 JSON；连接关系不等同于特定数量报价可用。"},"effectContentHtml":"","executionMode":"sync","id":"16731586-af0f-4dac-bf2c-57ffccc4860d","includedContentHtml":"","inputs":[{"description":"The chain that should be the start of the possible connections.","location":"query","name":"fromChain","nullable":false,"required":true,"type":"string"},{"description":"The chain that should be the end of the possible connections.","location":"query","name":"toChain","nullable":false,"required":true,"type":"string"},{"description":"Only return connections starting with this token.","location":"query","name":"fromToken","nullable":false,"required":false,"type":"string"},{"description":"Only return connections ending with this token.","location":"query","name":"toToken","nullable":false,"required":false,"type":"string"},{"description":"Restrict the resulting connections to the given chainTypes. Available values: EVM, SVM, UTXO, MVM, TVM, STL.","location":"query","name":"chainTypes","nullable":false,"required":false,"type":"string"},{"description":"List of bridges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","item_type":"string","location":"query","name":"allowBridges","nullable":false,"required":false,"type":"array"},{"description":"List of bridges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","item_type":"string","location":"query","name":"denyBridges","nullable":false,"required":false,"type":"array"},{"description":"List of bridges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","item_type":"string","location":"query","name":"preferBridges","nullable":false,"required":false,"type":"array"},{"description":"List of exchanges that are allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","item_type":"string","location":"query","name":"allowExchanges","nullable":false,"required":false,"type":"array"},{"description":"List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","item_type":"string","location":"query","name":"denyExchanges","nullable":false,"required":false,"type":"array"},{"description":"List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the `/v1/tools` endpoint.","item_type":"string","location":"query","name":"preferExchanges","nullable":false,"required":false,"type":"array"},{"description":"Whether connections that require chain switch should be included in the response.","location":"query","name":"allowSwitchChain","nullable":false,"required":false,"type":"boolean"},{"description":"Whether connections that includes destination call should be included in the response.","location":"query","name":"allowDestinationCall","nullable":false,"required":false,"type":"boolean"}],"logoUrl":"https://framerusercontent.com/images/qaMImANIDMfsz5uKFRTTXjZ1g4c.png","method":"GET","name":"LI.FI — Returns all possible connections between two chains.","nameTranslations":{"ar":"LI.FI — إرجاع جميع الاتصالات الممكنة بين سلسلتين.","ja":"LI.FI — 2つのチェーン間で可能なすべての接続を返します。","zh":"LI.FI — 返回两条链之间所有可能的连接。"},"overviewHtml":"\u003ch2\u003eLI.FI Chain Connections API\u003c/h2\u003e\n\u003cp\u003efromChain and toChain are required. Optional fromToken, toToken and tool restrictions narrow the returned connections; the response does not include an amount-specific quote.\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: fromChain, toChain. Optional: fromToken, toToken, chainTypes, allowBridges, denyBridges, preferBridges, allowExchanges, denyExchanges, preferExchanges, allowSwitchChain, allowDestinationCall\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003elifi · LI.FI — Returns all possible connections between two chains.\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\u003eNarrow asset selectors\u003c/strong\u003e: Offer only connections returned for the selected chains.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePrepare quote requests\u003c/strong\u003e: Resolve a connection, then request an amount-specific quote.\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\u003econnections[].fromChainId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource chain identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003econnections[].toChainId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDestination chain identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003econnections[].fromTokens\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource token group\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003econnections[].toTokens\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDestination token group\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/connections \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode fromChain=1 \\\n  --data-urlencode fromToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \\\n  --data-urlencode toChain=10 \\\n  --data-urlencode toToken=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85\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/16731586-af0f-4dac-bf2c-57ffccc4860d\"\u003ePublished LI.FI Chain Connections 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 parameters are mandatory?\u003c/h3\u003e\n\u003cp\u003efromChain and toChain are required.\u003c/p\u003e\n\u003ch3\u003eCan I restrict the token pair?\u003c/h3\u003e\n\u003cp\u003eUse fromToken and toToken filters.\u003c/p\u003e\n\u003ch3\u003eCan I constrain bridges or exchanges?\u003c/h3\u003e\n\u003cp\u003eUse the supported allow, deny and prefer tool filters.\u003c/p\u003e\n\u003ch3\u003eWhat do allowSwitchChain and allowDestinationCall control?\u003c/h3\u003e\n\u003cp\u003eThey control whether connections requiring a chain switch or destination call are included.\u003c/p\u003e\n\u003ch3\u003eDoes a returned connection guarantee execution?\u003c/h3\u003e\n\u003cp\u003eNo. Request an amount-specific quote and inspect its result; connectivity alone is not a transfer completion.\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-returns-all-possible-connections-between-two-chains?offering=16731586-af0f-4dac-bf2c-57ffccc4860d","providerId":"lifi","publicPath":"/v1/agent-apis/lifi/v1/connections","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"fromChain":"1","fromToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","toChain":"10","toToken":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"}},"response_body":{"connections":[{"fromChainId":1,"fromTokens":[{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chainId":1}],"toChainId":10,"toTokens":[{"address":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","chainId":10}]}]}}],"seoDescription":"Get LI.FI Chain Connections data via REST or MCP powered by Lifi. Pay per call, no subscription. Retrieve source chain identifier and source token group.","updatedAt":"2026-12-03T02:43:33.273Z","usageInstructionsHtml":""}}