Skip to content

List frozen months

GET /api/v2/external/exchange-rate-freezes

Authentication: x-api-key header, with the exchange-rate-freezes:write scope. See Authentication and limits.

Paginated list of the months (YYYY-MM) for which the client has frozen exchange rates, in the standard v2 list envelope.

Query parameters

NameTypeRequiredDescription
itemsPerPagenumberNoNumber of items per page. Default 10; values above 100 are silently clamped to 100 (hard server cap, spec §6.1).
currentPagenumberNoCurrent page (1-based). Offset pagination: a page can shift if the collection mutates between calls; re-fetch from page 1 for a consistent sweep.

Response

200 A page of frozen months with the standard v2 list envelope { pagination, data }.

json
{
  "pagination": {
    "totalItems": 128,
    "currentPage": 1,
    "itemsPerPage": 10,
    "totalPages": 13,
    "hasMore": true
  },
  "data": [
    {
      "object": "exchangeRateFreeze",
      "yearMonth": "2026-10"
    }
  ]
}
Response fields
FieldTypeDescription
paginationobjectPagination metadata.
pagination.totalItemsintegerTotal number of items across all pages.
pagination.currentPageinteger1-based index of the current page.
pagination.itemsPerPageintegerNumber of items per page (server cap: 100).
pagination.totalPagesintegerTotal number of pages.
pagination.hasMorebooleanTrue when another page exists after the current one.
dataarray of objectsPage of results.
data[].objectstringString describing the object type (auto-description). One of: exchangeRateFreeze.
data[].yearMonthstringFrozen month, YYYY-MM.

Errors

Errors use the application/problem+json envelope with stable machine-readable codes. See the Errors guide.

StatusDescription
401Missing or invalid API key (invalid_api_key), or expired key (api_key_expired).
403API key lacks the required scope (insufficient_scope, with requiredScope extension) or the operation is not enabled for this client (forbidden).
429Daily API call limit exceeded (rate_limit_exceeded): the Retry-After header gives the seconds until reset.

Example request

bash
curl "https://api.renewr.example/api/v2/external/exchange-rate-freezes" \
  -H "x-api-key: $RENEWR_API_KEY"

Renewr External API v2. Access on invitation.