# Get Quotes

<mark style="color:blue;">`GET`</mark> `https://illumigate.swivel.exchange/v1/quotes?underlying=u&maturity=m&amount=a`

This endpoint allows you to request a set of lending quotes 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     | string | The lend amount.                                                      |
| underlying | string | The underlying token contract being transacted. E.g. USDC, DAI, etc., |
| maturity   | string | The maturity of market in unix seconds.                               |

{% 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.illuminate.finance/illuminapi/get/get-quotes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
