Sample - Stripe API
GET/v1/exchange_rates

List exchange rates

Lists exchange rates from supported currencies. Use limit, starting_after, and ending_before to control pagination; the ExchangeRate APIs are deprecated, so use the FX Quotes API for new integrations.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
ending_beforestringoptional
Currency identifier before which to return exchange rates.
expandarray<string>optional
Fields to expand in the response; each value can contain at most 5000 characters.
limitintegeroptional
Maximum number of exchange rates to return, from 1 through the total number of supported payout currencies. Defaults to the maximum when omitted.
starting_afterstringoptional
Currency identifier after which to return exchange rates.

2 status codes
200Returns a list object containing exchange-rate objects, a pagination indicator, the list object type, and the collection URL.
dataarray<ExchangeRate>required
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultReturned when the API cannot process the list request; the response contains an error object.
errorobjectrequired

Error handling

This operation is deprecated; use the FX Quotes API instead. limit must be at least 1 and cannot exceed the total number of supported payout currencies; cursor values in starting_after and ending_before identify currency positions.