Metadata Utility Endpoints
Metadata endpoints provide the reference data you’ll need to use the APIs effectively. These utility endpoints return project codes, language identifiers, and namespace mappings. This information helps you build accurate API queries, filter results by project or language, and understand the structure of article responses.
Project Codes Available
Lists available project codes (types). Includes project code (type) identifier, name and description.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported. filters- array
- Optional
- Select which projects and languages to receive in your response. Sent as one
filtersquery parameter per filter, each a JSON object:?filters={"field":"is_part_of.identifier","value":"enwiki"}&filters={"field":"namespace.identifier","value":0}. Repeated filters combine as AND. A JSON array in a single value returns422 Unprocessable Entity.
-
application/json
[ { "identifier": "string", "name": "string", "description": "string" } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
fields- array
filters- array
application/json{ "fields": [ "name", "identifier" ], "filters": [ { "field": "identifier", "value": "wiki" } ] }
-
application/json
[ { "identifier": "string", "name": "string", "description": "string" } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Project Code Info
Information on a specific project code (type). Includes identifier, name and description.
identifier- string
- Required
- Identifier of the code.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported.
-
application/json
{ "identifier": "string", "name": "string", "description": "string" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
identifier- string
- Required
- Identifier of the code.
fields- array
application/json{ "fields": [ "name", "identifier" ] }
-
application/json
{ "identifier": "string", "name": "string", "description": "string" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Languages Available
Lists of available languages. Includes language identifier, name, direction and other relevant metadata.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported. filters- array
- Optional
- Select which projects and languages to receive in your response. Sent as one
filtersquery parameter per filter, each a JSON object:?filters={"field":"is_part_of.identifier","value":"enwiki"}&filters={"field":"namespace.identifier","value":0}. Repeated filters combine as AND. A JSON array in a single value returns422 Unprocessable Entity.
-
application/json
[ { "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
fields- array
filters- array
application/json{ "fields": [ "name", "identifier" ], "filters": [ { "field": "identifier", "value": "en" } ] }
-
application/json
[ { "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Language Info
Information on specific language. Includes identifier, name, direction and other relevant metadata.
identifier- string
- Required
- Identifier of the language.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported.
-
application/json
{ "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
identifier- string
- Required
- Identifier of the language.
fields- array
application/json{ "fields": [ "name", "identifier" ] }
-
application/json
{ "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Projects Available
List of available projects. Includes project identifier, name, language and other relevant metadata.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported. filters- array
- Optional
- Select which projects and languages to receive in your response. Sent as one
filtersquery parameter per filter, each a JSON object:?filters={"field":"is_part_of.identifier","value":"enwiki"}&filters={"field":"namespace.identifier","value":0}. Repeated filters combine as AND. A JSON array in a single value returns422 Unprocessable Entity.
-
application/json
[ { "identifier": "enwiki", "code": "wiki", "name": "Wikipedia", "url": "https://en.wikipedia.org", "in_language": { "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
fields- array
filters- array
application/json{ "fields": [ "name", "identifier" ], "filters": [ { "field": "identifier", "value": "enwiki" } ] }
-
application/json
[ { "identifier": "enwiki", "code": "wiki", "name": "Wikipedia", "url": "https://en.wikipedia.org", "in_language": { "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Project Info
Information on specific project. Includes identifier, name, language and other relevant metadata.
identifier- string
- Required
- Project identifier.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported.
-
application/json
{ "identifier": "enwiki", "code": "wiki", "name": "Wikipedia", "url": "https://en.wikipedia.org", "in_language": { "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
identifier- string
- Required
- Project identifier.
fields- array
application/json{ "fields": [ "name", "identifier" ] }
-
application/json
{ "identifier": "enwiki", "code": "wiki", "name": "Wikipedia", "url": "https://en.wikipedia.org", "in_language": { "identifier": "en", "name": "English", "alternate_name": "English", "direction": "ltr" } } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Namespaces Available
List of available namespaces. Includes name, identifier and description.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported. filters- array
- Optional
- Select which projects and languages to receive in your response. Sent as one
filtersquery parameter per filter, each a JSON object:?filters={"field":"is_part_of.identifier","value":"enwiki"}&filters={"field":"namespace.identifier","value":0}. Repeated filters combine as AND. A JSON array in a single value returns422 Unprocessable Entity.
-
application/json
[ { "identifier": 0, "name": "Article", "description": "The Article namespace, also known as the main or mainspace, is where a project's primary content resides, whether articles, entries, or main documents depending on the Wikimedia project." } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
fields- array
filters- array
application/json{ "fields": [ "name", "identifier" ], "filters": [ { "field": "identifier", "value": 0 } ] }
-
application/json
[ { "identifier": 0, "name": "Article", "description": "The Article namespace, also known as the main or mainspace, is where a project's primary content resides, whether articles, entries, or main documents depending on the Wikimedia project." } ] -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
Namespace Info
Information on specific namespace. Includes name, identifier and description.
identifier- integer
- Required
- Namespace identifier.
fields- array
- Optional
- Select which fields to receive in your response, using JSON dot notation. Sent as one
fieldsquery parameter per field:?fields=name&fields=identifier. A comma-separated list in a single value is not supported.
-
application/json
{ "identifier": 0, "name": "Article", "description": "The Article namespace, also known as the main or mainspace, is where a project's primary content resides, whether articles, entries, or main documents depending on the Wikimedia project." } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
identifier- integer
- Required
- Namespace identifier.
fields- array
application/json{ "fields": [ "name", "identifier" ] }
-
application/json
{ "identifier": 0, "name": "Article", "description": "The Article namespace, also known as the main or mainspace, is where a project's primary content resides, whether articles, entries, or main documents depending on the Wikimedia project." } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" } -
application/json
{ "message": "string", "status": "integer" }
