Amplitude
FREE
By community
Updated 4 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
REQUIREDAuthenticate via basic authentication with the credentials {API Key}:{Secret Key}. Get them in https://amplitude.com/settings when you 'Create' an app
Required Parameters
startSTRING
REQUIREDFirst date included in data series, formatted YYYYMMDD (e.g. 20140201)
endSTRING
REQUIREDLast date included in data series, formatted YYYYMMDD (e.g. 20140203)
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication