Human

FREE
By humanapi
Updated 4 months ago
Medical
2.8/10
Popularity Score
657ms
Latency
57%
Success Rate

Human API Documentation

human/api is a platform that makes human health data available through a RESTful web service. We make it very easy to securely get a human's current or past health data.

View API Details
Blood Pressure
GETBlood pressure by date
GETBlood pressure by id
GETRecent blood pressure
Heart Rate
GETHeart rate by date
GETHeart rate by id
GETRecent heart rate
Sleep
GETRecent sleep series
GETRecent sleep
GETSleep by id
GETSleep by date
GETSleep recordings by date
Body Fat
GETBody fat by date
GETBody fat by id
GETRecent body fat
Genetics
GETGenetics
BMI
GETBMI by id
GETBMI for a specific date
GETRecent BMI
Activity
GETActive minutes by date
GETRecent active minutes
GETRecent time series of activities
GETTime series of activities by date
Height
GETHeight by date
GETHeight by id
GETRecent height
Blood Glucose
GETBlood glucose by id
GETBlood glucose by date
GETRecent blood gluecose
Profile
GETProfile
GETSummary
Weight
GETRecent weight
GETWeight by date
GETWeight by id
Location
GETLocation by date
GETRecent location
GETBlood pressure by date
Authorization:

You can check out http://humanapi.co/started for Human API OAuth details

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationOAUTH2
REQUIREDYou can check out http://humanapi.co/started for Human API OAuth details
Required Parameters
dateSTRING
REQUIRED
Code Snippet
unirest.get("https://human.p.rapidapi.com/human/blood_pressure/daily/{date}")
.header("X-RapidAPI-Host", "human.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://human.p.rapidapi.com/human/blood_pressure/daily/{date}
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://human.p.rapidapi.com/human/blood_pressure/daily/{date}")
.header("X-RapidAPI-Host", "human.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication