What a response looks like
{"count": 20, "truncated": false, "items": [ … ]}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.
| Field | Type | Description |
|---|---|---|
categories | list of strings | Ready-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. |
places | list of strings | City or neighbourhood names, e.g. Austin, Texas; Shoreditch, London. |
near | list of strings | 'lat,lon' centers for a radius search. |
radiusMeters | integer | Radius around each near point. Default: 1000. |
boundingBox | string | 'south,west,north,east'. |
namedOnly | boolean | Skip unnamed features. Default: true. |
includeAllTags | boolean | Add every raw OSM tag to each place. Default: false. |
maxItemsPerArea | integer | Places per area and category. Default: 500. |
maxItems | integer | Maximum 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.
| Places | Cost |
|---|---|
| 1,000 | $0.40 |
| 10,000 | $4.00 |
| 100,000 | $40.00 |
| 1,000,000 | $400.00 |
| 2,500 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/openstreetmap-places. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want this data inside your own app or CRM? API integrations and data sync