> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thiqwave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Quote

> Retrieve details of an existing quote.

## Get Quote

Retrieve the full details of a quote by its ID. If the quote has expired, the response includes a `status: "expired"` field.

### Endpoint

```
GET /v1/quotes/:id
```

### Request

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.thiqwave.com/v1/quotes/quote_1234567890 \
    -H "X-API-Key: your_api_key"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.thiqwave.com/v1/quotes/quote_1234567890', {
    method: 'GET',
    headers: {
      'X-API-Key': 'your_api_key',
    },
  });

  const quote = await response.json();
  console.log(quote);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.thiqwave.com/v1/quotes/quote_1234567890',
      headers={'X-API-Key': 'your_api_key'}
  )

  quote = response.json()
  print(quote)
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "id": "quote_1234567890",
  "type": "payin",
  "source_currency": "AED",
  "source_network": null,
  "source_amount": 50000,
  "destination_currency": "USDT",
  "destination_network": "ethereum",
  "destination_amount": "479.50",
  "exchange_rate": "0.009590",
  "fees": {
    "platform_fee": "20.50",
    "network_fee": "0.00"
  },
  "total_fee": "20.50",
  "expires_at": "2026-04-09T14:33:00Z",
  "created_at": "2026-04-09T14:30:00Z"
}
```

### Response Fields

| Field                  | Type              | Description                                                       |
| ---------------------- | ----------------- | ----------------------------------------------------------------- |
| `id`                   | string            | Unique quote identifier.                                          |
| `type`                 | string            | Transaction type: `"payin"`, `"payout"`, `"bridge"`, or `"swap"`. |
| `source_currency`      | string            | Source currency code.                                             |
| `source_network`       | string \| null    | Source blockchain network (null for fiat).                        |
| `source_amount`        | integer \| string | Amount in source currency.                                        |
| `destination_currency` | string            | Destination currency code.                                        |
| `destination_network`  | string \| null    | Destination blockchain network (null for fiat).                   |
| `destination_amount`   | integer \| string | Amount in destination currency.                                   |
| `exchange_rate`        | string            | Conversion rate.                                                  |
| `fees`                 | object            | Platform and network fees.                                        |
| `total_fee`            | string \| integer | Total fee amount.                                                 |
| `status`               | string            | Only present if expired: `"expired"`.                             |
| `expires_at`           | string            | ISO 8601 timestamp when quote expires.                            |
| `created_at`           | string            | ISO 8601 timestamp of creation.                                   |

## Notes

* If the quote has expired, you must create a new quote to proceed.
* Use the `quote_id` in pay-in, payout, or bridge requests before expiration.
