Core

Scrape jobs

A scrape job runs one maps search (Google, Bing, or Apple) and extracts every matching business.

Creating a job requires an active subscription (or trial) and available credits. The job starts in pending and moves through running to completed or failed.

Create a job

POST/v1/scrape-jobs

Request body

FieldTypeDescription
providerstring?Map source: "google" (default), "bing", or "apple".
keywordstringRequired. The search query, e.g. "design agencies".
locationstring?Optional location to bias the search, e.g. "New York, NY".
langstring?Optional language code (default "en").
options.maxResultsnumber?Cap on extracted leads (default 200).
options.enrichEmailboolean?Enrich each lead with emails from its website (paid plans).
options.enrichSocialsboolean?Enrich each lead with social profiles (paid plans).

Job object

FieldTypeDescription
idstringJob id — use it to poll, read leads, or export.
providerstringMap source the job ran against: google · bing · apple.
statusstringpending · running · completed · failed · canceled.
keywordstringThe search query.
locationstring | nullThe search location.
languagestringThe language code used.
maxResultsnumber | nullThe configured result cap.
resultCountnumberNumber of leads extracted (once completed).
errorstring | nullFailure reason, if the job failed.
createdAtstringISO 8601 timestamp.

Read & manage jobs

GET/v1/scrape-jobs
GET/v1/scrape-jobs/:id
DELETE/v1/scrape-jobs/:id

GET /v1/scrape-jobs returns { "data": [ job, ... ] }. Only failed jobs can be deleted.

cURL — create
curl https://api.mapleads.ai/v1/scrape-jobs \
  -X POST \
  -H "Authorization: Bearer mapleads_xxx" \
  -H "Content-Type: application/json" \
  -d '{"provider":"bing","keyword":"coffee shops","location":"Brooklyn"}'

Start extracting leads today

Run your first search in under a minute. Export the results to CSV, Excel, or JSON.