POST
/api/v1/translation-qa/locale$0.005 USDCReturn 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
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.
curl -i -X POST "https://www.brainiac.software/api/v1/translation-qa/locale" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"locale": "de-DE"
}
JSON{
"status": "complete",
"locale": "de-DE",
"language": "de",
"cldrLocale": "de",
"name": "German (Germany)",
"nativeName": "Deutsch (Deutschland)",
"numberingSystem": "latn",
"decimal": ",",
"group": ".",
"minusSign": "-",
"decimalPattern": "#,##0.###",
"percentPattern": "#,##0 %",
"currencyPattern": "#,##0.00 ¤",
"dateFormats": {
"short": "dd.MM.yy",
"medium": "dd.MM.y",
"long": "d. MMMM y",
"full": "EEEE, d. MMMM y"
},
"timeFormats": {
"short": "HH:mm",
"medium": "HH:mm:ss",
"long": "HH:mm:ss z",
"full": "HH:mm:ss zzzz"
},
"firstDayOfWeek": 1,
"quotationStart": "„",
"quotationEnd": "“",
"altQuotationStart": "‚",
"altQuotationEnd": "‘",
"pluralCategories": {
"cardinal": [
"one",
"other"
],
"ordinal": [
"other"
]
},
"requestedLocale": "de-DE",
"cldrVersion": "49.0.0",
"sources": [
{
"source": "Unicode CLDR JSON 49.0.0 (cldr-core, cldr-numbers-full, cldr-dates-full, cldr-misc-full, cldr-localenames-full), 40 locales",
"url": "https://github.com/unicode-org/cldr-json",
"licence": "Unicode-3.0",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"Data covers 40 common locales vendored from CLDR 49.0.0; a regional tag outside that set resolves to the first vendored locale of the same language and script.",
"Patterns are CLDR pattern strings (for example dd.MM.y), not formatted samples. Use number-formats for formatted output."
]
}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.
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.