Get Domain Statistics
get_domain_statsRetrieve website overview metrics and traffic history for any domain. Choose between domain-specific or brand-level data.
Instructions
Website overview metrics and traffic history. GET /api/v1/websites/:domain?brand=0|1
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | 0=domain overview, 1=brand overview. | |
| domain | Yes | Domain (e.g. example.com). | |
| language | No | Language ID or code. | |
| location | No | Geo ID or ISO. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Domain metrics, trends, or keyword records. | |
| page | No | Current one-based page. | |
| error | No | Human-readable error when success is false. | |
| total | No | Total matching domain keywords. | |
| domain | No | Normalized domain name. | |
| success | Yes | Whether the request completed successfully. | |
| has_more | No | Whether another page is available. |