核心

抓取任务

一次抓取任务运行一次地图搜索(Google、Bing 或 Apple),并提取所有匹配商户。

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"}'

今天就开始提取线索

一分钟内完成首次搜索。结果可导出为 CSV、Excel 或 JSON。