Bulk Email Search: Retrieve Info
Use this API endpoint to retrieve details and the current status of a previously created Bulk Email Search. It allows you to monitor progress or retrieve metadata about a specific search using the unique searchId.
Endpoint
https://api.anymailfinder.com
/v5.1/bulk/{searchId}Pricing
This endpoint is free to use.
Credits are only charged when you download the results for the first time.
Authentication
Include your API key using the Authorization header.
Refer to the Authentication page for setup instructions.
Code example
curl -X GET "https://api.anymailfinder.com/v5.1/bulk/{searchId}" \-H "Authorization: YOUR_API_KEY"
Request parameters
Path parameters
| Parameter | Example value | Description |
|---|---|---|
searchIdstring | "blk_123a4b5c" | The unique identifier of the bulk search. |
Response
200OK
The request was successful. The response includes detailed information about the specified bulk search, including its status, counts, and associated metadata. Use this data to monitor the progress of the search or verify its completion.
{"counts": {"failed": 0,"found_unknown": 0,"found_valid": 0,"not_found": 0,"total": 0},"created_at": "2025-01-08T13:25:36.457Z","credits_needed": 0,"decision_maker_category": "finance,ceo","file_name": "string","id": "string","paid": true,"started_running_at": "2025-01-08T13:25:36.457Z","status": "queued"}
| Property | Type | Description |
|---|---|---|
status | string | The current status of the bulk search. Possible values:
|
counts.failed | integer | Number of rows where the search failed. |
counts.found_unknown | integer | Number of rows with risky emails found. |
counts.found_valid | integer | Number of rows with valid emails found. |
counts.not_found | integer | Number of rows where no email was found. |
counts.total | integer | Total number of rows in the search. |
created_at | string | The datetime when the search was created. |
credits_needed | integer | The maximum credits required to download the results. Duplicate searches within a month are not charged. |
decision_maker_category | string | null | The decision maker categories specified during search creation. This is a comma-separated list. |
file_name | string | The label provided to identify this search. |
id | string | Unique identifier for this bulk search. |
paid | boolean | Indicates whether this search was paid for. |
started_running_at | string | null | The datetime when the search started processing. |
401Unauthorized
The request did not include a valid API key.
Refer to the Authentication page to ensure your API key is properly included.
{"error": "unauthorized","message": "Missing or invalid API key."}
404Not Found
This error indicates that the bulk search was not found.
Ensure the searchId provided in the URL is correct.
{"error": "not_found","message": "The requested resource could not be found."}
Need Help?
Our team is experienced with APIs and is here to help.
Chat with us.