Core

Export

Download a job's leads as a CSV, XLSX, or JSON file.

Pass format to choose the type, and optionally repeat leadIds to export only a subset. The response is the file itself, with a Content-Disposition attachment header.

GET/v1/scrape-jobs/:id/export
FieldTypeDescription
formatcsv | xlsx | jsonOutput format (default csv).
leadIdsstring (repeatable)Optional. ?leadIds=a&leadIds=b to export only those leads.
cURL — download XLSX
curl "https://api.mapleads.ai/v1/scrape-jobs/JOB_ID/export?format=xlsx" \
  -H "Authorization: Bearer mapleads_xxx" \
  -o leads.xlsx

Start extracting leads today

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