🔗Data API V1
The Data API v1 is now available. Almost all the data obtained by Nucleus can be retrieved using this API.
Last updated
The Data API v1 is now available. Almost all the data obtained by Nucleus can be retrieved using this API.
Last updated
This API is in beta for now, please let us know if you encounter any issue or if you need to fetch a specific data that isn't documented here, we strive to be fast to respond. We will add more endpoints over time.
Nucleus expects the API key to be included in all requests to the server in a auth header:
Authorization: your_access_token
Example:
You may also send it in the body of a POST request as the parameter token
.
GET
https://app.nucleus.sh/api/v1/apps/:appId/analytics/quickglance
Fetch the number of users, installs, sessions and errors during the last 24 hours (and during the previous 24h period for comparison).
Name | Type | Description |
---|---|---|
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/analytics
The analytics data of your application grouped by day.
You need to supply a date interval as timestamps.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/analytics/events
The daily stats of your application's events.
You need to supply a date interval as timestamps.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/analytics/eventsprops
Get details on the custom data reported alongside your events.
You need to supply a date interval as timestamps.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/analytics/events/:event/:attr
This will fetch data about a specific event and its attribute.
You need to supply a date interval as timestamps.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/analytics/errors
This is your application's error records.
You need to supply a date interval as timestamps.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/users
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/users/:userId
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/users/:userId/session/:sessionId
This will fetch events data for a specific user session.
You need to supply a device Id in the request parameters, that you can obtain in the previous User Details call.
DELETE
https://app.nucleus.sh/api/v1/apps/:appId/users/:userId
This will delete a specific user (by id) and it's associated data.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/live/events
This shows real time events data.
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/live/users/count
Get the real-time count of how many users are using your app
Example:
GET
https://app.nucleus.sh/api/v1/apps/:appId/live/users
Get a list of all the users on your app, right now.
Example:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
appId*
String
Your app ID
appId*
String
Your app ID
start*
String
Timestamp for beginning of interval
end*
String
Timestamp for end of interval
utcOffset
String
Your timezone UTC offset (in minutes) so we can return the appropriate dates
appId*
String
Your app ID
start*
String
Timestamp for beginning of interval
end*
String
Timestamp for end of interval
utcOffset
String
Your timezone UTC offset (in minutes) so we can return the appropriate dates
appId*
String
Your app ID
start*
String
Timestamp for beginning of interval
end*
String
Timestamp for end of interval
utcOffset
String
Your timezone UTC offset (in minutes) so we can return the appropriate dates
appId*
String
Your app ID
event*
String
The name of the event to retrieve data
attr
String
The name of the attribute of the event to retrieve data for
start*
String
Timestamp for beginning of interval
end*
String
Timestamp for end of interval
utcOffset
String
Your timezone UTC offset (in minutes) so we can return the appropriate dates
appId*
String
Your app ID
start*
String
Timestamp for beginning of interval
end*
String
Timestamp for end of interval
utcOffset
String
Your timezone UTC offset (in minutes) so we can return the appropriate dates
appId*
String
Your app ID
appId*
String
Your app ID
userId*
String
ID of the user to fetch details for
appId*
String
Your app ID
userId*
String
ID of the user to fetch details for
sessionId*
Number
ID of the session to retrieve data for
appId*
String
Your app ID
userID*
String
The ID of the user to delete
appId*
String
Your app ID
appId*
String
Your app ID
appId*
String
Your app ID