Key facts
- The Fence API contains about 14,325 mapped records.
- The United States accounts for 10.9% of records.
- Ukraine accounts for 7.9% of records.
- Latitude, longitude, OpenStreetMap properties, and source are filled for 100% 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 Strasbourg).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/fence/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.
| Name | Country | Wheelchair | Brand | Address | Hours | Website | Latitude | Longitude |
|---|---|---|---|---|---|---|---|---|
| Penitenciarul Bistrița | Romania | — | — | — | — | — | 47.14572 | 24.47901 |
| Irmak Cafe | Turkey | — | — | — | — | — | 41.17306 | 28.95741 |
| Figaro Kert | Hungary | limited | — | — | — | — | 47.51271 | 19.05455 |
| Jurki | Slovakia | — | Jurki | 68 Pri mlyne Bratislava 83107 SK | 24/7 | — | 48.19277 | 17.2188 |
| Materská škola Záhorácka | Slovakia | — | — | 1941/95 Záhorácka | — | https://epsturova.edupage.org | 48.44095 | 17.00849 |
| Karsikon Koirapuisto | Finland | — | — | — | — | — | 62.60098 | 29.82139 |
| Sjøstrup Hundeskov | Denmark | — | — | — | 24/7 | — | 56.80426 | 9.53969 |
| Hawskoven Hundeskov | Denmark | yes | — | — | — | — | 57.11765 | 8.63461 |
| Monteliusvägens hundrastgård | Sweden | yes | — | — | 24/7 | https://parker.stockholm/hundrastplatser | 59.32079 | 18.05965 |
| Parque Canino do Parque da Belavista | Portugal | — | — | — | — | — | 38.74814 | -9.1244 |
Fence data from OpenStreetMap
The API covers fence boundary structures represented in OpenStreetMap, including features commonly made from connected wood, metal, or wire sections. Records include location and OpenStreetMap tags where available.
Developers, mapping teams, and data buyers can use the data for geographic analysis, map enrichment, and infrastructure research. The source is OpenStreetMap contributors, under the ODbL.
Geographic coverage
The dataset contains about 14,325 records. The United States accounts for 10.9% of records, Ukraine 7.9%, Kenya 6.9%, and China 5.6%.
Listed regional coverage includes California, New York, Hong Kong, and Kyiv Oblast. Cities represented include Strasbourg, Ottawa, Phoenix, San Jose, and Los Angeles.
Fields in each record
Each record includes lat and lng coordinates, properties containing OpenStreetMap tags, and source identifying the source dataset. These fields are filled for 100% of records.
Records can also include ghsl_pop_1km_2020, the population within the associated area, and elevation_m, height above sea level. Both fields are filled for 99% of records.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetghsl_pop_1km_2020How many people live here (people)elevation_mHeight above sea level (m)
Query and download options
Query fence features by region or radius, narrow results by date where applicable, and select the fields you need. Stream results for live queries or use a bulk download when you need a whole dataset.
Available formats are JSON, GeoJSON, CSV, and Parquet.
What you can build with fence data
Use fence locations to enrich maps, compare mapped boundary features across regions, or build geographic inventories for planning and research.
Combine coordinates with population and elevation context to investigate where fences are mapped in relation to nearby populations and terrain. OpenStreetMap tags can also help classify features using their available properties.
Access and pricing
The API offers JSON, GeoJSON, CSV, and Parquet formats and requires an API key. A free tier is available; paid plans provide higher limits and bulk downloads.
Pricing is not stated here. The source data is from OpenStreetMap contributors under the ODbL.
Frequently asked questions
Is there an API for OpenStreetMap fence data?
Yes. The Fence API provides access to about 14,325 mapped fence records sourced from OpenStreetMap contributors. Records include coordinates, OpenStreetMap tags, and source information, with population and elevation context available for most records.
How many fence records does the API cover?
The API covers about 14,325 records. Coverage includes the United States, Ukraine, Kenya, and China, among other countries. Record totals describe this dataset and do not indicate how many fences exist on the ground.
Can I query fence data for California or New York?
Yes. California and New York are listed among the covered regions. You can query by region to work with relevant records; the dataset also includes city coverage such as Los Angeles and San Jose.
What fields does the Fence API return?
Records include lat, lng, properties, and source. Population context is provided in ghsl_pop_1km_2020 and elevation in elevation_m; each of those fields is filled for 99% of records, while the other four are filled for 100%.
Can I filter fence records by radius or date?
You can query by radius and date where applicable, as well as by region and selected fields. The listed record fields do not include a date field, so date filtering depends on whether date information is available for the query.
How often is the fence data updated?
The update frequency is not specified. The data source is OpenStreetMap contributors, so the API data represents mapped information from that source; check the API’s current dataset information for its refresh status.
Can I download the complete fence dataset?
Bulk downloads are available on paid plans. The API supports JSON, GeoJSON, CSV, and Parquet, so you can choose a format suited to your mapping or analysis workflow.
What license applies to the fence data?
The listed source is OpenStreetMap contributors under the ODbL. Review the license terms when using or redistributing data derived from this source.
Start building with the Fence API
Free to try. Paid plans raise limits and unlock bulk downloads.