> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.0x.org/api-reference/solana-swap-api/swap/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.0x.org/_mcp/server. # Swap > Developer documentation for the 0x API. Embed swaps in your onchain app. Access 10+ million tokens with liquidity from 150+ exchanges with a single API. ## API Docs - [Create Swap Instructions](https://docs.0x.org/api-reference/solana-swap-api/swap/instructions.md): Swap ## OpenAPI Specification - [OpenAPI JSON](https://docs.0x.org/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://docs.0x.org/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format