Skip to main content
This reference is generated from the LightSwap API OpenAPI specification. Each endpoint page documents request fields, response fields, and every error response with examples. Use canonical lowercase network values such as solana, base, bitcoin, and tron when calling the API.

Base URL

Authentication

Every request requires the x-api-key header:

Endpoints

Assets

List active assets and filter by network or symbol.

Address validation

Validate a payout address before creating a swap.

Quotes

Create a short-lived exact-input quote.

Swaps

Create a swap and poll its status.

Response format

Successful responses return the endpoint payload directly. Error responses use a shared structure:
The endpoint pages show which status codes each endpoint returns and which error codes come with them. Statuses and errors lists every code with suggested handling.