Amplitude Analytics REST API
Product analytics and behavioral data platform API
Amplitude is a product analytics platform that helps teams understand user behavior through event tracking and analysis. The REST API enables developers to send events, query analytics data, manage user properties, and integrate behavioral insights into their applications. Developers use it to build custom analytics workflows, sync data across platforms, and power data-driven product decisions.
https://api.amplitude.com
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /2/httpapi | Send events to Amplitude for tracking user behavior and product analytics |
| POST | /batch | Send multiple events in a single batch request for improved performance |
| GET | /api/2/events/segmentation | Query event segmentation data with filters and grouping options |
| GET | /api/2/events/list | Retrieve a list of all tracked events for your project |
| GET | /api/2/funnels | Query funnel analysis data to understand conversion rates |
| GET | /api/2/retention | Retrieve user retention data and cohort analysis metrics |
| GET | /api/2/revenue | Query revenue metrics and LTV data for your users |
| POST | /identify | Set or update user properties and attributes |
| POST | /groupidentify | Set or update group properties for account-level analytics |
| GET | /api/2/usersearch | Search for users by user ID or user properties |
| GET | /api/2/useractivity | Retrieve the event stream for a specific user |
| POST | /api/2/deletions/users | Request deletion of user data for GDPR compliance |
| GET | /api/2/export | Export raw event data for custom analysis and data warehousing |
| POST | /scim/2/Users | Manage team members using SCIM protocol for user provisioning |
| GET | /api/2/taxonomy/event | Retrieve event taxonomy metadata and schema information |
Sponsor this page
AvailableReach developers actively building with Amplitude Analytics. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST https://api.amplitude.com/2/httpapi \
-H 'Content-Type: application/json' \
-d '{
"api_key": "YOUR_API_KEY",
"events": [{
"user_id": "user@example.com",
"event_type": "Button Clicked",
"event_properties": {
"button_name": "Sign Up",
"page": "Homepage"
},
"time": 1640000000000
}]
}'
Use Amplitude Analytics from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Amplitude Analytics. Paste your Amplitude Analytics API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Amplitude Analytics directly with your credentials — no local install, works on mobile.
amplitude_track_event
Track user events and behaviors in Amplitude with properties and user context
amplitude_query_segmentation
Query event segmentation data with filters to analyze user behavior patterns
amplitude_get_user_activity
Retrieve the complete event stream and activity history for a specific user
amplitude_update_user_properties
Set or update user properties for enhanced segmentation and personalization
amplitude_analyze_funnel
Query funnel data to understand conversion rates and drop-off points in user journeys
Connect in 60 seconds
Paste your Amplitude Analytics key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Amplitude Analytics to your AI →