LogoLogo
SwapKit's websiteRegister for an API Key
  • 🏡Getting started
    • SwapKit's trade offerings
  • 💰Monetization
  • 🤝Partnership
  • SwapKit API
    • Introduction
    • /providers - Request supported chains by a swap provider
    • /tokens - Request supported tokens by a swap provider
    • /quote - Request a trade quote
    • /quote - Understanding the response
    • /chainflip/broker/channel - Opening a Chainflip deposit channel
    • /track - Request the status of a swap
    • /screen - Check AML compliance
    • /price - Lookup token prices
Powered by GitBook
On this page
  1. SwapKit API

Introduction

PreviousPartnershipNext/providers - Request supported chains by a swap provider

Last updated 2 months ago

Our API aggregates several key providers and protocols, offering access to an extensive range of chains and tokens without the complexity of managing multiple integrations. It is designed to integrate cross-chain swaps into your application with ease in addition to in-chain dex aggregation for single-chain swaps.

How to use SwapKit's API

To get the most out of SwapKit's API we recommend going through the endpoints in the following order:

  1. /providers – Retrieve a list of available providers and their supported chains.

  2. /tokens – Fetch a list of supported tokens across different chains and providers.

  3. /quote – Request a swap quote to estimate the cost and parameters for a transaction.

  4. /track – Track the status of a swap to monitor its progress and completion.

However, /providersand /tokensdon't change often, and you can directly request a quote once you have everything set up. Additionally, the /screenendpoint can be used to validate AML compliance of the involved addresses. If it is something you need, use it before the transaction is offered for signing and not with every /quote. You can try the API yourself at

https://api.swapkit.dev/docs/