How can I get the Infobox from a Wikipedia article by the MediaWiki API? [duplicate]

You can do it with a URL call to the Wikipedia API like this:

Replace the titles= section with your page title, and format=xmlfm to format=json if you want the article in JSON format.

Leave a Comment