Locale and Formatting Tools

Locale-aware number, currency, date, plural, relative-time, list and sort formatting from the ICU/CLDR data built into the server.

payments ON MAINNET (real money) · 8 live endpoints

EndpointPriceWhat it answers
GET /format-currency$0.02Format an amount as money for an ISO 4217 currency code in a locale; reports minor-unit digits; unknown codes rejected.
GET /format-date$0.02Show an instant in an IANA timezone and locale with full/long/medium/short styles; DST-aware, with UTC offset.
GET /format-number$0.02Format a number as decimal, percent, compact (1.2K) or unit text in any BCP47 locale, with digit control.
GET /list-format$0.02Join items into a natural-language and/or list for a locale ('a, b, and c' in en, 'a, b y c' in es).
GET /locale-parse$0.02Parse and canonicalize a BCP47 language tag: language, script, region, extensions, likely subtags, direction.
GET /plural-category$0.02CLDR plural category (zero/one/two/few/many/other) of a number in a locale, cardinal and ordinal, with all categories.
GET /relative-time$0.02Relative time text such as '3 days ago' or 'tomorrow' for a signed value and unit in any locale.
GET /sort-text$0.02Sort up to 200 strings by locale rules (German a-umlaut, Swedish a-ring, Spanish n-tilde) with numeric option.

GET /catalog returns this list as JSON. Activity hub · uptime.


Output comes from the ICU/CLDR data built into the server's Node.js runtime and can differ between ICU versions and from other platforms. Formatting only; not translation, legal or accounting advice. Every paid response carries a disclaimer field.