> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.0x.org/api-reference/evm-ap-is/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 - Swap [getPrice (Allowance Holder)](https://docs.0x.org/api-reference/evm-ap-is/swap/allowanceholder-getprice.md) - Swap [getQuote (Allowance Holder)](https://docs.0x.org/api-reference/evm-ap-is/swap/allowanceholder-getquote.md) - Swap [getPrice (Permit2)](https://docs.0x.org/api-reference/evm-ap-is/swap/permit-2-getprice.md) - Swap [getQuote (Permit2)](https://docs.0x.org/api-reference/evm-ap-is/swap/permit-2-getquote.md) - Swap [getChains](https://docs.0x.org/api-reference/evm-ap-is/swap/chains.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.0x.org/openapi.json) - [OpenAPI YAML](https://docs.0x.org/openapi.yaml)