MediaWiki API result
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{
"entities": {
"Q42": {
"pageid": 237,
"ns": 120,
"title": "Item:Q42",
"lastrevid": 422,
"modified": "2025-06-16T11:25:20Z",
"type": "item",
"id": "Q42",
"labels": {
"en": {
"language": "en",
"value": "capital city"
}
},
"descriptions": {
"en": {
"language": "en",
"value": "primary governing city of a top-level (country) or first-level and second-level subdivision (country, state, province, regency, etc) political entity"
}
},
"aliases": {},
"claims": {
"P1": [
{
"mainsnak": {
"snaktype": "value",
"property": "P1",
"hash": "b70059305a463a6e0124c87685bc3706e865deba",
"datavalue": {
"value": "Q5119",
"type": "string"
},
"datatype": "external-id"
},
"type": "statement",
"id": "Q42$BCE9883B-AB1D-483E-ACAC-1B0798CCD95F",
"rank": "normal"
}
]
},
"sitelinks": {}
}
},
"success": 1
}