Email Count API
This endpoint allows you to count the number of emails we have stored in our database for a given domain.
ℹ️
This endpoint is free to use.
Endpoint
POST https://api.prospeo.io/email-count
curl -X POST \
 -H "Content-Type: application/json" \
 -H "X-KEY: your_api_key" \
 -d '{"domain": "intercom.com"}' \
 "https://api.prospeo.io/email-count"Parameters
The following parameter is required:
| Parameter | Type | Description | 
|---|---|---|
| domain | string | The domain for which to count the emails. Can be in the form of a full website URL or just a domain. | 
Response
A successful request will return the following information:
{
    "error": false,
    "response": {
        "count": 845
    }
}| Property | Type | Description | 
|---|---|---|
| error | boolean | Indicates if an error has occurred. If false, the request was successful. Iftrue, an error has occurred. Please check our general error message for more details. | 
| count | integer | The total number of emails that we have linked to the given domain in our database. | 
Error handling
Error messages follow the general structure as explained in the Error Codes section.
ℹ️
If you need further assistance, feel free to contact us at [email protected].
Response time
The response time for this endpoint is nearly instantaneous, and it will not exceed 500 milliseconds.