Mixpanel
Product analytics: events, funnels, retention and profiles
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Service account usernameRequired
- Service account secretSecretRequired
- Data residencyOptionalIdentifier3 choices
Where to find them
- In Mixpanel: gear icon → “Organization Settings” → “Service Accounts” → “Add Service Account”.
- Give it a name, a role (“Consumer” is enough for querying; importing data or managing projects requires a higher one), the projects it will have access to and an expiry.
- Copy the username and the secret: the secret is shown only once. Choose the data residency of your projects (EU if they are used at eu.mixpanel.com). The query API allows 60 queries per hour and 5 at a time.
Tools (1)
Mixpanel API request
MIXPANEL_SEND_REQUESTAuthenticated call to the Mixpanel API (https://{server}). Any endpoint of the API is allowed. Provide project_id in every query (accessible projects appear in GET /api/app/me). Examples: GET /api/query/events/top?project_id=…&type=general (most frequent events today), GET /api/query/events/names?project_id=…&type=general&limit=100, GET /api/query/segmentation?project_id=…&event=Sign Up&from_date=2026-10-01&to_date=2026-10-15&unit=day (with on=properties["$browser"] it is broken down), GET /api/query/funnels/list?project_id=…, GET /api/query/funnels?project_id=…&funnel_id=…&from_date=…&to_date=…, GET /api/query/retention?project_id=…&from_date=…&to_date=…&born_event=…, GET /api/query/insights?project_id=…&bookmark_id=… (saved report), POST /api/query/engage?project_id=… (profiles; form with where), GET https://data-eu.mixpanel.com/api/2.0/export?project_id=…&from_date=…&to_date=…&limit=1000 (raw events, one JSON per line; in the US, data.mixpanel.com), POST https://api-eu.mixpanel.com/import?strict=1&project…
Required scopes
No scopes required
Input
Mixpanel API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

