Swap API

Explore these docs and let our API empower your swap and/or arbitrage trading across EVM and non-EVM chains, including Solana!

Introduction:

OpenOcean Swap APIarrow-up-right is a multi-chain DEX aggregation and smart order routing API that gives developers access to the best token swap prices and seamless on-chain execution. With a single integration, you can add crypto trading directly into your application - ideal for wallets, DeFi dApps, trading bots, or institutional platforms, etc.

It helps you:

  • Find the best swap prices across 1,000+ liquidity sources, including AMMs (e.g. Uniswap V4, Balancer V3, PancakeSwap Infinity, Curve), RFQ and DeFi launchpads (e.g., Virtuals, PumpFun).

  • Execute trades on-chain with just a few lines of code.

  • Support the most chains - 40+ chains, covering both EVM and non-EVM networks such as Solana and Sui.

With OpenOcean, you get deep liquidity, high reliability, and developer-friendly integration to power trading at scale.

API Plans & Pricing

  • Public Plan: 2 RPS (20 requests / 10 seconds).

  • Exceeding the limit may result in rate limiting or temporary blocking.

  • Swap Fees: It is flexible and may vary depending on use case and integration. On Solana, the Swap API starts from FREE.

  • Trial Period: 2-week free testing available for builders - contact our BD team in the API grouparrow-up-right.

  • Enterprise Plan: For higher RPS and business collaboration, submit a request formarrow-up-right.

*If you are using our API for arbitrage strategies and Non-EVM chains such as Solana, please reach out directly to Telegramarrow-up-right or Discordarrow-up-right for tailored services and whitelist.

API Referral Program

Earn rewards by referring your frens or projects to integrate OpenOcean’s powerful API — the fastest and most precise DEX aggregation solution. Whether you're a builder, partner, or community member, share us and get rewarded on every successful integration.

Start growing with OpenOcean — let’s build the future of DeFi together! 🌊 To learn more about the rewards, reach out to our BD in the API grouparrow-up-right.

Get Started

API V4chevron-rightAPI V3chevron-rightGMX Exclusive APIchevron-rightSDKchevron-right

Last updated