Places API

Gate API

The Gate API returns about 29,053 mapped gate records from OpenStreetMap. Each record includes coordinates and OpenStreetMap tags, with population and elevation fields also available. Developers and data buyers can explore gate locations by geography, use stream queries for live lookups, or download data in JSON, GeoJSON, CSV and Parquet formats.

China, Japan · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "gate",
    "limit": 50
  }'

Key facts

  • The Gate API contains about 29,053 records.
  • China accounts for 19.7% of mapped gate records.
  • Shanghai represents 5.1% of records.
  • Elevation is available for 98% of records.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date.

Bulk download

GET https://api.outerview.ai/api/v1/beacon/gate/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
NameCountryLatitudeLongitude
1Chile-51.66816-72.52896
Gate 335Ireland53.42562-6.2422
Puerta 4Bolivia-17.41466-66.1788
Puerta 3Bolivia-17.41456-66.17891
Puerta 2Bolivia-17.41455-66.17893
Pre-embarqueArgentina-51.61192-69.30575
ArribosArgentina-32.91629-60.78034
EmbarquesArgentina-32.91718-60.78074
4Costa Rica9.99838-84.20215
5Costa Rica9.99803-84.20261

Overview

A gate is a movable barrier or entrance. This API provides mapped gate locations from OpenStreetMap, alongside location and contextual data for each record.

It is suited to developers building maps, location-based services and infrastructure analyses, as well as data buyers assessing mapped gate coverage.

Coverage

The dataset contains about 29,053 records. China accounts for 19.7% of mapped records, followed by Japan at 6.4%, and Turkey and the United Arab Emirates at 5.5% each.

Other listed coverage includes India, Indonesia, Singapore and Colombia. At the subnational level, Shanghai represents 5.1% of records, Beijing 3%, and Dubai 2.7%.

Fields

Each record includes lat and lng coordinates, both filled for all records, plus properties containing the OpenStreetMap tags for the place and source identifying the source dataset. Sample records show that names may appear in those tags.

ghsl_pop_1km_2020 gives the estimated population around the location and is filled for all records. elevation_m gives height above sea level in metres and is filled for 98% of records.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • ghsl_pop_1km_2020How many people live here (people)
  • elevation_mHeight above sea level (m)

Queries

Filter gate records by geographic region or radius, and select the fields needed for your application. The listed fields do not include a date field, so date-based filtering is not described for this dataset.

Use stream queries for live lookups or bulk downloads for whole-dataset analysis. Available formats are JSON, GeoJSON, CSV and Parquet.

Use cases

Add mapped gate locations to navigation, mapping and location-search products.

Assess gate proximity to population using the one-kilometre population field.

Combine gate coordinates and elevation with other geographic layers for site planning.

Compare mapped gate coverage across countries or subnational regions.

Use OpenStreetMap tags to distinguish named gates and other mapped details where available.

Pricing

Data is available in JSON, GeoJSON, CSV and Parquet. An API key is used to access the API.

A free tier is available, with paid plans for higher limits and bulk downloads. Prices are not stated here.

Frequently asked questions

Is there an API for gate locations?

Yes. The Gate API provides about 29,053 mapped gate records from OpenStreetMap. Records include coordinates and OpenStreetMap tags, with population and elevation fields also available. You can query the data geographically or download it in JSON, GeoJSON, CSV or Parquet.

Does the Gate API include gate locations in China?

Yes. China accounts for 19.7% of records in the dataset, the largest share among the listed countries. Japan accounts for 6.4%, while Turkey and the United Arab Emirates each account for 5.5%.

What fields does the Gate API return?

The listed fields are lat, lng, properties, source, ghsl_pop_1km_2020 and elevation_m. Coordinates, tags, source and population are filled for all records; elevation is filled for 98%. Sample records also show names and country labels, which may appear in OpenStreetMap tags.

Can I filter gate data by region or radius?

Yes. Gate records can be filtered by geographic region or radius. The dataset provides latitude and longitude for every record, supporting location-based queries. You can also select the fields needed for your use case.

Can I filter gate records by date?

The listed Gate API fields do not include a date field, so date-based filtering is not described for this dataset. The available fields cover coordinates, OpenStreetMap tags, source, nearby population and elevation.

How can I download the gate dataset?

You can use a bulk download for whole-dataset analysis. The available formats are JSON, GeoJSON, CSV and Parquet. The API also supports stream queries for live lookups; access uses an API key.

How many gate records are available?

The dataset contains about 29,053 gate records. Coverage is distributed across countries and regions, with China accounting for 19.7% of records and Shanghai for 5.1%.

How often is gate data updated?

An update frequency is not specified in the available dataset facts. The records come from OpenStreetMap contributors, and the listed fields describe location and context rather than update timestamps. Check the dataset information for current availability before relying on a particular refresh schedule.

Start building with the Gate API

Free to try. Paid plans raise limits and unlock bulk downloads.