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.
group_by
Enables showing daily, monthly or yearly usage stats (instead of showing total stats)
day
, month
, year
https://data.oxylabs.io/v2/stats?group_by=day
date_from
The lower date boundary. Best used together with date_to
.
Any date in Y-m-d
format.
https://data.oxylabs.io/v2/stats?date_from=2022-01-17
date_to
The upper date boundary. Best used together with date_from
.
Any date in Y-m-d
format.
https://data.oxylabs.io/v2/stats?date_to=2022-06-17
source
Lets you get usage statistics of a single source
of your choice.
Any valid source
value.
https://data.oxylabs.io/v2/stats?source=universal
product
This filter is for legacy users (accounts created before September 25, 2024).
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.
serp_scraper_api
;
ecommerce_scraper_api
; web_scraper_api
https://data.oxylabs.io/v2/stats?product=serp_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
data
The container of all statistics data.
JSON object
products
The list of product-level statistics objects.
JSON array
all_count
The total amount of results.
Integer
mode_callback_count
The amount of results, fulfilled via Push-Pull integration method.
Integer
mode_realtime_count
The amount of results, fulfilled via Realtime integration method.
Integer
mode_superapi_count
The amount of results, fulfilled via Proxy Endpoint integration method.
Integer
contenttype_parsed_count
The amount of parsed results.
Integer
contenttype_html_count
The amount of HTML results.
Integer
render_count
The amount of results, fulfilled with JavaScript execution.
Integer
geo_location_count
The amount of results that were fulfilled with a user-defined geo_location
parameter value.
Integer
average_response_time
The average response time (seconds).
Float
request_traffic
The total request traffic (bytes).
Integer
response_traffic
The total response traffic (bytes).
Integer
title
Product or source name.
String
sources
The list of sources, belonging to a particular product.
String
parsed
The indication whether the data in the JSON object pertains to parsed results.
Boolean
Last updated