Key facts
- The Pharmacy API contains about 278,883 records.
- Peru accounts for 27.4% of pharmacy records.
- Bolivia accounts for 26.7% of pharmacy records.
- Brasília accounts for 6.9% of records.
- Every record includes latitude and longitude.
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 Brasília).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/pharmacy/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.
| City | Name | Address | Country | Brand | Latitude | Longitude |
|---|---|---|---|---|---|---|
| Luís Eduardo Magalhães | Estrela Três | Rua da Sucupira | Brazil | — | -12.07583 | -45.76256 |
| Luís Eduardo Magalhães | Fernando Franconn Farmácia Econômica | Rua das Acacias | Brazil | — | -12.07655 | -45.76595 |
| Barreiras | Divaney bertunes drogaria rocha | Av. Ruy Barbosa | Brazil | — | -12.15209 | -44.99884 |
| — | Inkafarma | Avenida Victor Larco Herrera | Peru | Inkafarma | -8.13722 | -79.04949 |
| — | Mifarma | Avenida Fátima | Peru | Mifarma | -8.13146 | -79.0337 |
| — | Biofarma | — | Peru | — | -8.17129 | -79.01027 |
| — | Mifarma | 1366 Avenida Victor Larco Herrera Víctor Larco Herrera | Peru | Mifarma | -8.12826 | -79.0422 |
| — | Mifarma | Avenida Los Colibries | Peru | Mifarma | -8.12548 | -79.03975 |
| — | Inkafarma | Calle Santa Clara | Peru | Inkafarma | -8.12562 | -79.03949 |
| — | Boticas y Salud | Avenida Victor Larco Herrera | Peru | Boticas y Salud | -8.12513 | -79.03951 |
Pharmacy location data from OpenStreetMap
This dataset covers stores or counters that dispense medicines, including pharmacies represented in OpenStreetMap. Each record includes a location and available tags describing the place.
Developers and data buyers can use it to build pharmacy directories, map services, location analyses and tools that combine pharmacy locations with other geographic data. The source is OpenStreetMap contributors, under the ODbL license.
Coverage across countries and cities
The dataset contains about 278,883 pharmacy records. Peru accounts for 27.4% of records, Bolivia 26.7%, Brazil 23.8% and Ecuador 19.9%; it also includes locations in Chile, Russia, Argentina and Paraguay.
Coverage includes cities such as Brasília, Rio de Janeiro and Goiânia. Lima is the leading listed state-level area at 13.4% of records, followed by the Federal District at 6.9%.
Fields in each pharmacy record
Every record has latitude and longitude, OpenStreetMap properties, a source value and settlement class. The name is present in 92% of records, while street address is present in 38% and brand in 27%.
Records also include population within 1 km for 2020, flood zone and land-use categories; land-use categories are present in 42% of records. Climate group is present in 99%. These fields support geographic context alongside the pharmacy’s mapped details.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetnameName of the placeaddressStreet addressbrandBrand or chainsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate groupland_use_categoriesLand use
Filter and retrieve pharmacy data
Filter pharmacy records by region, radius, date or fields to focus a query on the locations and attributes your application needs. Stream for live queries, or use a bulk download when you need a whole dataset.
Choose JSON, GeoJSON, CSV or Parquet for your workflow. Location coordinates make the records suitable for mapping and spatial analysis.
What you can build with pharmacy data
Build a searchable pharmacy directory with mapped locations, names, addresses and brands where available. Compare pharmacy coverage across countries, cities or settlement classes.
Use pharmacy locations to support healthcare access analysis, identify areas for further location research, or enrich maps with population and land-use context. Flood-zone and climate-group fields can also help add environmental context to location planning.
Formats, access and plans
Access the API with an API key and choose JSON, GeoJSON, CSV or Parquet. A free tier is available for getting started.
Paid plans provide higher limits and bulk downloads for larger workloads. No prices are listed here; check Outerview’s current plan details for available options.
Frequently asked questions
Is there an API for pharmacy locations in Peru?
Yes. The Pharmacy API includes OpenStreetMap pharmacy locations in Peru, which accounts for 27.4% of the dataset. Records can include coordinates, names, addresses, brands and other place properties, depending on what is available for each mapped pharmacy.
How many pharmacy records does the API contain?
The dataset contains about 278,883 pharmacy records. Coverage is concentrated in Peru, Bolivia, Brazil and Ecuador, with additional locations in Chile, Russia, Argentina and Paraguay.
Does the Pharmacy API include pharmacies in Brazil?
Yes. Brazil accounts for 23.8% of the pharmacy records. Listed Brazilian coverage includes Brasília, Rio de Janeiro and Goiânia, as well as states such as São Paulo, Minas Gerais and Rio de Janeiro.
What fields does the Pharmacy API return?
Each record includes latitude, longitude, OpenStreetMap properties, source and settlement class. Other fields include name, address, brand, nearby population, flood zone, climate group and land-use categories. Some descriptive fields are not populated for every record.
Can I get pharmacy data as GeoJSON?
Yes. Available formats are JSON, GeoJSON, CSV and Parquet. GeoJSON is an option for workflows that use geographic features, while CSV and Parquet are available for tabular analysis.
Can I filter pharmacy data by location?
Yes. Queries can be filtered by region or radius, as well as by date or fields. This lets you focus on a geographic area or selected record attributes rather than retrieving all pharmacy locations.
How often is the pharmacy data updated?
The supplied dataset information does not specify an update schedule. The records come from OpenStreetMap contributors, so consult Outerview’s current dataset information for details about the freshness of the available data.
Can I download the full pharmacy dataset?
Yes. Bulk downloads are available on paid plans for retrieving whole datasets. You can choose from JSON, GeoJSON, CSV and Parquet, subject to the plan’s available limits and access terms.
Start building with the Pharmacy API
Free to try. Paid plans raise limits and unlock bulk downloads.