Places API

Basketball Court API

The Basketball Court API returns mapped basketball court locations and place context across about 14,000 records. The data is sourced from OpenStreetMap contributors and includes coordinates, map tags, settlement classification, population context, flood risk, climate group, and land use where available. Developers can use it to build location-aware sports, mapping, and planning tools.

China, Germany · 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": "basketball court",
    "region_id": "170057",
    "limit": 50
  }'

Key facts

  • The Basketball Court API contains about 14,000 records.
  • China accounts for 39.7% of the records.
  • Germany accounts for 38.1% of the records.
  • Berlin and Munich are among the covered cities.

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 Berlin).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/basketball-court/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
NameCountryAddressLatitudeLongitude
NBA Hoop ParkChina—31.57661120.30801
篮球馆China—32.10227118.90209
杏林西路篮球场China—32.10227118.93678
篮球练习场China—31.37958121.26897
篮球架China—38.07481102.58547
Basketball courtPhilippines—9.62815123.84093
Сагсны талбайMongolia—44.48846110.04142
球生篮球公园China—35.76113115.00203
暴风篮球运动馆China开州中路 濮阳市35.77696115.02088
正方形球馆China—35.79297115.05254

Basketball court location data

The API covers mapped basketball courts and related places represented in OpenStreetMap. Records include coordinates and the OpenStreetMap tags associated with each place.

Mapping platforms, sports facility directories, site planners, and researchers can use the data to locate courts and add geographic or environmental context.

Global coverage with concentrations in China and Germany

The dataset contains about 14,000 records. China accounts for 39.7% of records and Germany for 38.1%, followed by France at 8.7%. Other listed coverage includes Russia, Japan, South Korea, the United Kingdom, and Switzerland.

Examples of covered cities include Berlin and Munich in Germany, and Baoding, Harbin, and Zhengzhou in China. The sample records also include places in the Philippines and Mongolia.

Basketball court record fields

Each record includes lat and lng coordinates, properties containing OpenStreetMap tags, source dataset, settlement_class, ghsl_pop_1km_2020, and flood_zone. These listed fields are filled for all records.

Records may also include climate_group, filled for 99% of records, and land_use_categories, filled for 68%. The tags in properties can provide place details such as names or addresses when those are present in OpenStreetMap.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use

Query by location and fields

Narrow results by region or radius and select the fields your application needs. The documented fields do not include a date field, so date-based filtering is not established by the available field list.

Use streaming for live queries or bulk download when you need a whole dataset. Available formats are JSON, GeoJSON, CSV, and Parquet.

What you can build with court data

Build a basketball court finder that displays nearby mapped courts and their OpenStreetMap tags.

Create sports facility directories organized by city, town, or countryside settlement class.

Assess local court access alongside population context from ghsl_pop_1km_2020.

Add flood-zone context to maps used for facility planning and risk screening.

Compare mapped court locations with climate group and land-use categories where those fields are available.

Formats and access

The data is available in JSON, GeoJSON, CSV, and Parquet. Access requires an API key, with a free tier available for evaluation.

Paid plans provide higher limits and bulk downloads. Pricing is not specified here.

Frequently asked questions

Is there an API for basketball court locations?

Yes, the Basketball Court API provides mapped basketball court records sourced from OpenStreetMap. It covers about 14,000 records globally and includes coordinates, OpenStreetMap tags, and geographic context fields.

How many basketball court records are available?

The dataset contains about 14,000 basketball court records. China represents 39.7% of the records and Germany 38.1%, with additional coverage across countries including France, Russia, and Japan.

Can I find basketball courts in Berlin?

Yes, Berlin is among the cities represented in the coverage data. Query by region to narrow results to a place, and use the coordinates in each record to map the returned court locations.

What fields does the Basketball Court API return?

Records include latitude, longitude, OpenStreetMap properties, source dataset, settlement class, nearby population context, and flood zone. Climate group and land-use categories are also available on most and some records, respectively.

Can I filter basketball courts by radius?

Yes, radius is a supported way to narrow queries by location. Records include latitude and longitude, so returned courts can be placed on a map or used in location-based applications.

How often is the basketball court data updated?

A specific update frequency is not provided. The data is sourced from OpenStreetMap contributors, but the available information does not state a refresh schedule or guarantee how often changes appear in the API.

Can I filter basketball court records by date?

Date filtering is not established by the available field list. The documented fields include coordinates and place context but do not list a date field, so check the API documentation for any date-related query options.

What formats are available for basketball court data?

The API offers JSON, GeoJSON, CSV, and Parquet formats. Use a format suited to your application, such as GeoJSON for geographic workflows or Parquet for data analysis.

Start building with the Basketball Court API

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