Overview

Infermedica is an AI-powered health API that analyzes symptom descriptions in plain text and suggests possible conditions or next steps. It uses NLP to understand patient-reported symptoms and helps developers build symptom checkers, triage tools, and health chatbots. You need an API key from the Infermedica developer portal to get started.

Beginner Tip

Start with the /parse endpoint to extract symptoms from free text before passing them to /diagnosis — this two-step approach gives the most accurate results.

Available Data

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

case counts and statistics
vaccination data
geographic breakdown
historical trend data

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "input": "[email protected]",
  "is_valid": true,
  "format_valid": true,
  "details": "Input passes all validation checks"
}

Field Reference

mentions List of clinical concepts (symptoms, risk factors) extracted from the input text.
id Infermedica internal identifier for the recognized symptom or condition.
name Human-readable name of the extracted clinical concept.
common_name Everyday language name for the clinical concept.
choice_id Indicates whether the symptom is present, absent, or unknown (present/absent/unknown).
type Type of the concept, such as symptom or risk_factor.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://developer.infermedica.com/docs/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

401 Unauthorized Missing or incorrect App-Id / App-Key headers
Include both App-Id and App-Key headers obtained from your Infermedica developer account.
400 Bad Request Malformed JSON body or missing required fields like age
Ensure the request body includes the age object (e.g. {"age":{"value":30}}) and valid JSON syntax.
422 Unprocessable Entity Text is too short or does not contain recognizable symptom mentions
Provide a more descriptive symptom phrase of at least a few words describing the health issue.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Health
Difficulty Intermediate
Listing details not endpoint-verified

Related Tags

Similar APIs

View All →