Free to try in the web search, no account needed. API use is billed per predicted code from your account balance.
ICD-10-CM codes from clinical text
ICD-10-CM is the diagnosis classification used in the United States for claims, quality reporting and risk adjustment. Clinical notes describe the same condition in many ways (abbreviations, synonyms, specialty shorthand), while billing needs one specific code. MedAPI.ai closes that gap: type a diagnosis or paste a note and get ICD-10-CM (2027) codes back in seconds.
Every suggestion is grounded in the official code set. Retrieval searches complete three-character categories, including inclusion and exclusion notes, and the model selects codes only from those candidates. Each code is then checked against the database, so you see the official description and whether the code is billable. Invented codes never reach the result.
A longer note can contain several diagnoses; each one is coded separately with up to three ranked suggestions and a confidence score. MedAPI.ai also flags certainty (for example suspected or ruled out) and timing such as history of or sequela. The suggestions support coders and developers; they do not replace a professional coding decision.
ICD-10-CM examples
Typical free-text inputs and grounded code suggestions — in web search and via API.
Type 2 diabetes with diabetic chronic kidney disease
ICD-10-CM 2027E11.2294%Type 2 diabetes mellitus with diabetic chronic kidney disease
E11.2968%Type 2 diabetes mellitus with other diabetic kidney complication
Acute exacerbation of COPD
ICD-10-CM 2027J44.195%Chronic obstructive pulmonary disease with (acute) exacerbation
J44.061%Chronic obstructive pulmonary disease with (acute) lower respiratory infection
Left ankle sprain, initial encounter
ICD-10-CM 2027S93.402A91%Sprain of unspecified ligament of left ankle, initial encounter
S93.492A66%Sprain of other ligament of left ankle, initial encounter
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-10-CM coding on MedAPI.ai free?
- Yes. You can try ICD-10-CM 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-10-CM version does MedAPI.ai use?
- The ICD-10-CM 2027 code set. Every suggested code is validated against this version before it is shown, together with its official description and billable status.
- Do I get billable codes or only categories?
- MedAPI.ai aims for the most specific code the text supports, for example the seventh character for injuries. Each result shows whether the code is billable. If the note lacks details such as laterality or encounter type, the suggestions and confidence scores reflect that.
- Can I paste whole clinical notes?
- Yes. Paste a discharge summary, progress note or diagnosis list. MedAPI.ai extracts the individual diagnoses and codes each one separately. Patient data may be sent under the DPA, with processing in the EU/EEA only.
- Can I use ICD-10-CM coding via API?
- Yes. After sign-in, create an API key and send text to POST /api/code with the ICD-10-CM system. The response contains the extracted diagnoses with ranked codes, descriptions and confidence scores. The API reference has curl examples.