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
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.infermedica.com/v2/concepts" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"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);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
| Method | Path | What it does |
|---|---|---|
| GET | /concepts | getConcepts |
| GET | /concepts/{id} | getConcept |
| GET | /conditions | List all conditions |
| GET | /conditions/{id} | Get condition by id |
| POST | /diagnosis | Query diagnostic engine |
| POST | /explain | Query diagnostic engine for explanation |
| GET | /info | Get database information |
| GET | /lab_tests | List all lab tests |
| GET | /lab_tests/{id} | Get lab test by id |
| GET | /lookup | Find observation matching given phrase |
| POST | /parse | Find mentions of observations in given text |
| POST | /rationale | Query diagnostic engine for question rationale |
| POST | /red_flags | Query the diagnostic engine for possible red flag symptoms |
| GET | /risk_factors | List all risk factors |
| GET | /risk_factors/{id} | Get risk factor by id |
| GET | /search | Find observations matching given phrase |
| POST | /suggest | Query diagnostic engine for related symptoms |
| GET | /symptoms | List all symptoms |
| GET | /symptoms/{id} | Get symptoms by id |
| POST | /triage | Query 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.
Similar health APIs
Compare alternatives →openFDA
HealthPublic FDA data about drugs, devices and foods
Healthcare.gov
HealthEducational content about the US Health Insurance Marketplace
Covid-19 Government Response
HealthGovernment measures tracker to fight against the Covid-19 pandemic
FoodData Central
HealthNational Nutrient Database for Standard Reference
NPPES
HealthNational Plan & Provider Enumeration System, info on healthcare providers registered in US
MedlinePlus Genetics
HealthGenetic conditions, genes, chromosomes and mtDNA data
Listed from public-apis (MIT), public-apis database (MIT), APIs.guru (CC0).