Documentation
UltraSignal API Documentation
Overview
Welcome to the UltraSignal API documentation. This API provides comprehensive access to health and fitness metrics collected by Ultrahuman devices.
What You Can Do
- • Access real-time health metrics
- • Monitor sleep patterns and quality
- • Track physical activity and recovery
- • Analyze glucose and metabolic data
Getting Started
Prerequisites
Generate Your API Token
Create your Personal API token from
Access Scenarios
Accessing Your Own Data
If you want to access data for your own account (same email as your login), no additional setup is required. Simply use your API token without the email parameter.
Accessing Other User's Data
To access another user's data, you'll need:
- Their email address (to be used as a parameter in the API)
- Their authorization through the Ultrahuman app:
• The data owner opens their Ultrahuman app
• Go to Profile tab → Settings → Partner ID
• Enter the data sharing code provided by the API developer
API Endpoint
Base URL:
https://partner.ultrahuman.com/api/v1/partner/daily_metricsMaking API Requests
Required Headers
AuthorizationYour personal API token that grants access to the API.
Example: eyJhbGc...
Query Parameters
date(string)requiredThe specific date for which you want to retrieve metrics (required if you are not using epoch-based date range).
Format: YYYY-MM-DD
Example: 2024-03-15
email(string)optionalEmail address of the user whose data you want to access.
•If not provided, returns data for your own account (same email as your login)
•If provided, the specified user must have authorized data sharing through the Ultrahuman app
Alternative: Date Range using Epoch Timestamps (cannot be used together with the date parameter – choose either date or epoch timestamps, not both)
start_epoch(number)Start time in epoch seconds
end_epoch(number)End time in epoch seconds
Important Notes
- •When using
date, data is fetched for the entire day in user's timezone - •Date range queries cannot exceed 7 days
- •All timestamps are processed in the user's latest timezone
Error Responses
400 Bad Request- • Date range exceeds 7 days
- • Missing required parameters
- • Invalid date format
404 Not FoundUser not found or no data sharing permission
500 Internal Server ErrorSomething went wrong on Ultrahuman's end. (These are rare.)
Anyone with this Authorization Key can use the Ultrahuman API as you. If it is compromised, you can deactivate or delete the API key.
Response Overview
The API returns a comprehensive set of health metrics including:
hrHeart rate measurements throughout the day in beats per minute (BPM)
tempSkin temperature readings in Celsius
hrvHeart Rate Variability - a measure of the variation in time between heartbeats
stepsStep count throughout the day
motionMovement intensity measurements
night_rhrResting Heart Rate during sleep
sleepDetailed sleep analysis including stages, efficiency, and insights
recoveryOverall recovery score based on various metrics
glucoseContinuous glucose monitoring data in mg/dL
metabolic_scoreOverall metabolic health score
glucose_variabilityPercentage of glucose fluctuation throughout the day
average_glucoseMean glucose level for the day in mg/dL
hba1cEstimated HbA1c based on glucose data
time_in_targetPercentage of time glucose levels stayed within target range
recovery_indexScore indicating physical recovery status
movement_indexScore based on daily physical activity
vo2_maxMaximum oxygen consumption capacity during exercise
sleep_rhrResting heart rate during sleep, indicating recovery quality
avg_sleep_hrvAverage heart rate variability during sleep, measuring recovery
spo2Blood oxygen saturation levels, measured as a percentage
active_minutesTotal minutes of moderate to vigorous physical activity throughout the day
sleep_scoreOverall sleep quality score based on multiple sleep factors
total_sleepTotal duration of sleep including all sleep stages
sleep_efficiencyPercentage of time spent sleeping while in bed
time_in_bedTotal time spent in bed from bedtime start to end
rem_sleepRapid Eye Movement sleep duration and percentage
deep_sleepDeep sleep duration and percentage, crucial for recovery
light_sleepLight sleep duration and percentage
temperature_deviationDeviation from baseline skin temperature during sleep
hr_dropHeart rate drop during sleep compared to daytime average
restorative_sleepMeasure of how restorative the sleep was for recovery
movementsNumber and intensity of movements during sleep
morning_alertnessLevel of alertness and readiness upon waking
full_sleep_cyclesNumber of complete sleep cycles achieved during the night
tosses_and_turnsFrequency of restless movements during sleep
average_body_temperatureAverage body temperature maintained during sleep
Code Sample
# Example with date parameter
curl --location --request GET 'https://partner.ultrahuman.com/api/v1/partner/daily_metrics?date=yyyy-mm-dd' \
--header 'Authorization: YOUR_AUTH_TOKEN'
# Example with epoch parameters
curl --location --request GET 'https://partner.ultrahuman.com/api/v1/partner/daily_metrics?start_epoch=1234567890&end_epoch=1234654290' \
--header 'Authorization: YOUR_AUTH_TOKEN'Try It Out
RESPONSE
Click Try It! to start a request and see the response here!
Want to access your personal tokens and create OAuth apps? Login to view authenticated documentation →