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

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

Lexigram data via REST API

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
{
  "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

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

Request
const url = "https://api.lexigram.io/v1/lexigraph/annotate";
// 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 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.

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 UNKNOWN
Category Health
Difficulty Intermediate
Listing details not endpoint-verified

Related Tags

Similar APIs

View All →