Lexigram API

Health / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Lexigram is a clinical NLP API that reads medical text and identifies clinical concepts like diagnoses, medications, and procedures using standardized ontologies. It maps extracted terms to codes from systems like ICD-10 and SNOMED CT, making it useful for healthcare data pipelines. You need an API key to use it.

💡

Beginner Tip

Send clinical notes or discharge summaries to the /annotate endpoint to instantly extract structured medical entities without writing complex parsing logic yourself.

Available Data

Lexigram data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Lexigram",
    "description": "NLP that extracts mentions of clinical concepts from text, gives access to clinical ontology",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

concepts List of clinical concepts identified in the input text.
label The recognized term or phrase from the input text.
code Standardized ontology code (e.g., ICD-10, SNOMED CT) for the concept.
system The ontology system the code belongs to, such as ICD-10-CM or SNOMED.
confidence Confidence score between 0 and 1 indicating how certain the match is.
type Category of the concept, such as diagnosis, medication, or procedure.

Implementation Example

const url = "https://docs.lexigram.io/";
// 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

401 Unauthorized Missing or invalid Bearer token in the Authorization header
Use the format "Authorization: Bearer YOUR_API_KEY" with a valid key from your Lexigram account.
400 Bad Request The text field is missing or the JSON is malformed
Ensure you send a JSON body with a "text" key containing the clinical text string.
Low match confidence Input text contains abbreviations or non-standard medical terms
Use expanded clinical terminology where possible; abbreviations may not be recognized reliably.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Health
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →