Skip to main content
GET
Get a partner-ready executable exact-input quote
This is the recommended endpoint for new wallet, router, and meta-aggregator integrations. It returns an exact-input executable quote and does not broadcast a transaction.
payer supplies the input and sends the returned transaction. recipient receives the output and defaults to payer. A successful response can contain balance, allowance, or native gas entries in issues. Resolve them before broadcasting. A validation status of UNKNOWN means AKKA could not complete that RPC check; validate it independently. Use simulation.status, not HTTP status alone, to decide whether your own simulation is required. Refresh after expiresAt, any approval transaction, user delay, failed simulation, or nonce replacement. Executable calldata is single-use and must not be cached or retried after broadcast. Inspect tx.type: send only gasPrice for legacy, or only maxFeePerGas and maxPriorityFeePerGas for eip1559. Preserve tx.to, tx.data, and tx.value exactly.
Keep the partner API key on a backend. Browser and mobile clients should call an authenticated proxy owned by the integrator.

Authorizations

apikey
string
header
default:basic-test-key
required

API key. basic-test-key is a shared, rate-limited evaluation credential; use a dedicated key in production.

Path Parameters

chainId
integer
required
Example:

999

Query Parameters

src
string
required

Exact-input source token address

dst
string
required

Destination token address

amount
string
required

Sell amount in the token smallest unit

payer
string
required

Transaction sender and token payer

recipient
string

Output recipient; defaults to payer

slippage
object
required

Slippage percentage

Response

200 - application/json
dstAmount
string
required

Expected output amount in wei (destination amount)

Example:

"12723902882990271"

tx
object
required

Transaction data to execute the swap

encodedTx
string
required

ABI-encoded transaction tuple (from, to, data, value, gasPrice, gas) as a hex string. Allows the frontend to decode and execute the swap without needing the contract ABI.

chainId
number
required
sellToken
string
required
buyToken
string
required
sellAmount
string
required
buyAmount
string
required
payer
string
required
recipient
string
required
issues
object[]
required
validation
object
required
simulation
object
required
validForSeconds
number
required
validitySource
enum<string>
required
Available options:
ADVISORY,
ROUTE_DEADLINE
partnerId
string
required
srcToken
object

Source token information

dstToken
object

Destination token information

gas
string

Estimated gas amount for the swap (decimal-string uint256)

Example:

"231973"

quoteId
string

Unique identifier for this executable quote

blockNumber
string

Block used for quote metadata

generatedAt
string

ISO-8601 quote generation time

expiresAt
string

Advisory ISO-8601 refresh deadline

minAmountOut
string

Minimum output encoded in the transaction

allowanceTarget
object

ERC-20 approval target; null for native input

simulationIncomplete
boolean

True when RPC simulation/gas estimation did not complete

simulationStatus
enum<string>
Available options:
SUCCESS,
INCOMPLETE,
SKIPPED_METRIC_STATE
quotedAtBlock
string