Command Palette
Search for a command to run...
GET /v1/languages#
GET
/api/v1/languages Public — no key List of languages QuizBase serves through the public API, with native names and quiz-ready question counts per language. Use this to populate a language picker in your UI or to verify a ?lang= value before sending it.
Public, no API key required.
Parameters#
| Parameter | Type | Default | Description |
|---|---|---|---|
| lang | enum | en | Display language for `name`. Native names (`nativeName`) are always in their own script. |
Examples#
Response#
{
"data": [
{ "code": "en", "name": "English", "nativeName": "English", "count": 645923 },
{ "code": "pl", "name": "Polish", "nativeName": "Polski", "count": 647599 }
],
"meta": {
"count": 2,
"language": "en",
"requestId": "req_..."
}
}count is the number of approved, public-dump-eligible questions for that language. Updated nightly from public_stats_snapshots.
Performance#
- p50 (warm): ~30ms
- p95 (warm): <50ms (small static dataset, no heavy aggregation)
- Last measured: 2026-05-07
- SLO: p95 < 500ms, error rate < 1%
See also#
- Languages and translations — what each language code means in practice
- GET /v1/stats — full breakdown including
byLanguage - GET /v1/categories — pair with
?lang=for fully localized UI