active_users | Get the number of active or new users over a date range. Dates are YYYYMMDD. |
event_segmentation | Get metrics (uniques, totals, pct_dau, average, histogram, sums, value_avg) for one or two events over a date range. Event parameter e is a JSON object: {“event_type”:”…”, “filters”:[{“subprop_type”:“event”,“subprop_key”:”…”,“subprop_op”:“is”,“subprop_value”:[”…”]}],“group_by”:[{“type”:“event”,“value”:”…”}]}. Dates are YYYYMMDD. Segment s and group_by g are also JSON-encoded. |
funnel_analysis | Get funnel conversion data for an ordered series of events (2 or more steps) over a date range. e is an array of step objects, same format as event_segmentation’s e: [{“event_type”:”…”},{“event_type”:”…”,“filters”:[…]}] — each step is sent as its own e= query parameter. Dates are YYYYMMDD. mode: ordered (default), unordered or sequential; n: active (default) or new users; cs: conversion window in seconds (default 2592000 = 30 days). |
list_cohorts | List all discoverable cohorts in the project. Returns cohort id, name, description, size, owners, and sync metadata. |
list_events | List all event types in the project with their current week totals, uniques, and % DAU. Returns event names, whether they are hidden/deleted, and display names. No arguments required. |
realtime_active_users | Get the real-time active user count. Only accepts interval i = -300000 (real-time, last 5 minutes). |
retention_analysis | Get user retention for a start event (se) and return event (re). Both are JSON objects with event_type. se supports “_new” (new users) or “_active” (all users). re supports “_all” (all events) or “_active” (all active events). Dates are YYYYMMDD. |
revenue_ltv | Get revenue lifetime value metrics over a date range. Dates are YYYYMMDD. |
sessions_average_length | Get the average session length in seconds per day over a date range. Dates are YYYYMMDD. |
taxonomy_event_properties | List event properties for a specific event type. The event_type parameter filters properties to those attached to the given event. |
taxonomy_events | List all event types in the project. Hidden events are excluded. Pass showDeleted=true as a query param to include deleted events. |
taxonomy_user_properties | List all user properties in the project. Hidden properties are excluded. |
user_activity | Get a user summary and their most or least recent events. The user parameter is the Amplitude ID (numeric). Returns userData (profile stats) and events array. |
user_search | Search for a user by user_id, amplitude_id, device_id, or email address. Returns user summaries matching the query. |