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": 58,
            "ns": 120,
            "title": "Item:Q42",
            "lastrevid": 43387,
            "modified": "2025-03-12T14:40:07Z",
            "type": "item",
            "id": "Q42",
            "labels": {
                "en": {
                    "language": "en",
                    "value": "Botswana"
                }
            },
            "descriptions": {
                "en": {
                    "language": "en",
                    "value": "sovereign state in Southern Africa"
                }
            },
            "aliases": {
                "en": [
                    {
                        "language": "en",
                        "value": "bw"
                    },
                    {
                        "language": "en",
                        "value": "\ud83c\udde7\ud83c\uddfc"
                    },
                    {
                        "language": "en",
                        "value": "Republic of Botswana"
                    },
                    {
                        "language": "en",
                        "value": "Lefatshe la Botswana"
                    },
                    {
                        "language": "en",
                        "value": "BOT"
                    }
                ]
            },
            "claims": {
                "P1": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P1",
                            "hash": "b70714ad88a9860c0db1ba53c6e42ae3b0b8dd0e",
                            "datavalue": {
                                "value": "https://www.wikidata.org/entity/Q963",
                                "type": "string"
                            },
                            "datatype": "url"
                        },
                        "type": "statement",
                        "id": "Q42$DA5CF994-C5CC-477E-B6D8-35A9F98A9714",
                        "rank": "normal"
                    }
                ],
                "P13": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P13",
                            "hash": "f63824a96d98af4a7c4e8b7f8375960b2af176f8",
                            "datavalue": {
                                "value": {
                                    "latitude": -22.2,
                                    "longitude": 23.7,
                                    "altitude": null,
                                    "precision": 0.1,
                                    "globe": "http://www.wikidata.org/entity/Q2"
                                },
                                "type": "globecoordinate"
                            },
                            "datatype": "globe-coordinate"
                        },
                        "type": "statement",
                        "id": "Q42$0E09E171-6DB0-4AC1-973F-CD51D33B4F9E",
                        "rank": "normal"
                    }
                ],
                "P19": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P19",
                            "hash": "22ccc5952fb232c8229a146edfe3b5664ae7a01f",
                            "datavalue": {
                                "value": {
                                    "time": "+1966-01-01T00:00:00Z",
                                    "timezone": 0,
                                    "before": 0,
                                    "after": 0,
                                    "precision": 9,
                                    "calendarmodel": "http://www.wikidata.org/entity/Q1985727"
                                },
                                "type": "time"
                            },
                            "datatype": "time"
                        },
                        "type": "statement",
                        "id": "Q42$FE2CD8B2-11EA-48A9-8EF5-9D51AFA69D2A",
                        "rank": "normal"
                    }
                ],
                "P4": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P4",
                            "hash": "d3e5d3c9f64cbe8d0869cb8e2f90704da2a467bb",
                            "datavalue": {
                                "value": {
                                    "entity-type": "item",
                                    "numeric-id": 1,
                                    "id": "Q1"
                                },
                                "type": "wikibase-entityid"
                            },
                            "datatype": "wikibase-item"
                        },
                        "type": "statement",
                        "id": "Q42$FD81083C-1BF6-4036-A26E-953203D355CD",
                        "rank": "normal"
                    }
                ]
            },
            "sitelinks": {}
        }
    },
    "success": 1
}