---
title: "Account analytics overview"
method: POST
path: "/premium/analyticsOverview"
tags: ["Account actions"]
---

# Account analytics overview

`POST /premium/analyticsOverview`

## Request

- Base URL: `https://api.twittrapi.com`
- URL: `https://api.twittrapi.com/premium/analyticsOverview`
- Auth: API key in header `X-API-KEY`

The account analytics overview of your X account (needs X Premium).

Reference: https://www.twittrapi.com/docs/account-actions/premium-analyticsoverview

## Request body

- object
  - `cookie` string, required: Cookie header of your own logged-in X session: auth_token=...; ct0=... (guest_id is used when present). How to copy it: /docs/x-session.
  - `proxy` string, required: Your proxy, format http://user:pass@host:port. The requests to X go out through it. Used only for this request.

## Response `200`

X's AccountOverviewQuery response, passed through with X's status code and content type. Not wrapped in {status_code, response}.

- RawPassthrough: X's own JSON (raw format, the default), passed through unchanged. The shape is X's and can change; see https://www.twittrapi.com/docs/response-format.

## Other responses

- `400`: cookie is missing, the body is not valid JSON, the cookie has no ct0, or the proxy URL is invalid.
- `401`: Missing or unknown API key. Not charged.
- `402`: No balance left, or the trial expired. Not charged. Top up in the dashboard.
- `403`: Key deactivated, or the endpoint is not in your plan (trial keys and account actions). Not charged.
- `422`: proxy is missing.
- `429`: Rate limit for your key exceeded. Not charged. No Retry-After header: back off exponentially.
- `500`: Something failed on our side or between us and X. Refunded (400, 407, 408, 409 or a 5xx error are refunded). Retry with backoff.
- `502`: The request to X failed (for example through the proxy). Refunded.
- `default`: Any status X answers with: passed through.

---

[API](https://skmtc.dev/twittrapi/apis/twittrapi-api.md) · [All operations](https://skmtc.dev/twittrapi/apis/twittrapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/twittrapi/apis/twittrapi-api/revisions/0618e38b54c2?raw)
