Skip to main content

API Introduction

LeoKit provides a simple REST API for cross-chain swap quotes and execution.

Base URL

https://api.leokit.dev

Authentication

All requests require an Api-Key header:
Api-Key: YOUR_API_KEY
Get your key from the LeoKit Dashboard → API Keys.

Testing the API

You can test endpoints directly in this documentation using the interactive “Try it” panels on each endpoint page.

Endpoints

Explore the full API:
  • Get Quote (/api-reference/endpoints/get-quote) — Fetch best cross-chain routes
  • Generate Deposit (/api-reference/endpoints/generate-deposit) — Prepare swap deposit
  • Transaction Status (/api-reference/endpoints/transaction-status) — Track swap progress
  • Gas Price (/api-reference/endpoints/gas-price) — Current network fees
  • Trace (/api-reference/endpoints/trace) — Debug transactions
Ready to integrate? Start Integrating →