Skip to content

List Exchange Rates

Returns a cursor-paginated list of every exchange rate, ordered newest-first. Each node carries its target currency's resolved code and name alongside the numeric rate.

Operation

OperationTypePurpose
adminSettingsExchangeRates(first: Int)QueryCollectionList exchange rates with cursor pagination

Arguments

All arguments are optional and combine in a single query — filter, sort and paginate together.

Pagination

ArgumentDescription
firstNumber of records to return.
afterCursor to fetch the page after (from pageInfo.endCursor).

Filters

Each filter narrows the result; supplying more than one combines with logical AND.

ArgumentTypeMatchExample
target_currencyIntExact — target currency id.27
rate_fromFloatMinimum rate (inclusive).1
rate_toFloatMaximum rate (inclusive).2

rate_from and rate_to together bound the rate to a range.

Sorting

ArgumentTypeValues
sortStringid (default), target_currency, rate
orderStringasc, desc (default desc)

Notes

  • Use first with after: <endCursor> to page forward through results.
  • targetCurrencyCode and targetCurrencyName are resolved from the linked currency for convenience — you don't need a separate currency lookup.

TIP

All operations require an admin Bearer token — see Authentication.

Released under the MIT License.