Openocean APIs
  • Developer
    • âš™ī¸APIs
      • Swap API
        • Guide
        • API V4
        • API V3
        • GMX Exclusive API
        • SDK
      • Limit Order API
        • Guide
        • API
        • SDK
      • Sweep Swap API
        • Guide
        • API
      • DCA API
        • Guide
        • API
        • SDK
      • Meme API
        • Data API
        • Transaction API
        • Websocket API
      • Ticket API
        • API
      • 🤖Swagger
    • 👾Widget
      • Getting Started
      • Customize Theme
      • Other Reference
      • Widget V2
        • Getting Started
    • â„šī¸Developer Resources
      • 🔗Supported Chains
      • 📋Contracts of Chains
      • 🚩Common Error Code
      • 📖Developer references & glossary
Powered by GitBook
On this page
  1. Developer

Widget

PreviousAPINextGetting Started

Step-by-step guide for embedding the Swap widget in your web3 decentralized application (dApp)

With OpenOcean swap widget, your users can swap any token at the best rates through OpenOcean protocol without leaving your dApp!

The widget will only take you less than 5 minutes for integration. See following examples of user case:

  • Making swaps a revenue source by adding your own platform fee to the transaction.

  • Converting to the required currency for an NFT purchase or any other in-app usage (e.g. WETH). Building a custom frontend for the Uniswap Protocol.

  • Swapping assets in a DeFi application for providing liquidity, farming & staking

  • Acquiring a token to participate in your web3 community (DAO or any other activities)

👾
OpenOcean
Getting Started
Customize Theme
Other Reference