Exchange Rates

Get exchange rates

Changed on

Retrieve cached exchange rates for currency corridors. Returns FX rates that are cached for approximately 5 minutes. Rates include fees specific to your platform for authenticated requests.

Filtering Options:

  • Filter by source currency to get all available destination corridors
  • Filter by specific destination currency or currencies
  • Provide a sending amount to get calculated receiving amounts
get/exchange-rates

Request

  • Base URL: https://api.lightspark.com/grid/2025-10-13
  • URL: https://api.lightspark.com/grid/2025-10-13/exchange-rates
  • Auth: HTTP basic

Query parameters

sourceCurrencystring

Filter by source currency code (e.g., USD)

destinationCurrencystring[]

Filter by destination currency code(s). Can be repeated for multiple currencies (e.g., &destinationCurrency=INR&destinationCurrency=GBP)

sendingAmountinteger

Sending amount in the smallest unit of the source currency (e.g., cents for USD). If no amount is provided, the default is 10000 in the sending currency smallest unit.

Response

Successful operation

Example response

{
  "data": [
    {
      "sourceCurrency": {
        "code": "USD",
        "name": "United States Dollar",
        "symbol": "$",
        "decimals": 2
      },
      "sendingAmount": 10000,
      "minSendingAmount": 100,
      "maxSendingAmount": 10000000,
      "destinationCurrency": {
        "code": "USD",
        "name": "United States Dollar",
        "symbol": "$",
        "decimals": 2
      },
      "destinationPaymentRail": "UPI",
      "receivingAmount": 1650000,
      "exchangeRate": 0.012121,
      "fees": {
        "fixed": 100,
        "total": 100
      },
      "updatedAt": "2025-02-05T12:00:00Z"
    }
  ]
}

Changes

    • warning

      added the new ACH_SAME_DAY enum value to the ////// response property for the response status

    • warning

      for the query request parameter sendingAmount, the exclusiveMinimum was set to 0.00