Google Maps Scraper
Google Maps Extractor · Google Maps Lead Scraper · Google Maps Lead Extractor
Rust SDK to scrape Google Maps places (leads), reviews, and photos through a hosted Agent HTTP API. Powered by GMaps Lead Finder. This is not a local browser crawler — jobs run in the cloud scrape-and-enrich pipeline.
- crates.io:
google-maps-scraper-sdk - docs.rs: https://docs.rs/google-maps-scraper-sdk
- CLI:
gmaps-scraper
Get an API key
- Sign in at gmapsleadfinder.com.
- Use a plan with Agent API (Growth or higher) — see Pricing.
- Open Account → API key and copy your
gmf_…key.
Install
# or: cargo install google-maps-scraper-sdk --bin gmaps-scraper
Requires Rust 1.70+.
Quickstart
use ;
CLI:
From this repo:
Client API
| Method | Description |
|---|---|
Client::new(opts) |
From env / options |
me() |
Plan & credits |
create_job(keyword) |
Queue one-keyword leads job |
get_job(job_id) |
Poll leads status |
get_results(job_id, opts) |
Paginated leads rows |
scrape(keyword, opts) |
Create → poll → all leads rows |
create_reviews_job(place) |
Queue single-place reviews job |
get_reviews_job(job_id) |
Poll reviews status |
get_reviews_results(job_id, opts) |
Paginated review rows |
scrape_reviews(place, opts) |
Create → poll → all review rows |
create_photos_job(place) |
Queue single-place photos job |
get_photos_job(job_id) |
Poll photos status |
get_photos_results(job_id, opts) |
Paginated photo rows |
scrape_photos(place, opts) |
Create → poll → all photo rows |
Errors
Error variants: Authentication (401), PlanNotAllowed (403), InsufficientCredits (402), JobConflict (409), NotFound (404), BadRequest (400), Timeout, Api, Http, Json.
Limits
- Exactly one keyword per leads job; exactly one place per reviews or photos job
- One running job per user (
409if busy); run keywords/places sequentially - 1 credit = 1 place row; Growth+ required
Publish to crates.io
Links
| Resource | URL |
|---|---|
| Website | https://gmapsleadfinder.com |
| HTTP API | https://gmapsleadfinder.com/docs/api |
| crates.io | https://crates.io/crates/google-maps-scraper-sdk |
| Source | https://github.com/gmaps-lead-finder/google-maps-scraper |
License
MIT