Free to try in the web search, no account needed. API use is billed per predicted code from your account balance.
ICD-11 MMS codes from clinical text
ICD-11 is the current WHO classification of diseases and is being introduced in more and more countries. Compared with ICD-10 it is more detailed and uses post-coordination: a stem code can be combined with extension codes for laterality, severity, anatomy or cause. That makes coding more precise, but also more demanding. MedAPI.ai codes free text into the ICD-11 MMS, release 2026-01.
Suggestions are grounded in the official MMS linearization. The model selects stem codes from retrieved candidates and adds extension codes where the text supports them, joined with & (for example NC72.2&XK8G&XJ44E: fracture of neck of femur, left, closed). Related stem codes are chained with /, such as diabetic retinopathy with its cause 9B71.0Z/5A11. Every code in a cluster is checked against the database before it appears.
Each diagnosis in a note is coded separately, with up to three ranked suggestions, confidence scores, certainty and timing. ICD-11 coding on MedAPI.ai is a coding aid for coders, researchers and developers; it does not replace a professional coding decision.
ICD-11 examples
Typical free-text inputs and grounded code suggestions — in web search and via API.
Moderate diabetic retinopathy in both eyes due to type 2 diabetes
ICD-11 MMS 2026-019B71.0Z&XS0T&XK9J/5A1193%Diabetic retinopathy · Moderate · Bilateral / Type 2 diabetes mellitus
9B71.0Z&XK9J/5A1171%Diabetic retinopathy · Bilateral / Type 2 diabetes mellitus
Closed displaced fracture of the left femoral neck
ICD-11 MMS 2026-01NC72.2&XK8G&XJ44E&XJ8PQ94%Fracture of neck of femur · Left · Closed fracture · Displaced fracture
NC72.2&XK8G&XJ44E68%Fracture of neck of femur · Left · Closed fracture
Adenocarcinoma of the right upper lobe, stage III
ICD-11 MMS 2026-012C25.0&XA8Z30&XS6H92%Adenocarcinoma of bronchus or lung · Right upper lobe bronchus · Stage III
2C25.0&XA8Z3070%Adenocarcinoma of bronchus or lung · Right upper lobe bronchus
Coding systems
Official classifications for AI coding, catalog browse without AI, or in preparation — whichever the platform currently publishes. The cards below follow GET /api/systems.
Open the catalog — browse systems and codes
ICD-10-CM (2027)
US Clinical Modification of ICD-10 for diagnoses. Map free text to ICD-10-CM codes or look up known codes.
AI coding from free text.
Open catalogICD-10-GM (2026)
German modification of ICD-10 for outpatient and inpatient diagnoses. Map free text to codes or look up known codes.
AI coding from free text.
Open catalogICD-11 MMS (2026-01)
Experimental ICD-11 MMS coding against Foundation entities with WHO-validated clusters.
AI coding from free text.
Open catalogLOINC (2.82)
Logical Observation Identifiers Names and Codes for lab and clinical observations. Map free text to LOINC codes or look up known codes.
Catalog only
Open catalogOPS (2026)
German operations and procedures classification. Map free text to OPS codes or look up known codes.
Catalog only
Open catalogSNOMED CT (latest)
Comprehensive clinical terminology (SNOMED CT). Coding via MedAPI.ai coming soon.
Coming soon
Technical highlights
MedAPI.ai is built for production coding workflows — grounded retrieval, validated output, and transparent confidence scores.
Semantic RAG retrieval
Three parallel vector searches over official classification families (full text, cleaned term, clinical core) — deduplicated by family, including inclusions and coding notes. ICD/OPS retrieve up to 20 families per search.
Confidence & ranking
Up to three ranked candidates per extracted diagnosis — retrieval ranks families by overlap across search paths; the model then selects codes with transparent confidence scores.
Multiple classifications
ICD-10-CM, ICD-10-GM, and ICD-11 MMS in parallel; a code typed from another system switches there automatically. AI coding and catalog can be switched independently per system. Choose via dropdown or the API system parameter.
REST API & billing
POST /api/code, GET /api/describe, API keys, and account balance — OpenAPI spec and curl examples in the reference.
Privacy & compliance
GDPR (EU) compliant and aligned with applicable U.S. privacy laws and regulations.
Patient data under AVV
Coding free text may include health data under the AVV/DPA. Processing (including LLM and embeddings) is EU/EEA-only — see the DPA page.
Grounded AI instead of open-ended generation
MedAPI.ai is not a generic chatbot. Every request follows a defined pipeline — from authentication through retrieval to database validation.
First the system extracts medical diagnosis snippets from free text (up to 10). For each snippet, three parallel vector searches — full text, cleaned search term, and clinical core concept — return up to 20 ICD/OPS code families each. Families are deduplicated and passed complete to the language model, which selects at most three codes per snippet, with confidence.
Every suggested code is checked against the relational code database. Invalid or hallucinated codes are discarded. Optional reasoning provides a short explanation — for transparency in review workflows, not as a medical diagnosis.
Reverse lookup via GET /api/describe returns metadata for known codes: label, hierarchy, inclusions, exclusions, and coding notes — free with a valid API key, ideal for code validation in downstream systems.
For developers
Integrate MedAPI.ai with POST /api/code — a JSON body with text, system, and optional lang and reasoning. Authenticate with X-API-Key; usage is charged per predicted code from your account balance.
GET /api/describe returns code metadata without coding cost. OpenAPI spec and error codes are in the API reference.
Request
Response
Frequently asked questions
Answers about classifications, API, pricing, and sensible use of MedAPI.ai in clinical and technical contexts.
- Is ICD-11 coding on MedAPI.ai free?
- Yes. You can try ICD-11 coding in the web search without an account; guest use has a daily request limit. API use is billed per predicted code from your account balance, and new accounts receive signup credit.
- Which ICD-11 release does MedAPI.ai use?
- The ICD-11 for Mortality and Morbidity Statistics (MMS), release 2026-01, with English and German titles. Codes are validated against this release before they are shown.
- Does MedAPI.ai support post-coordination?
- Yes. Where the text contains details such as laterality, severity or anatomy, MedAPI.ai combines the stem code with matching extension codes into a cluster, for example NC72.2&XK8G. Extension codes are only added when the text supports them.
- How does ICD-11 differ from ICD-10?
- ICD-11 has a new alphanumeric code structure, more clinical detail and its own chapter of extension codes for post-coordination. National modifications such as ICD-10-CM and ICD-10-GM remain in use for billing in many countries; MedAPI.ai supports them too, so you can code the same text in both.
- Can I use ICD-11 coding via API?
- Yes. After sign-in, create an API key and send text to POST /api/code with the ICD-11 MMS system. The response contains the extracted diagnoses with ranked codes or clusters, titles and confidence scores. The API reference has curl examples.