0x (Aggregator)
/getprice
Returns the best swap quotation for the given token pairs.
Query Parameters
Name
Type
Description
https://api.expand.network/dex/getprice?dexId=1600&path=Weth,sushi&amountIn=1000000000000000000{
"status": 200,
"msg": "success",
"data": {
"amountIn": "1000000000000000000",
"path": [
"Weth",
"sushi"
],
"amountsOut": "2909311628175970000000"
}
}/getliquiditysources
Get the liquidity sources for the specified dex aggregator(on the basis of chain), supported by expand.network.
Query Parameters
Name
Type
Description
/swap
Initiate a swap transaction on the DEX providing best swap quote.
Request Body
Name
Type
Description
Last updated

