Key facts
- The Hospital API contains about 113,948 records.
- Brazil accounts for 32.9% of the dataset.
- Argentina accounts for 19.3% of the dataset.
- The dataset includes hospital locations in Recife, Brazil.
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 Recife).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/hospital/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 | Hours | Latitude | Longitude |
|---|---|---|---|---|---|
| Al-TABIB DISPENSARY | Tanzania | — | — | -6.17088 | 39.22489 |
| shaurimoyo hospital | Tanzania | — | — | -6.15674 | 39.2078 |
| Misaili Hospital | Tanzania | limited | — | -6.15537 | 39.23641 |
| District Hospital | Tanzania | — | — | -6.1685 | 39.28583 |
| Kivunge | Tanzania | no | — | -6.19299 | 39.30491 |
| Jendele hospital | Tanzania | no | — | -6.17769 | 39.37297 |
| Kwa baniani hospital | Tanzania | no | — | -6.16384 | 39.34842 |
| Ifa dispensary | Tanzania | yes | 24 hours | -6.14505 | 39.22406 |
| Jeshini hospital | Tanzania | yes | 24 hours | -6.12087 | 39.21657 |
| Kwagoa dispensary | Tanzania | yes | 24/7 | -6.11244 | 39.22516 |
Hospital location data
This dataset represents hospitals and other medical facilities mapped in OpenStreetMap. It includes named places such as hospitals and dispensaries, with geographic coordinates and available map tags.
Developers, researchers and data buyers can use the API to build facility maps, study access to healthcare or enrich geographic analyses. The source is OpenStreetMap contributors, under the ODbL.
Geographic coverage
The dataset contains about 113,948 records. Brazil accounts for 32.9% of coverage, followed by Argentina at 19.3%, Bolivia at 10% and Ecuador at 7.1%.
Other represented countries include Tanzania, Burundi, Zambia and South Africa. Covered cities include Recife, Rio de Janeiro, Salvador, Lubango and Brasília. The coverage figures describe the dataset, not the completeness of hospital listings in each place.
Fields in each record
Records include latitude and longitude, OpenStreetMap properties, source, name and settlement class. Coordinates, properties, source and settlement class are present in all records; name is present in 96%.
Contextual fields include estimated population within 1 km, flood zone and climate group. Land-use categories are present in 43% of records. OpenStreetMap tags may also include details such as wheelchair access or opening hours when mapped.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetnameName of the placesettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate groupland_use_categoriesLand use
Query and download options
Filter records by region, radius, date or fields to focus an analysis on a place or subset of attributes. Stream results for live queries, or use a bulk download when you need a whole dataset.
Available formats are JSON, GeoJSON, CSV and Parquet. Use the format that fits your application, mapping workflow or data-analysis tools.
What you can build
Map hospitals and dispensaries in cities such as Recife or Dar es Salaam, and compare mapped facility locations across regions.
Analyze proximity between medical facilities and nearby population, or identify areas that may warrant further healthcare-access research.
Combine facility locations with flood-zone and climate-group fields for geographic risk analysis.
Build location search and mapping experiences using facility names, coordinates and available OpenStreetMap tags.
Compare settlement classes and land-use context around mapped medical facilities.
Access and pricing
The data is available in JSON, GeoJSON, CSV and Parquet. An API key is used for access, and a free tier is available to get started.
Paid plans provide higher limits and bulk downloads. Pricing is not stated here; check Outerview for current plan details.
Frequently asked questions
Is there an API for hospital locations in Brazil?
Yes. The Hospital API includes records in Brazil, which accounts for 32.9% of the dataset. Records can include facility names, coordinates and OpenStreetMap tags, along with contextual geographic fields.
How many hospital records does the API contain?
The dataset contains about 113,948 records. This is an approximate total, and it describes the dataset rather than guaranteeing complete coverage of every hospital or medical facility.
How often is the hospital data updated?
The available information does not specify an update schedule. The data source is OpenStreetMap contributors, so check Outerview's current dataset details if you need to confirm freshness for a particular use.
What fields does the Hospital API return?
Records include latitude, longitude, OpenStreetMap properties, source, name and settlement class. Additional fields describe nearby population, flood zone, climate group and land-use categories. Some OpenStreetMap tags, such as wheelchair access or opening hours, may be present when mapped.
Can I filter hospital data by city or region?
Yes. You can filter by region and focus on places such as Recife, Rio de Janeiro or Salvador. You can also select fields for your query. The dataset's geographic coverage should not be treated as proof that every facility in a place is included.
Can I search for hospitals within a radius?
Yes. Radius filtering can narrow results to locations around an area of interest. Hospital records include latitude and longitude, so the returned locations can support proximity analysis and map displays.
Can I download the hospital dataset as GeoJSON or CSV?
Yes. Available formats include GeoJSON and CSV, as well as JSON and Parquet. Bulk downloads are available on paid plans, which also provide higher limits.
Does the API include wheelchair access and opening hours?
Those details may appear in the OpenStreetMap properties when they have been mapped. Sample records include wheelchair access and opening hours, but these tags are not listed as guaranteed fields for every hospital.
Start building with the Hospital API
Free to try. Paid plans raise limits and unlock bulk downloads.