API ReferenceGoogle Maps Scraper
Import to Lead List
Import Google Maps scraper results into a Hermes lead list
Import to Lead List
Import scraper results into a Hermes lead list.
curl -X POST https://api.hermes.camie.ai/v1/google-maps-scraper/runs/5/import-to-lead-list \
-H "Authorization: Bearer hermes_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"leadListId": 40,
"requireEmail": false,
"includePhoneOnly": true,
"includeGenericEmails": true,
"minValidationScore": 0,
"maxLeadsPerCompany": 2
}'Request Body
| Field | Type | Default | Description |
|---|---|---|---|
leadListId | number | Run leadListId | Target lead list |
requireEmail | boolean | true | Skip items without an importable email |
includePhoneOnly | boolean | false | Create a phone-only business contact when no email exists |
includeGenericEmails | boolean | false | Allow generic addresses such as info@ or contact@ |
minValidationScore | number | 70 | Minimum email validation score |
maxLeadsPerCompany | number | 3 | Maximum contacts imported per company |
limit | number | 500 | Maximum run items to process |
Response
{
"success": true,
"message": "Google Maps scraper run imported to lead list",
"data": {
"runId": 5,
"leadListId": 40,
"importedLeads": 1,
"importedCompanies": 1,
"skippedItems": 1
}
}Hermes preserves provenance on imported leads, including the scraper run ID, Maps URL, search string, location query, and website contact source when present.