GlueX logo

Best Swaps, Any Asset on Binance Smart Chain

Power your dapp with our APIs and get best quotes
Start integrating now

Source Liquidity from Top Protocols

Build on Binance Smart Chain with GlueX

  • MEV Protection

    Prevents front running and sandwich attacks by shielding your transactions from malicious actors

    Surge Protection

    Mitigates transaction failures and fees during periods of high network congestion

    Slippage Protection

    Protects against high price impact and ensures fair trade execution

    Low Latency Execution

    Blazing fast transaction speeds optimized for high frequency trading environments

    Zero Routing Fees

    Route assets across multiple liquidity pools without incurring additional fees, maximizing your returns

    Gas Optimization

    Automatically bundles and optimizes transactions to minimize overall gas consumption

    Smart Order Routing

    Finds the best price by splitting orders across multiple protocols in real time

    Liquidity Aggregation

    Aggregates liquidity from top DEXs and AMMs to ensure deep order books and minimal slippage

    Analytics and Reporting

    Real time dashboards displaying various metrics for all routed transactions

    Front Running Resistant

    Protects againts any front-running attempts.

  • MEV Protection

    Prevents front running and sandwich attacks by shielding your transactions from malicious actors

    Surge Protection

    Mitigates transaction failures and fees during periods of high network congestion

    Slippage Protection

    Protects against high price impact and ensures fair trade execution

    Low Latency Execution

    Blazing fast transaction speeds optimized for high frequency trading environments

    Zero Routing Fees

    Route assets across multiple liquidity pools without incurring additional fees, maximizing your returns

    Gas Optimization

    Automatically bundles and optimizes transactions to minimize overall gas consumption

    Smart Order Routing

    Finds the best price by splitting orders across multiple protocols in real time

    Liquidity Aggregation

    Aggregates liquidity from top DEXs and AMMs to ensure deep order books and minimal slippage

    Analytics and Reporting

    Real time dashboards displaying various metrics for all routed transactions

    Front Running Resistant

    Protects againts any front-running attempts.

GlueX APIs Suite

Effortlessly onboard Binance Smart Chain intents and liquidity sources into your application with the GlueX integration suite

curl 'https://router.gluex.xyz/v1/quote' \
-H 'content-type: application/json' \
-H 'x-api-key: <api-key>' \
--data-raw '{
  "inputToken": "<input-token>",
  "outputToken": "<output-token>",
  "inputAmount": "<input-amount>",
  "userAddress": "0x220866B1A2219f40e72f5c628B65D54268cA3A9D",
  "outputReceiver": "0x220866B1A2219f40e72f5c628B65D54268cA3A9D",
  "chainID": "bnb",
  "uniquePID": "<unique-pid>",
  "isPermit2": false
}'

Router API

Get self-executable quotes or sign executable intents with GlueX Router API

curl 'https://exchange-rates.gluex.xyz/' \
  -H 'content-type: application/json' \
  --data-raw '[{
    "domestic_blockchain": "bnb",
    "domestic_token": "<domestic-token-address>",
    "foreign_blockchain": "bnb",
    "foreign_token": "<foreign-token-address>"
  }]'

Exchange Rate API

Fetch the exchange rates among any pair of tokens across any chains with GlueX Exchange Rates API

# Request the historical APY data for a specific LP token on Ethereum
# - lp_token_address: the address of the LP token contract or the pool contract
# - chain: the blockchain identifier
curl -X 'POST' \
  'https://yield-api.gluex.xyz/historical-apy' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "lp_token_address": "",
  "chain": "bnb"
}'

# Request the current “diluter” APY based on the deposit amount for a LP token
# - lp_token_address: the address of the LP token contract or the pool contract
# - chain: the blockchain identifier
# - amount: the deposit amount in the token's smallest units
curl -X 'POST'   'https://yield-api.gluex.xyz/diluted-apy' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "lp_token_address": "",
  "chain": "bnb",
  "amount": "100000000000"
}'

Yield API

Analyze liquidity pool yield performance and optimize capital deployment

Build with us
on Binance Smart Chain

Start Integrating