Key facts
- The Castle API contains about 14,390 mapped records.
- Germany accounts for 32% of castle records, and France accounts for 24.8%.
- Coordinates are populated for 100% of records.
- Name is populated for 93% of records.
- Land-use categories are populated for 48% of records.
Quick start
- 1. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 3. Query by place, radius or date (the example searches Livarot-Pays-d'Auge).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/castle/download?format=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| City | Name | Country | Wheelchair | Website | Latitude | Longitude |
|---|---|---|---|---|---|---|
| Sorico | Castello di San Giorgio | Italy | no | — | 46.17481 | 9.38054 |
| — | Castello di Mesocco | Switzerland | — | https://www.castellomesocco.ch/ | 46.3802 | 9.23263 |
| Solto Collina | Castello di Dosso | Italy | — | — | 45.77906 | 10.02637 |
| Lovere | Il Castelliere | Italy | — | — | 45.81558 | 10.06353 |
| Bovegno | Castel Vanil | Italy | — | — | 45.79155 | 10.23797 |
| Lozio | Castello di Lozio | Italy | — | — | 45.99729 | 10.23407 |
| Nago-Torbole | Castel Penede | Italy | — | — | 45.87409 | 10.88608 |
| Ala | Castel Saiori | Italy | — | — | 45.80035 | 11.00583 |
| Mori | Osservatorio | Italy | — | https://www.anamori.org/trinceenagiagrom/index.php?lng=it | 45.86269 | 10.94912 |
| — | Κουλές στο Νιο Χωριό | Greece | — | — | 35.41672 | 24.14185 |
Overview
The Castle API provides mapped records for castles and related historic places, sourced from OpenStreetMap contributors. Developers, researchers and data buyers can use the records to build heritage maps, location tools and regional analyses.
Each record combines geographic coordinates with place properties and contextual data. The properties field contains the OpenStreetMap tags available for that place.
Coverage
The dataset contains about 14,390 records. Germany accounts for 32% and France 24.8%; Poland, Hungary, Switzerland and the Czech Republic are also among the leading countries represented.
Coverage includes regions such as Baden-Württemberg, Bavaria and Normandie, as well as cities and towns including Zülpich, Hilzingen and Beuron. The supplied sample also includes records in Italy, Switzerland and Greece.
Fields
Records include lat and lng coordinates, properties containing OpenStreetMap tags, source, name, and settlement_class, which identifies a city, town or countryside setting. Coordinates, properties, source and settlement_class are populated for all records; name is populated for 93%.
Geographic context fields include ghsl_pop_1km_2020 for nearby population, flood_zone for flood risk, climate_group for climate classification, and land_use_categories for land use. Climate group is populated for 99% of records and land use categories for 48%.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetnameName of the placesettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate groupland_use_categoriesLand use
Queries
Filter records by region, radius, date or selected fields to focus on a place or analysis area. Use stream access for live queries, or bulk download for whole datasets.
Available data formats are JSON, GeoJSON, CSV and Parquet. The dataset is based on OpenStreetMap contributor data, so source tags and place attributes can vary by record.
Use cases
Build heritage and tourism maps that locate castles and display their names and OpenStreetMap details.
Compare mapped castle coverage across countries, regions and cities, including Germany, France and Italy.
Enrich travel or local discovery products with nearby population and settlement context.
Assess castle locations alongside flood-zone, climate-group and land-use information.
Create research datasets for studying the geographic distribution of historic fortified places.
Pricing
The data is available in JSON, GeoJSON, CSV and Parquet. An API key is used for access; a free tier is available, with paid plans for higher limits and bulk downloads.
The source is OpenStreetMap contributors, licensed under the Open Database License (ODbL).
Frequently asked questions
Is there an API for castle locations?
Yes. The Castle API provides about 14,390 mapped castle records with coordinates and OpenStreetMap properties. Records cover multiple countries, with Germany and France making up the largest shares of the dataset.
Which countries have the most castle records?
Germany has the largest share at 32%, followed by France at 24.8%. Poland accounts for 7.6%, Hungary 7.2%, and Switzerland 5.9% of the records.
Can I get castle data for a specific region?
Yes. You can filter records by region to focus on areas such as Bavaria, Baden-Württemberg or Normandie. Coverage also includes individual cities and towns such as Zülpich, Hilzingen and Beuron.
What fields does the Castle API return?
Records include latitude, longitude, OpenStreetMap properties, source, name and settlement class. Additional context includes nearby population, flood zone, climate group and land-use categories. Not every optional field is populated for every record.
Does the API include castle coordinates?
Yes. Latitude and longitude are included and are populated for all records. The coordinates can be used to map castle locations or combine them with geographic context fields.
Can I download the castle dataset in bulk?
Yes. Bulk downloads are available for whole datasets on paid plans. Supported formats include JSON, GeoJSON, CSV and Parquet.
How often is the castle data updated?
The supplied dataset information does not specify an update schedule. The records are sourced from OpenStreetMap contributors, and the properties field contains the OpenStreetMap tags available for each place.
Can I use castle records for geographic analysis?
Yes. Records include coordinates and contextual fields such as flood zone, climate group, nearby population and land-use categories. Land-use categories are populated for 48% of records, so coverage for that field is incomplete.
Start building with the Castle API
Free to try. Paid plans raise limits and unlock bulk downloads.