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

# Get display-currency exchange rates

> Return display-currency exchange rates.

Rates for showing amounts in the app's display currency. This is the only
operation that takes no publishable key — it prices nothing, so each rail's own
quote endpoint remains the source of truth for what a user pays.


## OpenAPI

````yaml api/openapi.json GET /v1/fx
openapi: 3.1.0
info:
  description: Fiat-to-USDC onramp API. The URL prefix (`/v1`) is the version contract.
  license:
    identifier: LicenseRef-Proprietary
    name: Proprietary
  title: Calm API
  version: v1
servers:
  - description: Production
    url: https://api.calmtreasury.xyz
  - description: Sandbox
    url: https://api.sandbox.calmtreasury.xyz
security: []
paths:
  /v1/fx:
    get:
      summary: Get display-currency exchange rates
      description: >-
        Returns USD→currency rates for showing amounts in the app's display
        currency. It is the only operation that takes no publishable key.
      operationId: getFxRates
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  EUR:
                    type: number
                  GBP:
                    type: number
                  USD:
                    const: 1
                    type: number
                required:
                  - USD
                  - GBP
                  - EUR
                type: object
          description: Current USD-based rates.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Too Many Requests — `error.code` includes: rate_limited.'
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Bad Gateway — `error.code` includes: fx_unavailable.'
      security: []
components:
  schemas:
    Error:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object

````