Show HN: REST API for Aerodrome/Velodrome DEX – Trade Without Web3 Complexity

4 yaanakbr 1 7/8/2025, 4:17:29 PM marketplace.quicknode.com ↗
Hey HN! QuickNode team here, and we just launched a REST API for Aerodrome (Base) and Velodrome (Optimism) DEXs.

What it does: Get real-time prices, quotes, and ready-to-sign swap transactions via simple HTTP calls. No Web3 libraries, no ABI handling, no complex routing logic. We support all 8000+ pools on Aerodrome.

Why we built this: - Aerodrome uses three different pool types, making direct integration complex - EVM ecosystem is expanding, but developers need simple access to DEX data - Existing solutions require deep Web3 knowledge just to get a token price

What makes this different: - Real-time prices: Block-by-block updates using event-driven system - Direct integration: Not an aggregator - we use Aerodrome's native routing (max 3 hops) - Non-custodial: We BUILD the transaction, you sign and relay it - Zero Web3 complexity: Everything via REST API

Example - get AERO price:

  curl "https://your-endpoint.../v1/prices?target=aero&symbols=AERO"
  // Returns current price
  {
    "prices": {
      "0x940181a94a35a4569e4529a3cdfb74e38fd98631": {
        "token": {
          "address": "0x940181a94A35A4569E4529A3CDfB74e38FD98631",
          "symbol": "AERO",
          "decimals": 18,
          "listed": true
        },
        "price": 0.6916062016185747,
        "price_display": 0.691606
      }
    }
  }
Example - build a swap:

  curl -X POST "https://your-endpoint.../v1/swap/build?target=base" \
    -H "Content-Type: application/json" \
    -d '{"from_token":"AERO","to_token":"USDC","amount":10.0,"wallet_address":"0x..."}'
// Returns ready-to-sign transaction calldata

Full docs: https://superswaps-api.com

Technical Details: Aerodrome implements three pool types: - vAMM: Traditional Uniswap V2-style pools (x*y=k) for volatile pairs - sAMM: Curve-style pools optimized for correlated assets like stablecoins - Slipstream: Their concentrated liquidity implementation (adapted from Uniswap V3)

We handle all the complexity of determining pool types, routing, and slippage calculations server-side. This is available as a QuickNode add-on.

Would love your feedback!

Try it here: https://marketplace.quicknode.com/add-on/aerodrome-swap-api https://marketplace.quicknode.com/add-on/velodrome-swap-api

Comments (1)

nickster440 · 5m ago
I need to check this out, theres a CB drop I read coming soon and this might be the perfect use-case