Swap & Bridge API
One integration for quotes, transaction submission, and cross-chain order tracking.
01 / STARTMake your first quote ↗
From API key to integration.
02 / REFERENCEDownload OpenAPI ↗Import into your API tooling.
KernelFlow Aggregator compares routes from Bungee, OKX, LI.FI, Relay, and Jupiter, filters for eligible executable routes, and returns one selected transaction. Your user signs it; the aggregator can broadcast and track it through to its final outcome.
The integration flow
- Discover enabled chains with GET /v1/chains.
- Request a quote. Display the output amounts and confirm any required token allowance.
- Have the user sign the returned transaction. Submit it with POST /v1/order and save the orderId.
- Poll GET /v1/order/{orderId}. Handle success, failure, refund, and manual review explicitly.
Five endpoints, one lifecycle
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/chains | Discover enabled chains; no key required. |
| GET | /v1/quote | Request a selected route and transaction. |
| POST | /v1/order | Submit a signed transaction or register an EVM hash. |
| GET | /v1/order/{orderId} | Read one order. |
| GET | /v1/orders | List orders by sender address. |
Conventions
| Item | Value |
|---|---|
| Base URL | https://api.kernelflow.org |
| API version | v1 |
| Authentication | X-API-Key header, except /v1/chains |
| Amounts | Integer strings in the smallest token unit |
| Timestamps | Unix seconds |
| Content type | application/json |
| API reference language | English |
This reference reflects the integration contract reviewed on November 6, 2026. Use /v1/chains for the enabled chain list. A listed chain does not imply every pair, cross-chain route, or order operation is supported.