Skip to main content

API

Loading API documentation...
ParameterRequiredTypeDefaultDescription
srcCoinstring-Source coin for the swap. Accepts both fungible and legacy coin standard.
dstCoinstring-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.
dstAddressstring-Destination wallet address where output coins will be deposited to
slippagenumber0.5Slippage tolerance (percentage). Can be any number from 0.01 to 100.
feeBpsnumber0Fee 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 | ❌ | string | oxo | Address 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.*