List region codes (cultural affinity) with counts
quizbase_regionsDiscover region codes used by the catalog. Cultural affinity — a question is tagged with a region if residents of that country, or members of that cultural/religious group, are statistically more likely to know the answer (NOT geography of the subject). USE WHEN: planning a quiz targeting users from a specific country or cultural background, exploring "what regions are represented". OUTPUT: array of {code, kind, label, count} sorted by count DESC. INPUTS: lang (en|pl), q (substring on code/label), kind (country|cultural), cursor, limit (max 500). Pair with quizbase_random or quizbase_list using regions:[...] to fetch matching questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Substring search on region code + label (case-insensitive). E.g. `q=jew` returns `jewish` cultural code. | |
| kind | No | Filter by region type. `country` returns ISO 3166-1 alpha-2 codes (`us`, `pl`, `gb`...). `cultural` returns cultural/religious affinity codes (`jewish`, `christian-catholic`, `islam`...). Omit for both. | |
| lang | No | Language for region `label` (ISO 639-1). Default "en". Supported: en, pl. Codes themselves language-agnostic. | en |
| limit | No | Page size (1-500, default 100). Catalog has ~150 distinct codes per language. | |
| cursor | No | Opaque pagination cursor from previous `meta.nextCursor`. Omit for page 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | Pagination metadata: count returned, total available, cursor for next page. | |
| regions | Yes | Region codes (cultural affinity) with localized labels, kind (country|cultural), and per-region counts. |