logo
Amplitude
FREE
By community
Updated 6 months ago

Amplitude API Documentation

Mobile Analytics for decision makers. COME WITH QUESTIONS, LEAVE WITH ANSWERS.

Learn more about this API
GETSession Length Distribution
GETSessions per user
GETGetting Dashboard Data Series
GETAverage session length
GETExporting events data
GETComposition of User Properties
GETSession Length Distribution

Get the number of sessions for each pre-defined length ("bucket") period, during a specified date range.

Authorization:

Authenticate via basic authentication with the credentials {API Key}:{Secret Key}. Get them in https://amplitude.com/settings when you 'Create' an app

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationBASIC
REQUIRED

Authenticate via basic authentication with the credentials {API Key}:{Secret Key}. Get them in https://amplitude.com/settings when you 'Create' an app

Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication