Skip to main content

API

Loading API documentation...
ParameterRequiredTypeDefaultDescription
srcCoin✅string-Source coin for the swap. Accepts both fungible and legacy coin standard.
dstCoin✅string-Destination coin for the swap. Accepts both fungible and legacy coin standard. Must be different from srcCoin.
srcAmount🟡number-Amount of source token to swap. Required if not using dstAmount.
dstAmount🟡number-Amount of destination token to receive. Required if not using srcAmount.
dstAddress✅string-Destination wallet address where output coins will be deposited to
slippage❌number0.5Slippage tolerance (percentage). Can be any number from 0.01 to 100.
feeBps❌number0Fee to charge on swap. Base is 10000 hence 100 feeBps is 1%, 50 is 0.5%. Note: In every swap fee is charged in dstCoin.
feeAddress❌string0x0Address to send fee split to. Note: Should be a registered integrator with Atmos, if not the address will be ignored.

Public api key

76e5abdbd6039c54532b7d8ce0ea4a39aab3b8fd6a7a9bb3cf55d42aab8923e9

*Note: This is Public a API key. it has limited rate limits , and will incur some swap fee , for custom limits and fee configuration open a ticket on discord.*