Analytics
API Key
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.
Base URL
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 |
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
}]
}'
Connect Amplitude Analytics to AI
Deploy a Amplitude Analytics MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Amplitude Analytics through these tools:
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
Deploy in 60 seconds
Describe what you need, AI generates the code, and IOX deploys it globally.
Deploy Amplitude Analytics MCP Server →