# Qiguard API > Swap and gasless swap API for BSC, Ethereum, Base and Polygon through the Qiguard contracts. Keyed endpoints need the headers `qg-api-key` and `qg-version: v1`. Base URL: https://api.qiguard.com ## Docs - [Overview](https://docs.qiguard.com/index.md): What the Qiguard API does, the chains it covers and how access works. - [Quickstart](https://docs.qiguard.com/quickstart.md): From dashboard sign-in to the first price, quote and swap. - [Swap](https://docs.qiguard.com/swap.md): Allowance-holder swaps: parameters, pairs, fees, approvals and the transaction to send. - [Gasless](https://docs.qiguard.com/gasless.md): Gasless swaps on BSC and Base: Permit2 signature, submit, status and sponsored gas. - [Testing](https://docs.qiguard.com/testing.md): Testing on a local fork and with small trades on Base. - [API reference](https://docs.qiguard.com/reference.md): Every endpoint, parameter, response and schema, built from the OpenAPI document. - [Errors](https://docs.qiguard.com/errors.md): Error body, every error name, its HTTP status and what to do. - [Rate limits and plans](https://docs.qiguard.com/rate-limits.md): Requests per second per plan, rate-limit headers, gasless limits and request size limits. - [Idempotency](https://docs.qiguard.com/idempotency.md): Submitting a gasless trade more than once, and the Idempotency-Key header. - [Versioning](https://docs.qiguard.com/versioning.md): The qg-version header and how the API changes. - [Contracts and fees](https://docs.qiguard.com/contracts.md): Settlement contracts, sources, the fee rule, calldata tag and revert reasons. - [Security](https://docs.qiguard.com/security.md): Keys, transport, custody, approvals and what a gasless signature allows. - [Changelog](https://docs.qiguard.com/changelog.md): Every change to the API. - [Pricing](https://docs.qiguard.com/pricing.md): Plan prices, limits and how to pay. - [Terms for API plans](https://docs.qiguard.com/terms.md): The terms that apply when you buy a plan. - [Refund policy](https://docs.qiguard.com/refunds.md): How to ask for a refund and how it is handled. ## API description - [OpenAPI 3.1 (YAML)](https://docs.qiguard.com/openapi.yaml): the full API description - [OpenAPI 3.1 (JSON)](https://docs.qiguard.com/openapi.json): the same document as JSON - [All pages in one file](https://docs.qiguard.com/llms-full.txt)