## Get Stats By Project

| **Get Stats By Project** |                                                                                        |
| ------------------------ | -------------------------------------------------------------------------------------- |
| Description              | Get the current stats (number of clicks, completes, fails, etc) of an existing project |
| Request URL              | *Prodege Base URL +* /project-stats-by-id                                              |
| Request Method           | <mark style="background-color:green;">GET</mark>                                       |

| Request Parameters       |                |                                                                                                            |           |
| ------------------------ | -------------- | ---------------------------------------------------------------------------------------------------------- | --------- |
| Parameter Name           | Parameter Type | Description                                                                                                | Required? |
| apik                     | String         | Your API Key.                                                                                              | Yes       |
| request\_date           | Numeric        | Timestamp in milliseconds (see [Authentication](https://developer.prodege.com/demand/authentication)).     | Yes       |
| signature                | String         | The signature of your request (see [Authentication](https://developer.prodege.com/demand/authentication)). | Yes       |
| prodege\_project\_id   | Numeric        | The ID that uniquely identifies the project in the Prodege system.                                         | Yes       |

| Response Parameters      |                |                                               |
| ------------------------ | -------------- | --------------------------------------------- |
| Parameter Name           | Parameter Type | Description                                   |
| *return\_status*        | String         | The return status for this api call           |
| prodege\_project\_id   | Numeric        | The id that uniquely identifies this project  |
| project\_name          | String         | The name of the project                       |
| status                   | String         | The current status of the project             |
| project\_url           | String         | The redirect URL of the project               |
| loi                      | Numeric        | The given length of interview for the project |
| cpi                      | Numeric        | Only when automated pricing is enabled        |
| *lifetime\_stats*      | String         | JSON container for lifetime stats             |
| *daily\_stats*         | String         | JSON container for daily stats                |

| *lifetime\_stats Model* |               |                                                                                        |
| ----------------------- | ------------- | -------------------------------------------------------------------------------------- |
| Property Name           | Property Type | Description                                                                            |
| survey\_entries         | Numeric       | The number of clicks this project has received                                         |
| completes               | Numeric       | The number of completes this project has received                                      |
| billable\_completes     | Numeric       | The number of billable completes (including reconciliations) this project has received |
| fails                   | Numeric       | The number of terminates this project has received                                     |
| overquotas              | Numeric       | The number of overquotas this project has received                                     |
| current\_ir             | Numeric       | The calculated incidence rate of this project                                          |
| median\_loi             | Numeric       | The calculated median length of interview (completes) of this project                  |
| total\_est\_revenue     | Numeric       | Total project costs                                                                    |

| *last\_24hr\_stats, last\_12hr\_stats, last\_6hr\_stats, last\_1hr\_stats Models* |               |                                                                                                |
| --------------------------------------------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------- |
| Property Name                                                                     | Property Type | Description                                                                                    |
| entries                                                                           | Numeric       | The number of clicks this project has received in the given time period                        |
| completes                                                                         | Numeric       | The number of completes this project has received in the given time period                     |
| dqs                                                                               | Numeric       | The number of terminates this project has received in the given time period                    |
| oqs                                                                               | Numeric       | The number of overquotas this project has received in the given time period                    |
| ir                                                                                | Numeric       | The calculated incidence rate of this project in the given time period                         |
| loi                                                                               | Numeric       | The calculated median length of interview (completes) of this project in the given time period |
| revenue                                                                           | Numeric       | The total project costs of this project in the given time period                               |
