Get a quote
One GET /route request returns quotes from every DEX, best first, with gas and storage costs.
The Intear DEX Aggregator finds the best route for a token swap on NEAR across several DEXs and liquid staking protocols, and returns it as a list of transactions you sign and send. It runs at:
https://router.intear.techIt handles the boring parts for you: wrapping and unwrapping NEAR, storage deposits, token registrations, moving tokens in and out of DEX inner balances, gas and slippage limits. You only need to sign what it gives you.
Get a quote
One GET /route request returns quotes from every DEX, best first, with gas and storage costs.
Execute a swap
Each quote has execution_instructions: transactions to sign in order. No contract knowledge needed.
Stream live quotes
Open a WebSocket to /route/subscribe and get a new quote every time the pools change.
Earn referral fees
Pass referrer_id to track volume, and on some DEXs to receive a share of fees.
| DEX | What it is | dexes ID |
|---|---|---|
| Rhea | AMM (classic, stable and rated pools) | Rhea |
| Rhea DCL | Concentrated liquidity AMM | RheaDcl |
| Intear Plach | AMM on Intear DEX | Plach |
| Aidols | Bonding-curve launchpad | Aidols |
| Meta Pool | Liquid staking (stNEAR) | MetaPool |
| LiNEAR | Liquid staking (LiNEAR) | Linear |
| rNEAR | Liquid staking (rNEAR) | RNear |
| xRHEA | Staked RHEA | XRhea |
| Wrap | 1:1 conversion, like NEAR ↔ wNEAR | Wrap |
See DEXs for what each one supports.