Amplitude
Official documentation: Amplitude API docs
Authentication
Amplitude uses API key authentication.
- Go to the Connections page and create a New Connection
- Select Amplitude API from the Connector dropdown
- Enter a Connection name
- Fill in the following credentials:
| Field | Required |
|---|---|
| Api Key | ✅ |
| Secret Key | ✅ |
In order to start using the hibase connector to the Amplitude API (v2), you need to fetch an API Key and Secret Key for the project you want to connect to.
Log into your Amplitude account
Click on Settings and navigate to your Projects page
Select the Project you want to connect to hibase. You will have to add new credentials in hibase for every Project you want to connect to
Copy the API Key and Secret Key for the Project
In hibase, provide the API Key and Secret Key you just copied when adding the Amplitude API connector
Endpoints
Export (API docs)
Export raw event data from Amplitude for a given date range.
| Parameter | Description | Required |
|---|---|---|
start |
Start date/hour for the export (format: YYYYMMDDTHH, e.g. 20240101T00). | ✅ |
end |
End date/hour for the export (format: YYYYMMDDTHH). | ✅ |
expand |
Whether to expand nested event properties into separate columns. Values: true, false |
✅ |
Returned Data
| Column | Type |
|---|---|
device_carrier |
string |
version_name |
string |
device_family |
string |
adid |
string |
start_version |
string |
device_model |
string |
paying |
string |
platform |
string |
device_type |
string |
location_lat |
string |
schema |
integer |
amplitude_event_type |
string |
event_time |
datetime |
library |
string |
event_type |
string |
country |
string |
amplitude_id |
integer |
user_id |
integer |
server_received_time |
datetime |
region |
string |
ip_address |
string |
os_version |
string |
insert_id |
string |
device_id |
integer |
session_id |
integer |
idfa |
string |
device_manufacturer |
string |
server_upload_time |
datetime |
client_upload_time |
datetime |
event_id |
integer |
processed_time |
datetime |
sample_rate |
string |
client_event_time |
datetime |
user_creation_time |
datetime |
os_name |
string |
app |
integer |
dma |
string |
device_brand |
string |
city |
string |
amplitude_attribution_ids |
json |
location_lng |
string |
language |
string |
uuid |
string |
is_attribution_event |
string |
Additional columns may be returned depending on the resource properties requested.