⚙️Swagger
API Playground
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Source token contract address (use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee for native token)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeDestination token contract address
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbAmount to swap in wei (smallest unit)
1000000000000000000Include detailed token information in response
falseExample: falseNetwork price per gas in wei
Gas limit for the transaction
Include approximated gas in response
falseExample: falseQuote retrieved successfully
Expected output amount in wei (destination amount)
205340622987446484992Estimated gas amount for the swap
2419157Bad request - invalid parameters, token not found, or no route available
Too many requests - rate limit exceeded
Internal server error
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Source token contract address (use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee for native token)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeDestination token contract address
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbAmount to swap in wei (smallest unit)
1000000000000000000The address that calls the AKKA contract
0xD3C0F471488523b378F2D9C21939c97300c510F5An EOA address that initiates the transaction
0xD3C0F471488523b378F2D9C21939c97300c510F5Maximum acceptable slippage percentage (min: 0; max: 50)
1Network price per gas in wei
Gas limit for the transaction
Return srcToken and dstToken info in response
falseExample: falseReturn approximated gas in response
falseExample: falseSwap transaction data generated successfully
Expected output amount in wei (destination amount)
12723902882990271Estimated gas amount for the swap
231973Bad request - insufficient balance/allowance, invalid parameters, or no route found
Too many requests - rate limit exceeded
Internal server error
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Spender address retrieved successfully
The AKKA smart contract address for the specified chain
0x7C5Af181D9e9e91B15660830B52f7B7076Be0d64Bad request - invalid chain ID
Too many requests - rate limit exceeded
Internal server error
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Token address you want to approve for swapping
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbThe number of tokens that the AKKA Router is allowed to swap. If not specified, it will be allowed to spend an infinite amount of tokens.
100000000000Approve transaction data generated successfully
Encoded transaction data for the approve function call
0x095ea7b3000000000000000000000000111111125421ca6dc452d289314280a0f8842a65000000000000000000000000000000000000000000000000000000174876e800Gas price in wei
100000000Token contract address to send the transaction to
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbETH value to send with the transaction (always "0" for approve)
0Bad request - invalid parameters
Too many requests - rate limit exceeded
Internal server error
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Token address to check allowance for
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbWallet address to check the allowance for
0xD3C0F471488523b378F2D9C21939c97300c510F5Allowance retrieved successfully
The number of tokens that the AKKA router is allowed to spend
0Bad request - invalid parameters
Too many requests - rate limit exceeded
Internal server error
Blockchain network identifier (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Page number for pagination (0-based)
Number of tokens to return per page
Successfully retrieved paginated token list with comprehensive metadata including symbols, addresses, decimals, logos, and verification status
Map of token addresses to token data
{"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984":{"symbol":"UNI","name":"Uniswap","decimals":18,"address":"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984","logoURI":"https://tokens.1inch.io/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984.png","tags":["defi"],"verified":true}}Invalid chain ID: must be a valid supported blockchain network identifier
Internal server error while fetching tokens
Blockchain network identifier (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Smart contract address of the token (checksummed EVM address format)
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbSuccessfully retrieved detailed token information including metadata and trading data
Token symbol
UNIToken name
UniswapToken decimals
18Token contract address
0x1f9840a85d5af5bf1d1762f925bdaddc4201f984Token logo URI
https://tokens.1inch.io/0x1f9840a85d5af5bf1d1762f925bdaddc4201f984.pngWhether token is verified
trueInvalid parameters: chain ID must be supported and token address must be a valid checksummed address
Token not found
Internal server error occurred while fetching token information from database or external sources
Last updated