核心
匯出
將任務的名單下載為 CSV、XLSX 或 JSON 檔案。
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
| Field | Type | Description |
|---|---|---|
| format | csv | xlsx | json | Output format (default csv). |
| leadIds | string (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