Human API

Human API

  • Category: Health


Accessing Health Data Made Easy with Human API

Are you tired of manually collecting health data from different sources? Human API is here to make your life easier. With this public API, you can retrieve health data from hundreds of sources, including electronic health records, medical devices, fitness apps, and more.

Getting Started with Human API

To use Human API, you will need to sign up for a RapidAPI account and subscribe to the Human API endpoint. Once you have completed these steps, you will receive an API key that you can use to authenticate your requests.

Example Code in JavaScript

Here are some example code snippets in JavaScript that demonstrate how to use the Human API to retrieve health data:

Retrieve User Data

To retrieve a user's data, you can use the following API endpoint:

fetch("https://humanapi.p.rapidapi.com/v1/human", {
  "method": "GET",
  "headers": {
    "x-rapidapi-host": "humanapi.p.rapidapi.com",
    "x-rapidapi-key": "YOUR_API_KEY"
  }
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.error(err);
});

Retrieve Activity Data

To retrieve a user's activity data, you can use the following API endpoint:

fetch("https://humanapi.p.rapidapi.com/v1/human/activities/daily_summary?date=2022-01-01", {
  "method": "GET",
  "headers": {
    "x-rapidapi-host": "humanapi.p.rapidapi.com",
    "x-rapidapi-key": "YOUR_API_KEY"
  }
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.error(err);
});

Retrieve Heart Rate Data

To retrieve a user's heart rate data, you can use the following API endpoint:

fetch("https://humanapi.p.rapidapi.com/v1/human/heart_rate?start_time=2022-01-01T00:00:00Z&end_time=2022-01-02T00:00:00Z", {
  "method": "GET",
  "headers": {
    "x-rapidapi-host": "humanapi.p.rapidapi.com",
    "x-rapidapi-key": "YOUR_API_KEY"
  }
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.error(err);
});

Retrieve Sleep Data

To retrieve a user's sleep data, you can use the following API endpoint:

fetch("https://humanapi.p.rapidapi.com/v1/human/sleeps?start_time=2022-01-01T00:00:00Z&end_time=2022-01-02T00:00:00Z", {
  "method": "GET",
  "headers": {
    "x-rapidapi-host": "humanapi.p.rapidapi.com",
    "x-rapidapi-key": "YOUR_API_KEY"
  }
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.error(err);
});

Conclusion

Human API makes it easy to collect health data from different sources. With its extensive range of endpoints, you can retrieve data such as activity, heart rate, and sleep information. By using the example code snippets provided in this post, you can start integrating the Human API into your application today!

Visit to Human API website

Similar APIs of Health

EndlessMedical API

EndlessMedical API

Health

Free all-in-one professional-grade API. It will let you connect user’s symptoms and complaints, with test results and doctor’s examination. It not only provides a list of possible diagnoses, and not only taking symptoms on input, as most symptoms checker does, but it also allows you to incorporate test results, and findings of physical examination (i.e. auscultation). It can generate documentation, and billing suggestions (if you are US-based physician) etc…It can provide a differential list of diagnoses, it can suggest next best step for physician (next test to be ordered, the question on history, and physical examination maneuver) and can show why this or that diagnosis is more / less likely. It is still under development, but has already working API and main functionalities. The EndlessMedical API supports COVID-19/SARS-CoV2 information.

COVIDSARSphysician

NeuroVault API

NeuroVault API

Health

A public repository of un-thresholded statistical maps, parcellations, and atlases of the brain. Brain parcellation — defining distinct partitions in the brain, be they areas or networks that comprise multiple discontinuous but closely interacting regions — is thus fundamental for understanding brain organization and function.

brainneuroresearch

openFDA

openFDA

Health

Public FDA data about drugs, devices, and foods. API provides end points against events / product labelling / NDC directory / recall Enforcement Reports. The goal of the project is to create easy access to public data, to create a new level of openness and accountability, to ensure the privacy and security of public FDA data, and ultimately to educate the public and save lives. The concept was to index high-value, high priority and scalable public-access data, format and document that data in developer and consumer-friendly standards, and make that data available via a public-access portal that enables developers to quickly and easily use it in applications.

PublicSavingFormatting

Lexigram

Lexigram

Health

NLP that extracts mentions of clinical concepts from text, gives access to clinical ontology. All of Lexigram's technology is built on top of our proprietary knowledge graph that surfaces clinical entities such as drugs, diseases, symptoms and allows you to explore their dynamic relationships. Lexigram provides users with a simple, easy-to-use interface for extracting targeted information from the patient record while preserving the rich contextual data that doctors work so hard to capture.

OntologyDiagnosisHealth

FHIR

FHIR

Health

Fast Healthcare Interoperability Resources test data.

InteroperabilityFastTest

Healthcare.gov

Healthcare.gov

Health

Educational content about the US Health Insurance Marketplace. People can use the API to embed content from HealthCare.gov. As official content gets updated on HealthCare.gov, the new content will update automatically and appear on websites using the HealthCare.gov API.

tagscategoriestopics

NPPES

NPPES

Health

National Plan & Provider Enumeration System, info on healthcare providers registered in US. The API is a new, faster alternative to the downloadable NPPES data files. It allows systems to access NPPES public data in real-time, rather than through batched uploads. The API retrieves data from NPPES daily.

NPIDoctorsHealth

BetterDoctor

BetterDoctor

Health

BetterDoctor API - get detailed information about doctors in your area. API provides end points of; Doctor Search, Specific Doctor Description, Practice Search, List of Doctors in a certain practice, List of Specialities, List of all known conditions, API health check

DoctorsSpecialitiesConditions

Medicare

Medicare

Health

Access to the data from the CMS - medicare.gov; The Socrata Open Data API allows you to programmatically access a wealth of open data resources from governments, non-profits, and NGOs around the world.

OpenNonNGOs

OpenAQ

OpenAQ

Health

Open air quality data. This API lets you get data location wise; country and cities. Provides the last updated values, unit of measurement of air quality along with averaging period.

airhealthcities