
KongSwap API Documentation and Candid Definitions
On this page

Building on KongSwap? This guide will help you find all the API documentation and candid definitions you need to integrate with our decentralized exchange.
KongSwap API Documentation
Web2 API Documentation
For traditional REST API integration, our comprehensive API documentation is available at:
š api.kongswap.io/docs
This includes:
- RESTful endpoints for market data
- Historical data endpoints
Canister Candid Definitions
What are Candid Definitions?
Candid is the Interface Definition Language (IDL) for the Internet Computer. It describes the public interface of canisters, making it easy to interact with them programmatically.
Where to Find KongSwap's Candid Files
1. Internet Computer Dashboard
View our main canister's candid interface directly on the IC Dashboard:
š dashboard.internetcomputer.org/canister/2ipq2-uqaaa-aaaar-qailq-cai
This provides:
- Interactive candid interface viewer
- Method signatures and types
- Direct testing capabilities
2. GitHub Repository
All candid definitions are available in our GitHub repositories:
š github.com/KongSwap
You can find the .did
files in the repository structure:
kong/
āāā src/
ā āāā kong_backend/
ā ā āāā kong_backend.did
ā āāā kong_data/
ā ā āāā kong_data.did
ā āāā ...
Summary
Whether you're building a trading bot, analytics dashboard, or custom integration, these resources provide everything you need to get started with KongSwap's APIs:
- Web2 API: api.kongswap.io/docs
- Candid Definitions: IC Dashboard
- Source Code: GitHub
For questions or support, join our Telegram or reach out on Twitter/X.
Tags
Share this article
Help others discover this content by sharing it