Connection check
verified live · 28h ago
castles
Castles, fortresses, palaces and ruins worldwide: search, nearby, fame ranking, statistics. CC0.
Tools
7
GitHub stars
1
Installs / wk
—
Licence
MIT
Transport
streamable-http
Last checked
28h ago
Tools & capabilities
7 toolsRead from the running server on 28h ago.
castles_near
limitcategorylatitude*longitude*radius_km
List landmarks within a radius of a WGS84 coordinate, nearest first, each with distance_km. Radius defaults to 100 km (max 2,000). For "castles near <place>", geocode the place you… List landmarks within a radius of a WGS84 coordinate, nearest first, each with distance_km. Radius defaults to 100 km (max 2,000). For "castles near <place>", geocode the place yourself, then call this with its latitude/longitude.
get_castle
castle*
Fetch one landmark’s full record by slug (preferred, e.g. "palace-of-versailles") or exact name: coordinates, founding year and century, worldwide fame rank, photo URL with photogr… Fetch one landmark’s full record by slug (preferred, e.g. "palace-of-versailles") or exact name: coordinates, founding year and century, worldwide fame rank, photo URL with photographer credit and licence, Wikipedia link and its readership signals (Wikidata sitelinks, Wikipedia pageviews over the last 60 days summed across its largest language editions). Unsure of the slug? Call search_castles first.
get_statistics
Headline statistics computed live from the atlas: totals by type, top countries, busiest founding century, oldest landmarks, geographic extremes and the most famous entry. The sour… Headline statistics computed live from the atlas: totals by type, top countries, busiest founding century, oldest landmarks, geographic extremes and the most famous entry. The source for claims like "which country has the most castles" or "when were castles built"; the full write-up lives at thecastlemap.com/statistics/.
list_countries
Every country in the atlas with its landmark count, most first — answers "which country has the most castles" (Spain leads). Returns country name and ISO code per row; country page… Every country in the atlas with its landmark count, most first — answers "which country has the most castles" (Spain leads). Returns country name and ISO code per row; country pages are browsable from the countries_index URL.
random_castle
country
One random landmark with its full record, optionally limited to a country — for discovery, quizzes and "castle of the day" features. One random landmark with its full record, optionally limited to a country — for discovery, quizzes and "castle of the day" features.
search_castles
limitquery*countrycategory
Search the atlas’s 8,133 castles, fortresses, palaces and ruins by name (accent- and case-insensitive substring match). Optionally filter by country (name or ISO code) and category… Search the atlas’s 8,133 castles, fortresses, palaces and ruins by name (accent- and case-insensitive substring match). Optionally filter by country (name or ISO code) and category. Results come best-match-first, then by fame; each has coordinates, founding century, fame rank and links to its atlas page and Wikipedia. If nothing matches, retry with a shorter fragment of the name.
top_castles
limitcountrycategory