API

The DEX.AG API provides pricing and trade information for a given trading pair and amount.

Rate Limiting: 120 requests / minute.

The following DEXes are currently supported:

  • Uniswap (uniswap)

  • Bancor (bancor)

  • Kyber (kyber)

  • 0x V3 (zero_x)

  • Oasis (oasis)

  • Synthetix (synthetix)

  • Curve (curvefi)

  • Curve SUSD (curve_susd)

  • Compound (compound)

  • Chai (chai)

  • Aave (aave)

  • MStable (mstable)

  • Use ag to get the X Blaster price. DEX.AG’s X Blaster feature splits your large trade orders into smaller ones across multiple DEXes to make sure you’re getting the best possible price for your order. If splitting the order does not improve the price, ag returns the best trade out of the supported dexes.

The API consists of the following endpoints: