Pushbuild

OpenStreetMap Places API - Businesses & POIs by Area

Extract businesses and points of interest from OpenStreetMap for any city, neighbourhood, radius or bounding box: restaurants, shops, hotels, clinics, gyms and more, with address, phone, website, email, opening hours and coordinates.

$0.40 per 1,000 places

Get an API key

What it returns

Businesses and points of interest from OpenStreetMap, the open map built by millions of contributors. Data (c) OpenStreetMap contributors, available under the Open Database License; every row carries the attribution.

Common uses

Local lead lists, market and site-selection research, store locators, mapping. Pay per place.

Request

POST https://api.pushbuild.com/openstreetmap-places/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
categorieslist of stringsReady-made: restaurants, cafes, bars, hotels, shops, supermarkets, pharmacies, clinics, dentists, gyms, hairdressers, car_repair, lawyers, real_estate, attractions... or any OSM tag like shop=bakery or craft.
placeslist of stringsCity or neighbourhood names, e.g. Austin, Texas; Shoreditch, London.
nearlist of strings'lat,lon' centers for a radius search.
radiusMetersintegerRadius around each near point. Default: 1000.
boundingBoxstring'south,west,north,east'.
namedOnlybooleanSkip unnamed features. Default: true.
includeAllTagsbooleanAdd every raw OSM tag to each place. Default: false.
maxItemsPerAreaintegerPlaces per area and category. Default: 500.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/openstreetmap-places/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"categories": ["cafes"], "places": ["Williamsburg, Brooklyn"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.40 per 1,000 places. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.