Commons:Monuments database/API

You can access the Monuments database using an API

Location

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

Examples

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

The source code of the api is available in git

Monuments database
ErfgoedBot
Category:Commons:Monuments database Category:Commons:Monuments database
Category:Commons:Monuments database