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.

Query Params
integer

Required if using service account to authenticate request.

string
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.

string
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.

integer

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

string

The event or events that you wish to get data for, encoded as a JSON array.

string

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

boolean

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

Headers
string
enum

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.

Allowed:
Response

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain