preconfirmation Execution API · v1

Swap any token, on any launchpad, across 18+ chains.

One API to quote, build and land swaps across 18+ chains: bonding curves, launchpads and AMM pools, including long-tail tokens that general aggregators don't route. It's the engine behind every trade on interstate.trade.

18+chains
30+launchpads & DEXes
1API for all of them
v1 · early accessNon-custodial: you signSolana + EVMIntegrator fees

Why route through us

Launchpad-native

Direct builders for pump.fun, four.meme, Flap, Clanker, Zora, Virtuals, LaunchLab, Meteora DBC and more. A token is tradable from the block it launches, before any aggregator has indexed it. See new launches ↗

Long-tail coverage

We resolve the deepest pool for any token on any venue we support, and fall back to aggregator liquidity only when that's better. Browse tokens ↗

One shape, every chain

The same quote → build → submit flow on Solana and every EVM chain. Only the transaction format differs.

Proven in production

The same code executes for Interstate's traders every day. Trade BONK on Interstate ↗

How a swap works #

01 · GET

Quote

Best route, expected output, fees and price impact.

02 · POST

Build

An unsigned transaction for your user's wallet.

03 · you

Sign

Your wallet or signer signs it. We never hold keys.

04 · POST

Submit

We land it with priority and MEV-protected sending.

You can also skip step 04 and broadcast the signed transaction yourself.

Authentication #

Send your key as a bearer token. Keys are issued during onboarding. Request one.

curl "https://preconfirmation.com/api/v1/swap/quote?chain=solana&..." \
  -H "Authorization: Bearer $PRECONF_KEY"

Get a quote #

GET/swap/quote

Parameters

ParamTypeDescription
chainstringSee Chains, e.g. solana, bsc, base
input_token · output_tokenaddressToken to sell and token to buy. Use the native token address for SOL, ETH or BNB.
amountstringInput amount in base units
takeraddressWallet that will sign and receive
slippage_bpsintMax slippage. Omit for automatic slippage based on the pool and token volatility.
fee_bps · fee_recipientint · addressOptional integrator fee, see Integrator fees
venuesstring[]Optional allow-list, e.g. pumpfun,pumpswap

Response

{
  "quote_id": "q_7f3c…",
  "chain": "solana",
  "in_amount": "1000000000",
  "out_amount": "35821442117",
  "min_out_amount": "34030369811",
  "price_impact_pct": 0.84,
  "route": [{ "venue": "pumpswap", "pool": "Fan13YQw…", "in": "SOL", "out": "EK2tRRD5…" }],
  "fees": { "venue_pct": 1.2, "integrator_bps": 50, "network_estimate": "0.000105 SOL" },
  "expires_at": "2026-11-21T12:00:20Z"
}

Illustrative values. On a bonding curve, route[].venue is the launchpad (e.g. pumpfun). After graduation the same token automatically routes to its new pool.

See it liveThe buy/sell panel on any Interstate token page quotes through this same router before every trade.

Build a transaction #

POST/swap/build
{ "quote_id": "q_7f3c…", "taker": "7xKX…" }
FieldTypeDescription
order_idstringUse with /swap/submit and /swap/orders
transactionstring · objectSolana: base64 versioned transaction. EVM: { to, data, value, gas }
approvals[]object[]EVM only: token approvals to sign first, if any
last_valid_block_heightintSolana only: when the blockhash expires

Submit #

POST/swap/submit
{ "order_id": "o_91ab…", "signed_transaction": "AQAB…" }

We broadcast through priority lanes: Jito bundles and staked connections on Solana, private mempools where available on EVM. The call returns the signature or transaction hash right away. Track landing with Order status.

Order status #

GET/swap/orders/{order_id}
FieldTypeDescription
statusenumbuilt · submitted · landed · failed · expired
signaturestringTransaction signature or hash
in_amount · out_amountstringActual filled amounts once landed
venue · poolstringWhere it actually executed
error.code · error.messagestringFailure reason, e.g. slippage_exceeded
landed_attimestampBlock time

Route lookup #

Find out where a token trades before quoting: its venue, pool, lifecycle stage and quote asset.

GET/swap/route/{chain}/{token}
{ "venue": "fourmeme", "stage": "bonding_curve", "pool": "0x5c95…", "quote_token": "BNB", "tradable": true }

Chains #

Chainchain=Status
SolanasolanaLive
BNB ChainbscLive
BasebaseLive
EthereumethereumLive
Robinhood ChainrobinhoodLive
HyperEVMhyperevmLive
MegaETHmegaethLive
MonadmonadLive
ArbitrumarbitrumLive
UnichainunichainLive
AvalancheavalancheLive
X LayerxlayerLive
PlasmaplasmaLive
InkinkLive
ArcarcLive
TempotempoLive
StablestableLive
ElysiumelysiumLive
See it liveSwitch chains on interstate.trade/discover and trade on any of the live ones.

Venues #

Direct integrations. We build the swap instruction ourselves, so there's no middleman quote and no dependence on an aggregator having indexed the token.

ChainLaunchpadsAMMs and DEXes
Solanapump.fun, LaunchLab, Meteora DBC, Bonk, Bags, Believe, MoonshotPumpSwap, Raydium (AMM, CPMM, CLMM), Meteora (DAMM, DLMM), Orca, plus aggregator fallback
BNB Chainfour.meme, FlapPancakeSwap (v2, v3, Infinity), Uniswap v2/v3/v4
BaseClanker, Zora, Virtuals, BankrAerodrome, Uniswap v2/v3/v4
EthereumVirtualsUniswap v2/v3/v4, Curve, Balancer, Sushi
Robinhood ChainVirtuals, DYOR, noxa.funUniswap v2/v3/v4
Other EVM chainsNative launchpads per chainUniswap-family deployments and each chain's leading DEX (e.g. HyperSwap on HyperEVM, Velodrome)
See it liveFreshly launched tokens on Interstate's Pulse are tradable on their launchpad from the first block. That's this venue layer at work.

Integrator fees #

Charge your own fee on top of every swap. Pass fee_bps and fee_recipient on the quote. The fee is taken in the same transaction and paid straight to your wallet, in the asset being swapped.

ParamTypeDescription
fee_bpsint0–300 basis points
fee_recipientaddressYour wallet on that chain

Errors #

CodeStatusMeaning
no_route404No venue holds liquidity for this pair
chain_unsupported400Chain not enabled for your key
quote_expired410Re-quote and rebuild
slippage_exceeded409Price moved past slippage_bps
insufficient_balance400Taker can't cover input amount plus fees
rate_limited429Retry after X-RateLimit-Reset

Add long-tail execution to your app

Try a trade on interstate.trade first, then get a key.