Skip to content

Infermedica API

by infermedica.com

API keyHTTPSCORSHealth
Open documentation ↗

Overview

NLP based symptom checker and patient triage API for health diagnosis from text

Infermedica is a health API from infermedica.com. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 20 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Yes
Category
Health
Base URL
https://api.infermedica.com/v2
Version
v2
Endpoints
20
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.infermedica.com/v2/concepts" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.infermedica.com/v2/concepts", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.infermedica.com/v2/concepts",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/conceptsgetConcepts
GET/concepts/{id}getConcept
GET/conditionsList all conditions
GET/conditions/{id}Get condition by id
POST/diagnosisQuery diagnostic engine
POST/explainQuery diagnostic engine for explanation
GET/infoGet database information
GET/lab_testsList all lab tests
GET/lab_tests/{id}Get lab test by id
GET/lookupFind observation matching given phrase
POST/parseFind mentions of observations in given text
POST/rationaleQuery diagnostic engine for question rationale
POST/red_flagsQuery the diagnostic engine for possible red flag symptoms
GET/risk_factorsList all risk factors
GET/risk_factors/{id}Get risk factor by id
GET/searchFind observations matching given phrase
POST/suggestQuery diagnostic engine for related symptoms
GET/symptomsList all symptoms
GET/symptoms/{id}Get symptoms by id
POST/triageQuery diagnostic engine for triage level

Questions

Does the Infermedica API need an API key?

Yes. The Infermedica API uses API key authentication; the documentation explains how to get credentials.

Can I call the Infermedica API from the browser?

Yes. The Infermedica API sends CORS headers, so a web page can call it directly with fetch().

Does the Infermedica API support HTTPS?

Yes, the Infermedica API is served over HTTPS.

How many endpoints does the Infermedica API have?

Its OpenAPI description lists 20 endpoints in version v2. All of them are shown on this page.

What are alternatives to the Infermedica API?

Other Health APIs include openFDA, Healthcare.gov, Covid-19 Government Response, FoodData Central, NPPES.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).