v1

latestOpenAPI 3.0.3MIT2026-07-26104113247.1 KB
Export

Download Data

Every data point sent to Mixpanel is stored as JSON in our data store. The raw export API allows you to download your event data as it is received and stored within Mixpanel, complete with all event properties (including distinct_id) and the exact timestamp the event was fired. The raw export API has a rate limit of 60 queries per hour, 3 queries per second, and a maximum of 100 concurrent queries. If you exceed the rate limit, a 429 error will be returned.

get/export

Query parameters

project_idinteger

Required if using service account to authenticate request.

from_datestring required

The date in yyyy-mm-dd format to begin querying from. This date is inclusive and interpreted as UTC timezone for projects created after 1 January 2023 and current project timezone for projects created before 11 January 2023.

to_datestring required

The date in yyyy-mm-dd format to query to. This date is inclusive and interpreted as UTC timezone for projects created after 1 January 2023 and current project timezone for projects created before 11 January 2023.

limitinteger

Use this parameter if you want to limit the max number of events to be returned. Value cannot be over 100000.

eventstring
Example:["signup","purchase"]

The event or events that you wish to get data for, encoded as a JSON array (for example, ["signup","purchase"]).

wherestring

An expression to filter events by. More info on expression sequence structure can be found here

time_in_msboolean

Defaults to false which will export event timestamps with second-precision. Set to true to export event timestamps with millisecond-precision.

Headers

Accept-Encoding'gzip'

If set to gzip and the response body is > 1400 bytes, the response will be compressed with gzip, and Content-Encoding will be set to gzip.

Response

Success. The returned format is one event per line where each line is a valid JSON object, but the full return itself is JSONL.