Commons:Monuments database/API

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

You can access the Monuments database using an API

Location

[edit]

The api is hosted on Toolforge and accessible at https://heritage.toolforge.org/api/api.php

Examples

[edit]

Example to query the API with a JSON format result:

  • https://heritage.toolforge.org/api/api.php?action=search&format=json&srcountry=fr&srlang=fr&srmunicipality=[[Aix-en-Provence]]

Be careful in this example the municipality have brackets because of Wiki formatting.

Development

[edit]

The source code of the api is available in git


Monuments database
ErfgoedBot