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.

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "Moon Agreement",
                "pageid": 9,
                "size": 22926,
                "wordcount": 3548,
                "snippet": "...r Celestial Bodies and as part of the personnel of a spacecraft within the <span class='searchmatch'>meaning</span> of the Agreement on the Rescue of Astronauts, the Return of Astronauts and \n",
                "timestamp": "2018-10-29T20:28:27Z"
            },
            {
                "ns": 0,
                "title": "Vienna Convention on the Law of Treaties",
                "pageid": 20,
                "size": 62366,
                "wordcount": 9883,
                "snippet": "...treaty shall be interpreted in good faith in accordance with the ordinary <span class='searchmatch'>meaning</span> to be given to the terms of the treaty in their context and in the light of\n# A special <span class='searchmatch'>meaning</span> shall be given to a term if it is established that the parties so intended.\n",
                "timestamp": "2018-10-29T21:38:21Z"
            }
        ]
    }
}