Skip to main content

Mixpanel API Overview

Mixpanel provides a comprehensive set of APIs that allow you to integrate data collection, querying, and management capabilities into your applications.

API Categories

Ingestion API

Send events, manage user profiles, and track group data in real-time.
  • Events: Track user actions and behaviors
  • User Profiles: Manage individual user data
  • Groups: Organize users into groups
  • Lookup Tables: Enrich your data with additional context
View Ingestion API →

Query API

Retrieve and analyze your Mixpanel data programmatically.
  • Insights: Query saved Insights reports
  • Funnels: Access funnel analysis data
  • Retention: Retrieve retention metrics
  • Cohorts: List and query cohorts
View Query API →

Data Pipelines API

Create continuous data pipelines to external warehouses.
  • Schemas: Manage schematized exports
  • Warehouse Connectors: Configure warehouse imports
View Data Pipelines API →

Management API

Manage project configuration and administrative tasks.
  • Annotations: Mark important events in your charts
  • Service Accounts: Manage programmatic access
  • Lexicon Schemas: Sync your data dictionary
  • Feature Flags: Manage feature flag configurations
View Management API →

Compliance API

Handle GDPR and CCPA data requests.
  • GDPR: Data retrieval and deletion
  • Event Export: Export raw event data
View Compliance API →

Base URLs

Mixpanel APIs use different base URLs depending on your data residency:
https://api.mixpanel.com
https://mixpanel.com

Getting Started

  1. Authentication: Set up your authentication credentials
  2. Choose an API: Select the API that fits your needs
  3. Make requests: Start integrating with Mixpanel

Next Steps

Authentication

Learn how to authenticate your API requests

Rate Limits

Understand API rate limits and best practices

Ingestion API

Start sending data to Mixpanel

Query API

Retrieve your analytics data

Build docs developers (and LLMs) love