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

# Get Quote

> This endpoint retrieves a specific quote by its ID

### Params

<ParamField path="quote-id" type="string" required>
  The unique identifier of the quote to retrieve
</ParamField>

### Response

<ResponseField name="id" type="string">
  Unique identifier for this quote
</ResponseField>

<ResponseField name="quote" type="number">
  The exchange rate for the conversion
</ResponseField>

<ResponseField name="fixedCost" type="number">
  Fixed cost in the source currency for the transfer
</ResponseField>

<ResponseField name="senderAmount" type="number">
  The amount the sender will pay in the source currency
</ResponseField>

<ResponseField name="receiverAmount" type="number">
  The amount the receiver will receive in the destination currency
</ResponseField>

<ResponseField name="minAmount" type="number">
  Minimum amount required for this conversion
</ResponseField>

<ResponseField name="validUntil" type="string">
  The timestamp until which this quote is valid (ISO 8601 format)
</ResponseField>

<ResponseField name="isValid" type="boolean">
  Indicates whether the quote is still valid (not expired)
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/v1/quotes/efaaf971-6d8b-4f36-be36-187c9f68fc06' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>'
  ```

  ```js Javascript theme={null}
  const response = await fetch('https://stablecoin-api.sandbox.getmeru.com/v1/quotes/efaaf971-6d8b-4f36-be36-187c9f68fc06', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'api-key': '<api-key>'
    }
  });

  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "efaaf971-6d8b-4f36-be36-187c9f68fc06",
    "quote": 3737.7592,
    "fixedCost": 4000,
    "senderAmount": 1000,
    "receiverAmount": 3733879.2,
    "minAmount": 1,
    "validUntil": "2024-12-31T23:59:59Z",
    "isValid": true
  }
  ```
</ResponseExample>

### Error Responses

<ResponseExample>
  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized. Please check your authentication credentials."
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Quote not found."
  }
  ```
</ResponseExample>
