{"openapi":"3.1.0","info":{"title":"LI.FI (BYOK) API","version":"0.1.0","description":"LI.FI (BYOK) lets an AI assistant read your own LI.FI data through the LI.FI API with a key you supply (LI.FI API key). Read-only: 5 tools (list_chains, get_token, get_gas_prices, get_transfer_status, list_transfers). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to li.quest. Unofficial connector by Unify...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-lifi.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-lifi/docs"},"termsOfService":"https://connectorbay.com/byok-lifi/terms"},"servers":[{"url":"https://byok-lifi.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-lifi/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_chains":{"post":{"operationId":"list_chains","summary":"List the blockchains LI.FI supports, with key, id, type, native coin and native token price. Use for \"Which blockchains ","description":"List the blockchains LI.FI supports, with key, id, type, native coin and native token price. Use for \"Which blockchains can I bridge between with LI.FI\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain_types":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated chain types to include: EVM, SVM, UTXO, MVM, TVM or STL (default all).","title":"Chain Types"}},"title":"list_chainsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_token":{"post":{"operationId":"get_token","summary":"Get one token on a chain by address or symbol: name, decimals and current USD price. Use for \"What is the USD price of U","description":"Get one token on a chain by address or symbol: name, decimals and current USD price. Use for \"What is the USD price of USDT on Ethereum according to LI.FI\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain":{"description":"Chain id or key, for example 1 or 'eth'.","maxLength":40,"title":"Chain","type":"string"},"token":{"description":"Token contract address or symbol on that chain, for example 'USDT'.","maxLength":100,"title":"Token","type":"string"}},"required":["chain","token"],"title":"get_tokenArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_gas_prices":{"post":{"operationId":"get_gas_prices","summary":"Get recent gas price levels (standard, fast, fastest) for one chain by chain id. Use for \"What are the gas prices on Eth","description":"Get recent gas price levels (standard, fast, fastest) for one chain by chain id. Use for \"What are the gas prices on Ethereum right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain_id":{"description":"Numeric chain id, for example 1 for Ethereum.","maxLength":20,"title":"Chain Id","type":"string"}},"required":["chain_id"],"title":"get_gas_pricesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_transfer_status":{"post":{"operationId":"get_transfer_status","summary":"Check a cross-chain transfer by transaction hash: status, sub-status, bridge tool, sender, receiver and the sending and ","description":"Check a cross-chain transfer by transaction hash: status, sub-status, bridge tool, sender, receiver and the sending and receiving transactions. Use for \"Did my bridge transfer with this transaction hash complete\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tx_hash":{"description":"Transaction hash on the sending or receiving chain.","maxLength":130,"title":"Tx Hash","type":"string"},"bridge":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Bridge tool used, as listed by LI.FI.","title":"Bridge"},"from_chain":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Sending chain id or key.","title":"From Chain"},"to_chain":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Receiving chain id or key.","title":"To Chain"}},"required":["tx_hash"],"title":"get_transfer_statusArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_transfers":{"post":{"operationId":"list_transfers","summary":"List recent cross-chain transfers through LI.FI (default last 30 days), filtered by wallet, chains, tokens or status, wi","description":"List recent cross-chain transfers through LI.FI (default last 30 days), filtered by wallet, chains, tokens or status, with cursor paging. Use for \"Show the latest completed LI.FI transfers from Ethereum to Base\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"wallet":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Sending or receiving wallet address.","title":"Wallet"},"status":{"anyOf":[{"enum":["ALL","DONE","PENDING","FAILED"],"type":"string"},{"type":"null"}],"default":null,"description":"ALL, DONE, PENDING or FAILED (default DONE).","title":"Status"},"from_chain":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Chain the transfer started on (id or key).","title":"From Chain"},"to_chain":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Chain the transfer ended on (id or key).","title":"To Chain"},"from_timestamp":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Oldest time to include, Unix seconds.","title":"From Timestamp"},"to_timestamp":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Newest time to include, Unix seconds.","title":"To Timestamp"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Results per page.","title":"Limit"},"next":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from the previous answer's next field.","title":"Next"}},"title":"list_transfersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}