API BUTTER
  • List countriesData / countries · /v1/data/countriesGET
  • List currenciesData / currencies · /v1/data/currenciesGET
  • Format a concise time rangeDates / range · /v1/dates/rangeGET
GET/v1/data/currenciesMarkdown ↗Try it live ↗

List currencies

Free during preview · test keys only

Request

limit=1codes=CAD,USD

Result · First page: codes=CAD,USD&limit=1

Q0FE

List ISO 4217 currencies recognized by the CLDR snapshot in stable code order. Free during preview; scoped test keys must allow data.currencies. No balance or payment is required.

Pagination: limit defaults to 50 (1–250). When has_more is true, pass next_cursor unchanged as cursor, keeping the same filters. Cursors are opaque, not offsets; they mark an exclusive currency-code boundary. A valid cursor remains a boundary even if filters change. The final or empty page has has_more false and next_cursor null. Filters combine with AND; codes selects any listed code.

English display names, symbols, minor-unit digits and country usage come from Unicode CLDR JSON 48.2.1 (CLDR 48.2), Unicode License v3. Membership and numeric codes use the current and historical ISO 4217 tables bundled with CLDR 48.2. Historical and non-tender currencies are listed with tender false. tender reflects legal-tender status on 2026-10-14; countries lists where the currency is legal tender on that date, within the same 249 ISO 3166-1 countries and territories as data_countries, in alpha-2 order, and may be empty. numeric is null when ISO has no numeric mapping. symbol falls back to the code and narrow_symbol to symbol when CLDR has none. Minor-unit digits use CLDR supplemental fractions, default 2, not cash-rounding digits. Non-ISO identifiers such as CNH, CNX and ARL are excluded; ISO special codes XXX and XTS remain listable.

Parameters

  • Name
    limit
    Type
    integer · query
    Required
    Optional
    Default
    Default 50
    Description
    Maximum items per page, an integer from 1 to 250. Default 50.
  • Name
    cursor
    Type
    string · query
    Required
    Optional
    Description
    Opaque next_cursor from a previous page. Omit on the first page; do not decode, construct or increment it.
  • Name
    country
    Type
    string · query
    Required
    Optional
    Description
    ISO 3166-1 alpha-2 code from data_countries, case-insensitive, e.g. CA. Returns the currencies that are legal tender there on the snapshot date. Unknown/non-ISO codes are invalid.
  • Name
    tender
    Type
    boolean · query
    Required
    Optional
    Description
    true for currencies that are legal tender on the snapshot date; false for historical and non-tender currencies. Only true or false is accepted.
  • Name
    q
    Type
    string · query
    Required
    Optional
    Description
    Nonempty case- and accent-insensitive code or English name prefix, e.g. canad matches CAD (Canadian Dollar). Not a substring search.
  • Name
    codes
    Type
    string · query
    Required
    Optional
    Description
    Comma-separated ISO 4217 codes recognized by the snapshot. Case-insensitive; whitespace around each code and duplicates are accepted. Unknown codes and CNH are invalid. Results still use code order.

Make a call

GET
curl --request GET 'https://api.butter.pub/v1/data/currencies?limit=1&codes=CAD%2CUSD' \
  --header "Authorization: Bearer $APIBUTTER_TEST_KEY"

Use your test key as $APIBUTTER_TEST_KEY or key. Keep it out of source control.

Or ask your agent

Call data_currencies on the authenticated MCP server at https://mcp.butter.pub/mcp.

Tool errors carry the same problem in structured content and JSON text, with isError: true.

tools/call
{
    "name": "data_currencies",
    "arguments": {
        "limit": 1,
        "codes": "CAD,USD"
    }
}

Responses

200A currency list, including empty results. The next cursor is present only when another page exists. Nothing is charged. · application/json

  • Name
    object
    Type
    string · always "list"
    Required
    Required
  • Name
    data
    Type
    array of Currency
    Required
    Required
  • Name
    has_more
    Type
    boolean
    Required
    Required
  • Name
    next_cursor
    Type
    string | null
    Required
    Required
{
    "object": "list",
    "data": [
        {
            "object": "currency",
            "id": "CAD",
            "code": "CAD",
            "numeric": "124",
            "name": "Canadian Dollar",
            "symbol": "CA$",
            "narrow_symbol": "$",
            "minor_unit_digits": 2,
            "countries": [
                "CA"
            ],
            "tender": true
        }
    ],
    "has_more": true,
    "next_cursor": "Q0FE"
}
401Missing, invalid or revoked bearer key.1 example

application/problem+json

unauthorized · application/problem+json
{
    "type": "https://apibutter.com/docs/errors/unauthorized",
    "title": "Unauthorized",
    "status": 401,
    "detail": "A valid, unrevoked bearer API key is required.",
    "code": "unauthorized",
    "param": null,
    "errors": null,
    "request_id": "req_01jbz8c6m3x4v9t2q7w5n8r0ka"
}
403Live keys are refused; scoped test keys must allow data.currencies.2 examples

application/problem+json

{
    "type": "https://apibutter.com/docs/errors/test_keys_only",
    "title": "Forbidden",
    "status": 403,
    "detail": "This operation is free during preview and accepts abk_test_ keys only.",
    "code": "test_keys_only",
    "param": null,
    "errors": null,
    "request_id": "req_01jbz8c6m3x4v9t2q7w5n8r0ka"
}
422An invalid filter, limit or cursor. The detail names the parameter to correct.1 example

application/problem+json

invalid_parameter · application/problem+json
{
    "type": "https://apibutter.com/docs/errors/invalid_parameter",
    "title": "Unprocessable Content",
    "status": 422,
    "detail": "The limit parameter must be an integer from 1 to 250.",
    "code": "invalid_parameter",
    "param": "limit",
    "errors": {
        "limit": [
            "The limit parameter must be an integer from 1 to 250."
        ]
    },
    "request_id": "req_01jbz8c6m3x4v9t2q7w5n8r0ka"
}

When a call fails

Error codes, statuses and meanings
CodeStatusMeaning
unauthorized401A valid, unrevoked bearer API key is required.
test_keys_only403This operation is free during preview and accepts abk_test_ keys only.
forbidden403The API key does not allow this operation.
invalid_parameter422The limit parameter must be an integer from 1 to 250.