ParaSwap API v5

Introduction to ParaSwap API version 5

ParaSwap P5 has been released! See what's new here: https://twitter.com/paraswap/status/1433045723298291714

If you are switching from ParaSwap API v4 to v5, we highly recommend you check out the migration docs that highlights all the important changes.

ParaSwap's goal is to deliver the best market prices by aggregating over multiple decentralized exchanges, market makers, and lending protocols.

ParaSwap API allows users to fetch optimal prices to swap from one token to another and then build transaction data that can be used to execute transactions on-chain. Currently, ParaSwap only supports EVM-based networks (Ethereum, BSC, Polygon, etc) and tokens following ERC20 standard.

Before you get deeper into the docs, here is a quick overview of the general flow you will use to interact with the ParaSwap API. Let's take the example of you wanting to swap 10 ETH to DAI.

Check out the following pages to understand the ParaSwap v5 API. To try out all API endpoints, visit the Open-API documentation of ParaSwap v5.

Developers can also use our JS/TS SDK for web and Node.js integrations https://github.com/paraswap/paraswap-sdk

If you want to do some swaps, you can directly use our UI.

Last updated