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. 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 Berlin).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/basketball-court/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 | Address | Latitude | Longitude |
|---|---|---|---|---|
| NBA Hoop Park | China | — | 31.57661 | 120.30801 |
| 篮球馆 | China | — | 32.10227 | 118.90209 |
| 杏林西路篮球场 | China | — | 32.10227 | 118.93678 |
| 篮球练习场 | China | — | 31.37958 | 121.26897 |
| 篮球架 | China | — | 38.07481 | 102.58547 |
| Basketball court | Philippines | — | 9.62815 | 123.84093 |
| Сагсны талбай | Mongolia | — | 44.48846 | 110.04142 |
| 球生篮球公园 | China | — | 35.76113 | 115.00203 |
| 暴风篮球运动馆 | China | 开州中路 濮阳市 | 35.77696 | 115.02088 |
| 正方形球馆 | China | — | 35.79297 | 115.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.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate groupland_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.