BRAINIAC.software stands with Ukraine.Solidarity with the Ukrainian people against the invasion. Find out how you can help.
BRAINIAC.software
API CatalogPagesAgent instructionsAgentsMCP connectAgentsRecommend fitAgentsCatalog exploreAgentsMCP serversPagesConnectPagesPricingPages

© 2026 BRAINIAC .software

FAQHow it worksContact UsTerms and AgreementsPrivacy StatementCookie Statement
  1. APIs
  2. CLDR Translation QA Locale
  3. Format numbers and dates for a locale

Format numbers and dates for a locale API

Format up to 100 numbers, currency amounts, percentages, and dates for a locale with Node Intl (ICU and CLDR) and return the formatted strings with the ICU and CLDR versions used.

POST/api/v1/translation-qa/number-formats$0.005 USDC

Examples

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

cURLRequest

curl -i -X POST "https://www.brainiac.software/api/v1/translation-qa/number-formats" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "locale": "de-DE",
  "values": [
    {
      "type": "number",
      "value": 1234567.891
    },
    {
      "type": "currency",
      "value": 1234.5,
      "currency": "EUR"
    },
    {
      "type": "percent",
      "value": 0.256
    },
    {
      "type": "date",
      "value": "2026-12-03",
      "style": "long"
    }
  ]
}
JSON

Example responseJSON

{
  "status": "complete",
  "locale": "de-DE",
  "timeZone": "UTC",
  "results": [
    {
      "input": {
        "type": "number",
        "value": 1234567.891
      },
      "formatted": "1.234.567,891"
    },
    {
      "input": {
        "type": "currency",
        "value": 1234.5,
        "currency": "EUR"
      },
      "formatted": "1.234,50 €"
    }
  ],
  "icuVersion": "77.1",
  "cldrVersion": "47.0",
  "sources": [
    {
      "source": "Node v25.1.0 Intl (ICU 77.1, CLDR 47.0)",
      "url": "https://cldr.unicode.org",
      "licence": "Unicode-3.0",
      "retrievedAt": "2026-12-03",
      "status": "ok"
    }
  ],
  "limitations": [
    "Formatting uses the CLDR release bundled with the server's Node.js ICU, which can lag the CLDR 49 data returned by locale.",
    "percent values are fractions (0.256 formats as 25.6%). Dates are ISO 8601 strings formatted in timeZone with the Gregorian calendar."
  ]
}

Errors & limits

Errors

HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged.

Limits

locale and segment-check read a vendored snapshot in src/data/translation-qa for 40 common locales; no CLDR or translation service is called at request time. segment-check finds format defects (placeholders, tags, numbers, links, quotes, whitespace, length, glossary), not meaning, grammar, or tone. number-formats uses the CLDR release bundled with the server's Node.js ICU, which can lag CLDR 49.

FAQ

  • Do I need an API key? Yes for free and monthly plans. Pay as you go is optional without an account.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related operations

Other operations in CLDR Translation QA Locale. Open one for its path and price.

POST/api/v1/translation-qa/locale$0.005 USDC

Look up CLDR locale data

Return CLDR 49 locale facts for one BCP 47 tag from a vendored set of 40 common locales: decimal and group symbols, number, percent and currency patterns, date and time formats, first day of week, quotation marks, and

POST/api/v1/translation-qa/plural-category$0.002 USDC

Classify numbers by plural category

Return the CLDR plural category (zero, one, two, few, many, other) for each number in a locale, cardinal or ordinal, using make-plural.

POST/api/v1/translation-qa/segment-check$0.03 USDC

Check translated segments

Check up to 500 source and target segments for placeholder, HTML or XML tag, number, URL and email, untranslated, length ratio, quote style, whitespace, and glossary defects using each locale's CLDR number symbols and

Related APIs

Other products in this area. Open one for its resources and price.

Company Intelligence Lookup API

Fetch public company profiles from GLEIF and EDGAR: name/country search, LEI profiles, ownership, financials, filings, plus EU VIES VAT validation and GLEIF registration-number lookup. For caller-supplied registry investigation use corporate-intelligence; for OFAC/UK name screening use exclusion.

ESEF Annual Report Revenue LEI API

Find ESEF/UKSEF annual reports by LEI or name, read tagged revenue, profit, assets and equity facts with iXBRL viewer deep links, resolve messy company names to ESEF filer LEIs, and look up SEC tickers and CIKs. All lookups read vendored snapshots. For live GLEIF/EDGAR profiles use company-intelligence; for SEC Form D use public-filings.

Procurement Intelligence API

Independent API for procurement intelligence: UK, EU, and US procurement opportunities, opportunity details, buyer history, awards, and company matching using UK Contracts Finder, UK Find a Tender, TED, and USAspending.