Connect to AI
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

MethodEndpointDescription
POST/2/httpapiSend events to Amplitude for tracking user behavior and product analytics
POST/batchSend multiple events in a single batch request for improved performance
GET/api/2/events/segmentationQuery event segmentation data with filters and grouping options
GET/api/2/events/listRetrieve a list of all tracked events for your project
GET/api/2/funnelsQuery funnel analysis data to understand conversion rates
GET/api/2/retentionRetrieve user retention data and cohort analysis metrics
GET/api/2/revenueQuery revenue metrics and LTV data for your users
POST/identifySet or update user properties and attributes
POST/groupidentifySet or update group properties for account-level analytics
GET/api/2/usersearchSearch for users by user ID or user properties
GET/api/2/useractivityRetrieve the event stream for a specific user
POST/api/2/deletions/usersRequest deletion of user data for GDPR compliance
GET/api/2/exportExport raw event data for custom analysis and data warehousing
POST/scim/2/UsersManage team members using SCIM protocol for user provisioning
GET/api/2/taxonomy/eventRetrieve 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
    }]
  }'

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 →

Related APIs