OpenStreetMap POI Extractor avatar

OpenStreetMap POI Extractor

Pricing

$2.00 / 1,000 per poi extracteds

Go to Apify Store
OpenStreetMap POI Extractor

OpenStreetMap POI Extractor

Extract points-of-interest (cafes, restaurants, shops, estate agents, hotels, pharmacies, gyms, pubs) from OpenStreetMap via the public Overpass API. Filter by bounding box, point radius or UK postcode. ODbL data — free commercial reuse with attribution.

Pricing

$2.00 / 1,000 per poi extracteds

Rating

0.0

(0)

Developer

Tristan Evans

Tristan Evans

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 hours ago

Last modified

Features

Limited permissions

Share

Extract points-of-interest (POIs) from OpenStreetMap via the public Overpass API — cafes, restaurants, shops, estate agents, hotels, pharmacies, gyms, pubs and more — for lead generation, local business lists and market research.

Data

All data comes from OpenStreetMap and is licensed under the Open Database License (ODbL) — free to reuse commercially with attribution and share-alike.

Search modes

ModeDescriptionExample input
bboxPOIs inside a bounding box{ "mode": "bbox", "minLat": 51.49, "minLon": -0.14, "maxLat": 51.51, "maxLon": -0.10, "categories": "cafe,restaurant" }
pointPOIs within N metres of a lat/lon point{ "mode": "point", "lat": 51.5074, "lon": -0.1278, "radius": 500 }
postcodeUK postcode geocoded via postcodes.io, then radius search{ "mode": "postcode", "postcode": "SW1A 1AA", "radius": 500 }

Categories (comma-separated): cafe, restaurant, shop, estate_agent, hotel, pharmacy, gym, pub.

Output

Each record: osm_type, osm_id, lat, lon, name, category, brand, street, housenumber, postcode, city, country, phone, website, opening_hours, wheelchair.

Pricing

Pay-per-event: $0.005 per POI record extracted ($5 per 1,000 POIs). Apify keeps a 20% platform margin; you keep ~80% of each run fee. There is no listing fee, no monthly charge, and no free allowance — every POI record saved to the dataset is metered.

Example costs (owner's ~80% share):

  • 100 POIs: $0.40 listed ($0.32 to you)
  • 500 POIs: $2.50 listed ($2.00 to you)
  • 1000 POIs: $5.00 listed ($4.00 to you)

Local run

python main.py --check
python main.py --run --mode postcode --postcode SW1A1AA --radius 500 --categories cafe,restaurant
python main.py --earnings

--check validates the setup, --run performs a live extraction against the public Overpass API and prints the POIs found, --earnings reports lifetime earnings through the shared earnings report.

Attribution

Contains OpenStreetMap data © OpenStreetMap contributors, licensed under ODbL. Contains data from postcodes.io (https://postcodes.io/) used only for UK postcode geocoding.

Example output

Example input:

{
"mode": "postcode",
"postcode": "SW1A 1AA",
"radius": 300,
"categories": "cafe,restaurant,shop",
"maxResults": 3
}

One record per POI, saved to the Apify dataset. Example rows illustrate the output shape; values are typical of real OpenStreetMap entries near Westminster.

osm_typeosm_idlatlonnamecategorybrandstreethousenumberpostcodecitycountryphonewebsiteopening_hourswheelchair
Way1234567851.5007-0.1246The WolseleyrestaurantThe Wolseley160PiccadillyW1J 9DJLondonGB+44 20 7499 6996https://www.thewolseley.comMo-Su 08:00-23:00yes
Node9876543251.5014-0.1419Pret A MangercafePret A Manger23...SW1A ...LondonGB+44 20 7xxx xxxx...Mo-Fr 07:00-19:00yes
Way1122334451.5072-0.1275Tesco ExpressshopTesco.........LondonGB......Mo-Su 06:00-23:00no

Records with no value for a field (e.g. phone or opening_hours) have that field left null. Category is one of cafe, restaurant, shop, estate_agent, hotel, pharmacy, gym, pub.

FAQ

Q: What does it cost?
A: Pay-per-event on Apify Store: $0.005 per POI record extracted. Apify keeps a 20% platform margin; you keep ~80% of each run fee. There is no listing fee or monthly charge. No "first N free" allowance is set on this listing.

Q: Do I need an API key or an OpenStreetMap account?
A: No. It calls the public Overpass API directly (no key required) and geocodes UK postcodes via the free postcodes.io API.

Q: Which sources does it cover?
A: OpenStreetMap, worldwide — so it works anywhere, not just the UK. The postcode mode is UK-only because it uses postcodes.io.

Q: Can I use the data commercially?
A: Yes. OpenStreetMap data is under the Open Database License (ODbL): free to reuse commercially with attribution and share-alike (see the Attribution section).

Q: Why did my run return 0 POIs?
A: Try a wider radius, more categories, or drop the category filter. OpenStreetMap is volunteer-mapped, so some areas simply have few POIs of a given category.

Price comparison

OpenStreetMap POI Extractor (this actor) — public OSM data is free; pay-per-event on Apify Store at $0.005 per POI record extracted, ~80% to you after Apify's 20% margin, no listing fee or monthly charge. Listing price set by the owner on publication and shown on the Store page (Apify subscription/credits apply per your plan).

automation-lab/openstreetmap-poi-extractor — real rival listing (112 total users, 2,129 total runs); public rate card $0.005 per run start, not per POI.

Why this one — same data source (public Overpass API), so the differentiator is ease of use, UK postcode input, and the worked example table — not a price we can verify against the rival's hidden per-POI rate.

Also see

  • ../uk-food-hygiene-ratings/README.md — FSA food hygiene ratings ($0.003/record, first 50 free)
  • ../apify-uk-tender-tracker/README.md — UK public tenders from Find a Tender + Contracts Finder ($0.003/tender)
  • ../apify-uk-asbestos-register/README.md — HSE-licensed asbestos contractors ($0.005/contractor)
  • ../career-jobs/README.md — Greenhouse, Lever, Ashby, Workable, SmartRecruiters, Recruitee jobs ($3/1k jobs)
  • ../workday-jobs/README.md — every job from any Workday career site ($1/1k jobs)
  • ../contact-extractor/README.md — business emails, phones and socials per domain ($1.50/1k sites)
  • ../web-scraper/README.md — article titles, authors, dates, tags and CTA links ($2/1k articles)
  • ../domain-check/README.md — domain availability, RDAP, DNS and SPF/DMARC in bulk ($1/1k domains)