⚙️SwapKit API
Integrate our API directly into your dApp.
The SwapKit API by THORSwap is a cutting-edge quote and routing API for cross-chain swaps. Our comprehensive solution enables you to swap assets across a variety of blockchains, in a decentralized manner. Our robust API links decentralised exchanges (DEXs), and DEX aggregators, to provide the absolute best possible quote for your trade. Explore our API, the best solution for trading native Bitcoin, without the need for a centralized custodian.
The SwapKit API also offers a variety of endpoints specifically for integration with THORChain. This includes, and is not limited to:
THORChain pool details.
Add/Remove liquidity to THORChain.
Suggested gas prices for all supported chains.
Token info with prices using chain oracles.
Gas history for all supported chains.
Cross-chain transaction tracking.
Thorname registration & lookups.
Here you can find our full API reference
Using the API
To use the endpoints at api.thorswap.net/
, you need to provide a Header such as Referer: <project-name>
.
Here are the endpoints for the various services: Quote API: https://api.thorswap.net/aggregator Tokenlist API: https://api.thorswap.net/tokenlist
By 2024, we will require API keys in requests. You can get an API key by filling out this form.
You can monetize your SwapKit API integration and earn fees. See our [affiliate guide] for more information.
Contact our [business partnerships team] if you want to partner with us and integrate SwapKit API into your platform.
Supported Chains
Our API supports quotes from 9 blockchains, including native Bitcoin. The full list of supported chains is:
Avalanche
Binance Chain (Beacon Chain)
Bitcoin
Bitcoin Cash
Cosmos Chain
Dogecoin
Ethereum
Litecoin
THORChain
Getting started
We have several guides that take you through our API. They will teach you step by step how to integrate our endpoints into your dApp:
If you want to learn more about the THORChain ecosystem, take a look at their documentation here.
Last updated