🎑Overview
Integrate our API directly into your dApp. With our Orbiter REST API, you can easily find the best routes for cross-chain and on-chain swapping and bridging.
API Endpoints
Production environment APIs:
https://api.orbiter.finance / https://openapi.orbiter.financePOST /quote
Get a quote for cross-chain token transactions.
Request Parameters:
sourceChainId: Source blockchain network IDdestChainId: Destination blockchain network IDsourceToken: Source token contract addressdestToken: Destination token contract addressamount: Transaction amount in string formatuserAddress: User wallet addresstargetRecipient: Final transaction recipient addressslippage: Acceptable price fluctuation percentagefeeConfig: Fee configuration object
Example Request:
GET /chains
Get available blockchain networks.
Headers:
x-api-key: API key for authentication
GET /transaction/status/{hash}
Query transaction status by hash.
Path Parameters:
hash: Transaction hash to query
Headers:
x-api-key: API key for authentication (optional)
Notes for Developers
All token amounts are represented as strings to preserve precision
Cross-chain transactions may involve multiple steps shown in the response
Always check the response status and message fields for success/error information
Except for the EVM network, the same-chain swap network does not support query transactions
Last updated
Was this helpful?