---
title: Email Scraper - Analytics
slug: api-marketplace/email-scraper-analytics
createdAt: 2024-12-16T07:46:51.185Z
---

## Sample cURL:

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/email-search/get-analytics' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "startDate": "30/09/2024",
    "endDate": "08/10/2024"
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/email-search/get-analytics' \
--header 'Authorization: <auth-token>' \
--header 'Content-Type: application/json' \
--data '{
    "startDate": "30/09/2024",
    "endDate": "08/10/2024"
}'
```
:::

## Input Parameters:

| **Parameter** | **Type** | **Description**                                                                     | **Mandatory/Optional** |
| ------------- | -------- | ----------------------------------------------------------------------------------- | ---------------------- |
| startDate     | String   | Starting date from where the number of user consent are to be checked. (DD/MM/YYYY) | Mandatory              |
| endDate       | String   | Ending date till which the number of user consent are to be checked. (DD/MM/YYYY)   | Mandatory              |

## Sample Response:

```json
{
    "result": {
        "consentGiven": 4,
        "consentNotGiven": 3
    }
}
```

## Status Codes:

| **CODE**                                | **MESSAGE**                                                                                                 |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| 200<br />400<br />404<br />409<br />500 | Request Successful<br />Validation Error<br />Record Not Found<br />Upstream is down<br />Server Side Error |



