πŸ‘‰Getting started

The Madhouse API gives you access to the most powerful liquidity aggregator on Monad that routes swaps across multiple DEXs and protocols to guarantee most efficient trade execution for your users.

Why Integrate Madhouse?

  • Best Execution: Madhouse’s smart routing automatically splits trades across multiple venues to deliver the best price and lowest slippage available on Monad.

  • Revenue Sharing: Integrators can earn easily by setting an integratorFee with each swap. Fees are automatically distributed directly to your wallet.

  • Plug-and-Play: Standardized REST endpoints (/quote, /tokens, /protocols) make integration seamless. You can integrate swaps in minutes, not weeks.

  • Future-Proof: As new chains and protocols are added, you automatically benefit without extra work.

Revenue Model

Integrator Fee Add your own integratorFee per swap (up to the 5% limit). This is taken directly from the input amount and paid instantly to your integrator wallet.

Use cases:

  • Monetize your app directly

  • Subsidize gas costs or rebates

  • Run premium swap tiers for users

Example

  • User executes a $10,000 swap

  • Madhouse fee: 0.01% = $1

  • Integrator fee: 0.05%

  • Integrator earns = $5

  • Final swap amount = $9,994

Benefits of Being a Partner

  • Monetize traffic: Earn revenues on every swap routed through your app

  • Faster time-to-market: No need to build and maintain your own liquidity integrations

  • Simple integration: Just three endpoints to fetch tokens, protocols, and quotes

  • Analytics: Access dashboards to monitor swap volumes and revenues

  • Priority support: Direct access to Madhouse partner channels

Last updated