> For the complete documentation index, see [llms.txt](https://docs.native.org/old/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.native.org/old/native-v1/api-references/get-v1-indicative-quote.md).

# GET /v1/indicative-quote

Get amount out for selling a ERC20 / native token.

```url
GET https://newapi.native.org/v1/indicative-quote
```

This endpoint provides amount of token out Native quote given the requested token and token amount. Native routing optimises for the best price among on-chain aggregator and private market makers.

Native supports native token swap. Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE to represent the token address of the native token.<br>

**Headers**

<table><thead><tr><th width="202">Name</th><th>Description</th></tr></thead><tbody><tr><td>apiKey</td><td>Contact Native to get your API key.</td></tr></tbody></table>

\
**Params**

<table><thead><tr><th width="202">Name</th><th>Description</th></tr></thead><tbody><tr><td>chain</td><td>Blockchain name. Supported chains: ethereum, bsc</td></tr><tr><td>token_in</td><td>Token address for the token to be sold.</td></tr><tr><td>token_out</td><td>Token address for the token to be bought.</td></tr><tr><td>amount</td><td>Amount of token to be sold, in ether unit.</td></tr><tr><td>address</td><td>Address of the user making the swap.</td></tr></tbody></table>

#### Example

```
https://newapi.native.org/v1/indicative-quote?chain=ethereum&token_in=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&token_out=0xdAC17F958D2ee523a2206206994597C13D831ec7&amount=1&address=0x42d4e9ee3f725c84b7934e4fda64f2be0f803130
```

In this example, wallet **0x42d4e9ee3f725c84b7934e4fda64f2be0f803130** requests quote for swapping **1** **ETH** to **USDT** on **Ethereum**.

#### Response

```json
{
  buyerToken: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
  buyerTokenAmount: 1839.7184,
  liquidityProviderFee: 0,
  price: 1839.7184,
  routes: ["ETH", "USDT"],
  sellerToken: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
  sellerTokenAmount: 0.01,
  success: true,
  totalFee: 0,
  widgetFee: 0,
}
```

In the response above, Native returns **1,839.7184 USDT** for the order sent in the example.
