TeleSwap REST API
The TeleSwap REST API powers the protocol. The TypeScript SDK wraps it, but you can call it directly from any language.
- Base URL:
https://api.teleportdao.xyz - Format: JSON over HTTPS
- Auth: the endpoints below are public / keyless — see Authentication
- Spec: download the OpenAPI 3 spec
Endpoints
The EVM → BTC pair is available on both /api/v2 and /api/v3. See
EVM → BTC for the recommended /api/v3 flow.
Estimates
| Method | Path |
|---|---|
| POST | /api/v2/teleswap/utils/wrap-and-swap-estimate |
| POST | /api/v2/teleswap/utils/swap-and-unwrap-estimate |
| POST | /api/v3/teleswap/utils/swap-and-unwrap-estimate |
| POST | /api/v2/teleswap/utils/swap-and-unwrap-estimate-ton |
| POST | /api/v2/teleswap/utils/swap-and-unwrap-estimate-solana |
Build transactions
| Method | Path |
|---|---|
| POST | /api/v2/teleswap/utils/wrap-and-swap-unsigned |
| POST | /api/v2/teleswap/utils/swap-and-unwrap-inputs |
| POST | /api/v3/teleswap/utils/swap-and-unwrap-inputs |
| POST | /api/v2/teleswap/utils/swap-and-unwrap-inputs-ton |
| POST | /api/v2/teleswap/utils/swap-and-unwrap-inputs-solana |
Requests
| Method | Path |
|---|---|
| GET | /api/v2/teleswap/requests/tx/{txId} |
| GET | /api/v2/teleswap/requests |
| GET | /api/v1/teleswap/cross-chain/waiting-request/{address} |
See the full API reference for parameters and example responses, or the Estimate → Build → Track guide for the end-to-end flow.