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

# Get exchange rate

> Returns the current USD-to-specified-currency exchange rate, with a
per-provider `sources` breakdown.

Public — no API key required.



## OpenAPI

````yaml /openapi.json get /lookup/exchange_rate/usd_to_{currency}
openapi: 3.1.0
info:
  title: Etherfuse FX API
  description: Partner-facing ramp API for onramps, offramps, swaps, and KYC.
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.sand.etherfuse.com
    description: Sandbox
security:
  - ApiKeyAuth: []
tags:
  - name: Authentication
    description: >-
      Partner JWT authentication — exchange a JWT for an access token, or launch
      a user into the app.
  - name: Lookup
    description: >-
      Public reference data: exchange rates, stablebonds, bond costs, country
      codes.
  - name: Assets
    description: Rampable stablecoins and stablebonds available per blockchain.
  - name: Onboarding
    description: Hosted and programmatic customer onboarding.
  - name: Agreements
    description: Legal agreement acceptance during onboarding.
  - name: Bank Accounts
    description: Register and retrieve customer bank accounts.
  - name: Quotes
    description: Price quotes for onramps, offramps, and swaps.
  - name: Orders
    description: Create, track, and manage ramp orders.
  - name: Swaps
    description: Crypto-to-crypto swaps.
  - name: Sponsored
    description: Token approvals for sponsored (gasless) offramps.
  - name: Customers
    description: Customer (child-organization) records.
  - name: Wallets
    description: Register and manage customer wallets.
  - name: KYC
    description: Submit and check customer KYC status.
  - name: Webhooks
    description: Event notification subscriptions.
  - name: Organizations
    description: Organization identity, child orgs, and partner fees.
paths:
  /lookup/exchange_rate/usd_to_{currency}:
    get:
      tags:
        - Lookup
      summary: Get exchange rate
      description: |-
        Returns the current USD-to-specified-currency exchange rate, with a
        per-provider `sources` breakdown.

        Public — no API key required.
      operationId: usd_to_currency
      parameters:
        - name: currency
          in: path
          description: The target currency code (e.g. "mxn", "brl", "eur")
          required: true
          schema:
            type: string
        - name: max_age
          in: query
          description: >-
            Maximum age of a source in seconds. Sources whose `updated_at`
            timestamp

            is older than `now - max_age` are excluded from the `sources` map.

            When omitted, all sources are returned regardless of age.
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
            minimum: 0
      responses:
        '200':
          description: Exchange rate with per-provider source breakdown
          content:
            application/json:
              schema: {}
              example:
                rate: '17.15'
                sources:
                  provider_1:
                    rate: '17.15'
                    updated_at: 1709510400
                updated_at: 1709510400
        '404':
          description: Currency is not supported
      security:
        - {}
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key sent in the Authorization header.

````