A quote you can inspect
Input and output amounts, route information and returned fee fields, before the user signs.
SWAP API / DEVELOPER BETA
Add token swaps to your app. Get an order, let the user sign, then relay the signed transaction.
Built for wallet apps, telegram bot interfaces and trading dashboards.
See the swap before signing.
GET /api/swap/orderInput and output amounts, route information and returned fee fields, before the user signs.
Add a taker address to request an unsigned order. The client signs; ATTN receives only signed transaction bytes.
Send signedTransaction, requestId and taker to POST /api/swap/execute. Handle the returned result before updating your UI.
MAKE A REAL REQUEST
Live beta demo. Availability depends on the configured providers and their rate limits.
INTEGRATE
curl "https://www.attn.money/api/swap/order?inputMint=So11111111111111111111111111111111111111112&outputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=10000000"| Parameter | Required | Meaning |
|---|---|---|
inputMint | Required | Base58 mint address of the token being sold. |
outputMint | Required | Base58 mint address of the token being bought. |
amount | Required | Positive integer string in input-token base units. 0.01 SOL = 10000000 lamports. |
taker | Optional for quotes | Connected wallet address. Needed when requesting a transaction for that wallet. |
slippageBps | Optional | Integer basis points. Pass a deliberate tolerance; 100 bps = 1%. |
HANDLE THE RESPONSE
order.inAmount / order.outAmountorder.requestIdorder.transactionorder.feeBps / order.platformFeefeeAppliedCheck addresses, amounts and request fields before retrying.
Back off and retry within your confirmed API limits.
Handle non-success responses explicitly. Never present missing data as a completed check or swap.
THE INTEGRATION
See where the quote ends and wallet approval begins.
No. It requests a quote without a taker or wallet signature. It never calls the execution endpoint.
Use ATTN when you want token checks, a consistent request flow and integration help in one place. Direct Jupiter is a valid choice if you only need routing. ATTN does not claim better prices than the underlying router.
Only after an eligible swap executes with the intended fee configuration. Referral accounts and fee-token accounts must be configured and settlement verified; a quote alone earns nothing.
PILOT ACCESS
Proposed managed-swap pilot: a disclosed 0.5% referral fee on eligible executed volume. Network costs and quote-specific charges remain visible in the order. Production fees must be confirmed during onboarding.
Paid access is not self-serve yet. Request a confirmed pilot before paying or sending production traffic.