Documentation Index
Fetch the complete documentation index at: https://docs.houdiniswap.com/llms.txt
Use this file to discover all available pages before exploring further.
Get DEX Quote
Endpoint
Query Parameters
| Field | Type | Description |
|---|---|---|
amount | string | Amount to swap (e.g., 100) |
tokenIdFrom | string | ID of the source token (e.g., 6689b73ec90e45f3b3e51553) |
tokenIdTo | string | ID of the destination token (e.g., 6689b73ec90e45f3b3e51558) |
Example Request
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
swap | string | Swap identifier |
quoteId | string | Unique quote ID (use in dexExchange) |
amountOut | number | Quoted output amount |
amountOutUsd | number | Quoted output amount in USD |
duration | number | Estimated swap duration in minutes |
gas | number | Gas fee for the swap |
feeUsd | number | Fee in USD |
path | array | Bridge/routing path |
raw | object | Raw transaction data including gas and duration. See RouteDTO |