Skip to content

Product analytics

Mixpanel mock API

Mixpanel ingestion, query and data-definitions APIs: event tracking and import with read-back, user and group profiles, lookup tables and data definitions.

At a glance

Operations
50
Stateful operations
20
Stateful resources
5
Webhook events
0
Vendor API version
Ingestion / Query / Data Definitions (no single version)
Verification
Spec-verified

How it works

Use Mixpanel without calling Mixpanel, Inc.

Authorization: Basic c2VydmljZS1hY2NvdW50OnNlY3JldA==

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Events5
User profiles2
Group profiles1
Lookup tables2
Data definitions and tags10

Webhooks

Events your handlers can receive

This API sends no webhooks.

Coverage

50 operations

20 of them are stateful. The largest groups:

GroupOperations
Other operations30
Data definitions and tags10
Events5
Lookup tables2
User profiles2
Group profiles1

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

6 operations cannot be checked against the specification.

Source and limits

License, source and limits

Vendor schemas pinned for the Query API (/api/query, 19 operations) and the Data Definitions platform API (25 operations) only. Orchestrator decision (SUBTASK-16): the Ingestion spec is NOT pinned because its operations sit at URL-fragment paths (/engage#profile-set, /groups#group-set) and declare text/plain integer responses that the conformance validator cannot check, so /track, /import, /engage, /groups and the lookup-table endpoints (GET /lookup-tables, PUT /lookup-tables/{id}) are overlay-defined (no vendor schema) with the responses the vendor documents: text 1 or 0 (or {status, error} with verbose=1) for /track, /engage and /groups, {code:200,status:OK,num_records_imported} for strict /import. Ingestion callers carry the project token in the body and no Authorization header, so these endpoints answer without credentials and events, user profiles and group profiles live in ONE tenant per Virtual Service (shared by every caller, including the Basic-auth query callers); lookup tables, data definitions and tags are isolated per Basic-auth service account. Events are counted per event name and ingestion day (UTC), not by the time property: segmentation, events/names and events/top read the counts, from_date, to_date, unit and where are ignored, and at most the first 5 events of a batch are counted; only the first event of a batch is de-duplicated by $insert_id (a repeat is accepted and counted once). Profile and group operations ($set, $set_once, $add, $append, $union, $unset, $delete) apply to the first entry of the request array; $union appends without removing duplicates, $remove is accepted but not applied, $unset removes up to 4 properties, and batch updates are not modelled. The engage query returns one page of up to all profiles (page_size is fixed at 1000, session_id is echoed, where and output_properties are ignored; distinct_id and data_group_id filters work). JSON bodies only (the form-encoded data=<base64> ingestion form is not accepted); EU and IN regions are not modelled. The cohort-sync webhooks Mixpanel sends are configured in its UI and are not part of the API, so none are emitted. Each collection holds up to 1 MiB; writes beyond that are dropped (x-maxoperf-vs-state: capacity). The vendor engage-query schema declares $distinct_id as an integer, so string distinct ids returned by it do not validate against it. Every other operation answers a schema-valid sample.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Mixpanel, Inc. Mixpanel is a trademark of its owner.