Usage Statistics
You can check your usage statistics free of charge by submitting an API request.
The endpoint below is for usage statistics querries :
Input
By default, the API will return unfiltered (all-time, all sources) usage statistics. If you like, you can get grouped and/or filtered stats.
You can combine two or more parameters in the same query, e.g., group stats by day and filter by source.
Parameter | Description | Valid values | URL example |
---|---|---|---|
| Enables showing daily, monthly or yearly usage stats (instead of showing total stats) |
|
|
| The lower date boundary. Best used together with | Any date in |
|
| The upper date boundary. Best used together with | Any date in |
|
| Lets you get usage statistics of a single | Any valid |
|
| Lets you get usage statistics of a single product of your choice. Only applicable if you use the same username to access more than one Scraper API. |
|
|
The below query returns monthly statistics.
Output
The v2/stats
output contains usage stats, including product-level stats (E-Commerce Scraper API / SERP Scraper API / Web Scraper API). The product-level stats are broken down into source-level stats, which are further broken down into separate statistics for HTML and parsed results. See the data dictionary section to find out the meaning of each output key.
Sample output
Data dictionary
Key | Description | Type |
---|---|---|
| The container of all submitted stats query parameters. | - |
| The container of all statistics data. | JSON object |
| The list of product-level statistics objects. | JSON array |
| The total amount of results. | Integer |
| The amount of results, fulfilled via Push-Pull integration method. | Integer |
| The amount of results, fulfilled via Realtime integration method. | Integer |
| The amount of results, fulfilled via Proxy Endpoint integration method. | Integer |
| The amount of parsed results. | Integer |
| The amount of HTML results. | Integer |
| The amount of results, fulfilled with JavaScript execution. | Integer |
| The amount of results that were fulfilled with a user-defined | Integer |
| The average response time (seconds). | Float |
| The total request traffic (bytes). | Integer |
| The total response traffic (bytes). | Integer |
| Product or source name. | String |
| The list of sources, belonging to a particular product. | String |
| The indication whether the data in the JSON object pertains to parsed results. | Boolean |
Last updated