Places API

Town Place API

The Town Place API returns named towns and places with coordinates and contextual data, covering about 104,106 records. It includes place labels and OpenStreetMap tags alongside settlement, climate, population, flood-risk, and selected land and census attributes. Developers can use the records to build location search, mapping, and regional analysis products.

Mexico, Indonesia · 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": "town place",
    "region_id": "142946",
    "limit": 50
  }'

Key facts

  • The Town Place dataset contains about 104,106 records.
  • Mexico accounts for 50.6% of the dataset's coverage.
  • Indonesia accounts for 20.1% of the dataset's coverage.
  • The United States accounts for 11.8% of the dataset's coverage.

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 (the example searches Hempstead).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/town-place/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
CastañosMexico26.79433-101.4287
El MolinoMexico29.19339-107.40758
NamiquipaMexico29.25069-107.41507
FronteraMexico26.92555-101.45229
Colonia Los JagueyesMexico29.21226-107.05832
CrucesMexico29.43353-107.38823
Benjamín HillMexico30.16965-111.11263
CarbóMexico29.6838-110.95761
RayónMexico29.71184-110.56728
BaviácoraMexico29.71336-110.16188

Overview

This dataset represents named towns and places, typically shown as a location label, sign, or recognizable local landmark. Records are sourced from OpenStreetMap contributors.

Developers and data buyers can use it to locate named places and combine their coordinates with settlement, population, climate, flood, and other contextual attributes.

Coverage

The dataset contains about 104,106 records. Mexico accounts for 50.6% of coverage, Indonesia 20.1%, and the United States 11.8%.

Other represented countries include Guatemala, Papua New Guinea, Australia, East Timor, and China. State and regional coverage includes Oaxaca, East Java, Puebla, Veracruz, and Illinois.

Fields

Each record includes a place name, latitude, longitude, OpenStreetMap properties, source dataset, settlement class, and climate group. Population is represented by ghsl_pop_1km_2020, which reports the number of people living around the place.

Additional attributes include flood_zone, tree canopy percentage, median household income in USD (2024 dollars), median home value in USD, and land_use_categories. Name, coordinates, properties, source, settlement class, climate group, population, and flood zone are filled for all records; tree canopy is filled for 82%, household income for 75%, home value for 74%, and land use for 40%.

  • nameName of the place
  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • nlcd_tree_canopy_pctTree cover (%)
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)
  • land_use_categoriesLand use

Queries

Use region or radius filters to find places within a geographic area, date filters where applicable, and field selection to request the attributes your application needs. Stream results for live queries or use bulk downloads for whole datasets.

Available data formats are JSON, GeoJSON, CSV, and Parquet. An API key is used to access the API.

Use cases

Build place-name search and map-label features using names and coordinates. Enrich local directories or mapping products with settlement class, climate group, and OpenStreetMap tags.

Compare population and flood-risk context around named places. Support regional planning and market analysis with available household-income, home-value, canopy, and land-use attributes.

Pricing

The API offers a free tier for evaluation and paid plans for higher limits and bulk downloads. No prices are stated here.

Access uses an API key, and data is available in JSON, GeoJSON, CSV, and Parquet.

Frequently asked questions

Is there an API for named towns and places?

Yes, the Town Place API provides records for named towns and places. It covers about 104,106 locations and includes names, coordinates, and contextual attributes such as settlement class, climate group, and flood risk.

Which countries are covered by the Town Place API?

The dataset covers places in multiple countries, with the largest shares in Mexico, Indonesia, and the United States. Mexico accounts for 50.6% of records, Indonesia 20.1%, and the United States 11.8%.

What fields does the Town Place API return?

Records include a place name, latitude, longitude, OpenStreetMap properties, source, settlement class, climate group, population, and flood zone. Additional fields can include tree canopy, household income, home value, and land-use categories.

Can I get coordinates for each place?

Yes, every record has latitude and longitude. Both coordinate fields are filled for all records, so they can be used to plot places or support geographic searches.

How often is the Town Place data updated?

The available dataset information does not specify an update schedule. The data is sourced from OpenStreetMap contributors, but you should not assume a particular refresh frequency without checking current product documentation.

Can I filter places by region or radius?

The API is intended for geographic queries, including searches by region or radius. The dataset includes coordinates and country and regional coverage, allowing you to identify places within a chosen area.

What formats are available for Town Place data?

The API provides JSON, GeoJSON, CSV, and Parquet formats. These options support application queries, geospatial workflows, and analysis of larger datasets.

Does every Town Place record include income and land-use data?

No, those fields are not complete across the dataset. Household income is filled for 75% of records, while land-use categories are filled for 40%; names and coordinates are available for all records.

Start building with the Town Place API

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