Overall Stats API

Description

The Overall Stats API allows users to retrieve various statistical data about a domain. The request must include an API key for authentication and a query parameter specifying the domain. Other parameters are optional and can be used to exclude certain parts of the statistics.

Endpoint

POST /api/get_overall_stats.php

Required Headers

Name
Description

Content-Type

Must be set to application/json

Parameters

Name
Type
Required
Default
Description

query

string

Yes

N/A

The domain to query statistics for

apikey

string

Yes

N/A

The API key for authentication

exclude_country_stats

int

No

0

Exclude country statistics (0 or 1)

exclude_top_urls_customers

int

No

0

Exclude top URLs for customers (0 or 1)

exclude_top_urls_employees

int

No

0

Exclude top URLs for employees (0 or 1)

exclude_timeline_for_customers

int

No

0

Exclude timeline for customers (0 or 1)

exclude_timeline_for_employees

int

No

0

Exclude timeline for employees (0 or 1)

Sample Request

Request URL

POST /api/get_overall_stats.php

Example Request Body

Example Success Response

Example Error Response

Code Examples

Curl Example

Python Example