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

# Get Best Quote

<mark style="color:blue;">`GET`</mark> `https://illumigate.swivel.exchange/v1/quotes/best?amount=a`

This endpoint allows you to request the best lending quote from the following integrated protocols:

**`0`** - Illuminate

**`1`** - Swivel

**`2`** - Yield

**`3`** - Element

**`4`** - Pendle

**`5`** - Tempus

**`6`** - Sense

**`7`** - Apwine

**`8`** - Notional.

#### Query Parameters

| Name                                     | Type   | Description      |
| ---------------------------------------- | ------ | ---------------- |
| amount<mark style="color:red;">\*</mark> | string | The lend amount. |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "amount": "1000000000",
  "pt": {
    "amount": "1014027026",
    "decimals": 6,
    "maturity": "1688085200",
    "address": "0xeB325a92EA85dA6fDE3150e1055D7Dc74b4dC276",
    "meta": {
      "poolAddress": "0xA7711623026dAcDfcB0471185C6E9331f50cabff"
    }
  },
  "underlying": {
    "address": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
    "decimals": 6
  },
  "maturity": "1688085200",
  "principal": 0,
  "apy": "0.03338371764"
}
```

{% endtab %}
{% endtabs %}
