> For the complete documentation index, see [llms.txt](https://docs.openliq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openliq.com/developer/apis/get-quote.md).

# Get /quote

**path**

> /trade/quote

**params**

| Name            | type   | need | Description                                             |
| --------------- | ------ | ---- | ------------------------------------------------------- |
| fromToken       | string | √    |                                                         |
| toToken         | string | √    |                                                         |
| amount          | wei    | √    |                                                         |
| fromChainId     | string | √    |                                                         |
| toChainId       | string | √    |                                                         |
| fromAddress     | string | √    | The address that calls the butter contract              |
| feeType         | string |      | pay fees with: NativeToken: 0; fromToken: 1; default: 0 |
| slippage        | string |      | min: 0; max: 0.5;                                       |
| receiverAddress | string |      | default: fromAddress                                    |

**result**

```typescript
//the result is the same as the result of get routes,but has no tx and gasInfo
type Response = {
    errno: number,
    message: string,
    data: {
        items: Route[],
    }
}
```
