Skip to content
KernelFlowDevelopers v1
Swap & Bridge API
Swap & Bridge/Start building
KERNELFLOW / DEVELOPERS

Swap & Bridge API

One integration for quotes, transaction submission, and cross-chain order tracking.

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

  1. Discover enabled chains with GET /v1/chains.
  2. Request a quote. Display the output amounts and confirm any required token allowance.
  3. Have the user sign the returned transaction. Submit it with POST /v1/order and save the orderId.
  4. Poll GET /v1/order/{orderId}. Handle success, failure, refund, and manual review explicitly.

Five endpoints, one lifecycle

MethodEndpointPurpose
GET/v1/chainsDiscover enabled chains; no key required.
GET/v1/quoteRequest a selected route and transaction.
POST/v1/orderSubmit a signed transaction or register an EVM hash.
GET/v1/order/{orderId}Read one order.
GET/v1/ordersList orders by sender address.

Conventions

ItemValue
Base URLhttps://api.kernelflow.org
API versionv1
AuthenticationX-API-Key header, except /v1/chains
AmountsInteger strings in the smallest token unit
TimestampsUnix seconds
Content typeapplication/json
API reference languageEnglish

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.