> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.0x.org/api-reference/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.0x.org/_mcp/server. # API Reference > 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. ## Docs - [API Overview](https://docs.0x.org/api-reference/api-overview.md): Getting started with the 0x API - [Download OpenAPI Spec](https://docs.0x.org/api-reference/download-open-api-spec.md): Download the 0x OpenAPI 3.1 spec to import into Postman, generate SDKs, or use with AI coding tools ## API Docs - EVM APIs > Swap [getPrice (Allowance Holder)](https://docs.0x.org/api-reference/evm-ap-is/swap/allowanceholder-getprice.md) - EVM APIs > Swap [getQuote (Allowance Holder)](https://docs.0x.org/api-reference/evm-ap-is/swap/allowanceholder-getquote.md) - EVM APIs > Swap [getPrice (Permit2)](https://docs.0x.org/api-reference/evm-ap-is/swap/permit-2-getprice.md) - EVM APIs > Swap [getQuote (Permit2)](https://docs.0x.org/api-reference/evm-ap-is/swap/permit-2-getquote.md) - EVM APIs > Swap [getChains](https://docs.0x.org/api-reference/evm-ap-is/swap/chains.md) - EVM APIs > Gasless [getPrice](https://docs.0x.org/api-reference/evm-ap-is/gasless/getprice.md) - EVM APIs > Gasless [getQuote](https://docs.0x.org/api-reference/evm-ap-is/gasless/getquote.md) - EVM APIs > Gasless [submit](https://docs.0x.org/api-reference/evm-ap-is/gasless/submit.md) - EVM APIs > Gasless [getStatus](https://docs.0x.org/api-reference/evm-ap-is/gasless/getstatus.md) - EVM APIs > Gasless [getChains](https://docs.0x.org/api-reference/evm-ap-is/gasless/chains.md) - EVM APIs > Sources [getSources](https://docs.0x.org/api-reference/evm-ap-is/sources/getsources.md) - EVM APIs > Trade Analytics [getSwapTrades](https://docs.0x.org/api-reference/evm-ap-is/trade-analytics/trade-analytics-swap.md) - EVM APIs > Trade Analytics [getGaslessTrades](https://docs.0x.org/api-reference/evm-ap-is/trade-analytics/trade-analytics-gasless.md) - Solana Swap APIs > Sources [Get Enabled Sources](https://docs.0x.org/api-reference/solana-swap-ap-is/sources/enabled-sources.md) - Solana Swap APIs > Swap [Create Swap Instructions](https://docs.0x.org/api-reference/solana-swap-ap-is/swap/instructions.md) - Cross-Chain APIs > Cross Chain [getQuotes](https://docs.0x.org/api-reference/cross-chain-ap-is/cross-chain/cross-chain-get-quotes.md) - Cross-Chain APIs > Cross Chain [getStatus](https://docs.0x.org/api-reference/cross-chain-ap-is/cross-chain/cross-chain-get-status.md) - Cross-Chain APIs > Cross Chain [listSources](https://docs.0x.org/api-reference/cross-chain-ap-is/cross-chain/cross-chain-list-sources.md) - Cross-Chain APIs > Cross Chain [streamQuotes](https://docs.0x.org/api-reference/cross-chain-ap-is/cross-chain/cross-chain-stream-quotes.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.0x.org/api-reference/openapi.json) - [OpenAPI YAML](https://docs.0x.org/api-reference/openapi.yaml)