Get a website
One website by id or domain.
Related: List websites and Add a website in Websites.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
Headers
AuthorizationstringrequiredBearer followed by a site key, an account token or an OAuth access token with the analytics:read scope.
Response
The website.
{
"status": "string",
"data": {
"id": "string",
"domain": "string",
"name": "string",
"timezone": "string",
"currency": "USD",
"colour": "string",
"trackingId": "string",
"role": "viewer",
"archived": true,
"archivedAt": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.id | string | |
| data.domain | string | |
| data.name | string | |
| data.timezone | string | |
| data.currency | string | |
| data.colour | string | |
| data.trackingId | string | |
| data.role | string | null | null | |
| data.archived | boolean | |
| data.archivedAt | string (date-time) | null | null | |
| data.createdAt | string (date-time) |