Connect
Monorail
Monorail Developer API

For next generation
Monad apps

Quotes, swaps, prices, token and wallet data with enterprise-grade reliability
Powered by Monorail's synthetic orderbooks

See Examples
Free to use • No usage caps • Fee sharing
13
Orderbooks and AMMs
Supported Exchanges
16 000+
Tokens
Metadata and Balances
5
Active
Integrators
2M
Average
Daily Requests
174ms
Mean
Response Time

Built for Monad's Builders

Whether you're building bots, managing communities, or creating the next DeFi protocol

Bot Builders

Arbitrage and liquidation bot builders with fast trading strategies

High-frequency • Low latency

Discord Communities

Server owners providing price feeds and trading tools for their communities

Real-time pricing • Easy integration

DeFi Builders

Apps needing pricing data or seamless swap integration for their users

Gasless swaps • Best prices

AMM Protocols

DEXs wanting to improve routing efficiency and earn additional fees

Better routing • Fee sharing

Simple. Powerful. Ready in Minutes.

Get started with just a few lines of code, our API handles the rest

// Define your Monorail app ID
const appId = '0';

// MON
const tokenIn = '0x0000000000000000000000000000000000000000'; 
// USDC
const tokenOut = '0xf817257fed379853cde0fa4f97ab987181b1e5ea'; 

// Set the amount of MON to swap
const amountToSwap = 1.5;

// Construct the quote URL
const quoteUrl = new URL('https://testnet-pathfinder.monorail.xyz/v4/quote');
quoteUrl.searchParams.set('source', appId);
quoteUrl.searchParams.set('from', tokenIn);
quoteUrl.searchParams.set('to', tokenOut);
quoteUrl.searchParams.set('amount', amountToSwap.toString());

// Fetch the quote
const response = await fetch(quoteUrl.toString());
const result = await response.json();

// Output the estimated USDC from the swap
console.log(`USDC from swap: ${result.output_formatted}`);

// Execute result.transaction using your wallet client

Key Benefits

Best prices across Monad
Automatically routes through all DEXs to find optimal prices
Widest token support
With balances and metadata available
Gasless Approvals
Permit2 integration for seamless user experience
Lightning Fast
Sub-200ms response times
Very Flexible Fee Sharing
Bring volume, earn fees

Pricing

Free
No setup fees • No usage caps
Fee SharingIncluded
Quotes, Balances, TokensFree
Per trade fee0.1%

Trusted by Leading DeFi Teams

Whether it's social apps or yield farms, the best teams build with Monorail

Dusted

Dusted

Improving the world for bagholders

 
In-app swaps
BlockBot

BlockBot

Monad's most powerful Telegram trading bot

 
In-app swaps
MeowFi

MeowFi

Multi-layered yield and capital efficiency

 
In-app swaps

Aggregating liquidity from 13 exchanges

KuruKuru
CrystalCrystal
TayaTaya
LFGLFJ
UniswapUniswap
PancakeSwapPancakeSwap
Bean
AtlantisAtlantis
OctoSwapOctoSwap
MondaPurps
ZKSwapzkSwap
Nad.fun
Madness
KuruKuru
CrystalCrystal
TayaTaya
LFGLFJ
UniswapUniswap
PancakeSwapPancakeSwap
Bean
AtlantisAtlantis
OctoSwapOctoSwap
MondaPurps
ZKSwapzkSwap
Nad.fun
Madness

Ready to Build Something Amazing?

Focus on your product, let us handle the trading

See Examples
Free to use • No usage caps • Fee sharing