*** title: Get Started with Swap API description: Learn how to send your first Swap API (AllowanceHolder) request. ----------------------------------------------------------------------------- ## About Swap API Swap API is a DEX aggregation and smart order routing REST API that finds the best price for crypto trades. With one API integration, you can easily add trading to your app. Swap API aggregates liquidity from 150+ sources , including AMMs and professional market makers, across the [supported chains](/docs/introduction/supported-chains). ![Swap API UI](https://res.cloudinary.com/dr5klrk9c/image/upload/v1761261077/swap-api-ui_q0jiyi.png) The API handles three key tasks: * Queries ERC20 prices from decentralized exchanges and market makers * Aggregates liquidity for the best possible price * Returns a trade format executable via your preferred web3 library ## What You Will Learn This guide will cover the core steps to using Swap API, specifically using the [Swap AllowanceHolder](/api-reference/openapi-yaml/swap/allowanceholder-getprice) endpoint. {" "} Learn about the [difference between AllowanceHolder and Permit2 in Swap API](/docs/introduction/faq#allowanceholder-and-permit2){" "} ## Playground Try this code example directly in your browser—no installation needed!