{"openapi":"3.1.0","info":{"title":"Medical Codes and Drug Names","version":"1.0.0","description":"Look up ICD-10-CM diagnosis codes, HCPCS, LOINC lab codes and RxNorm drug names, plus code format checks. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Medical Codes and Drug Names: Look up ICD-10-CM diagnosis codes, HCPCS, LOINC lab codes and RxNorm drug names, plus code format checks. Medical Codes and Drug Names looks up reference codes for agents handling health data: what an ICD-10-CM diagnosis code means (/icd10-lookup) or which codes match a description (/icd10-search), HCPCS billing codes (/hcpcs-lookup), LOINC laboratory test codes with deprecation flags (/loinc-lookup), drug names normalised to RxNorm identifiers (/drug-name-match, /drug-profile), the structure of an ICD-10 code (/icd10-parse) and NPI number check digits (/npi-check). Reference lookups only, never clinical advice. Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://medical-codes.x402tookit.com"}],"paths":{"/drug-name-match":{"get":{"operationId":"drug_name_match","summary":"Match a misspelled or branded drug name to RxNorm: best candidates with RxCUI identifiers, names and match scores.","description":"Match a misspelled or branded drug name to RxNorm: best candidates with RxCUI identifiers, names and match scores.","tags":["rxnorm","drug","medication","normalization"],"parameters":[{"name":"name","in":"query","required":true,"description":"Drug name, e.g. ibuprofin or Advil","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"query":{"type":["null","string"]},"bestMatch":{"type":["null","object"],"properties":{"rxcui":{"type":["null","string"]},"name":{"type":["null","string"]},"termType":{"type":["null","string"]},"score":{"type":["null","number"]}}},"candidates":{"type":["array","null"],"items":{"type":"object","properties":{"rxcui":{"type":["null","string"]},"name":{"type":["null","string"]},"termType":{"type":["null","string"]},"score":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"APPROXIMATE_MATCH","summary":"\"ibuprofin\" -> ibuprofen (RxCUI 5640, IN), approximate match; 0 other candidate(s).","reasons":["Term types: IN ingredient, BN brand name, SCD clinical drug, SBD branded drug, PIN precise ingredient.","Spelling differed from RxNorm: confirm with the prescriber or label before relying on it."],"query":"ibuprofin","bestMatch":{"rxcui":"5640","name":"ibuprofen","termType":"IN","score":8.11},"candidates":[{"rxcui":"5640","name":"ibuprofen","termType":"IN","score":8.11}],"degraded":false,"notChecked":["clinical identity: matching a name is not confirming which drug a prescriber meant","dose, strength or form unless it is in the name","…2 more"],"source":"NLM RxNav (RxNorm)","sourceUrl":"https://rxnav.nlm.nih.gov","asOf":"2026-10-11T05:34:33.146Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-name-match"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-name-match"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-name-match"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-name-match"}}]}}},"/drug-profile":{"get":{"operationId":"drug_profile","summary":"RxNorm profile of a drug name: ingredient, brand names and available dose forms, with the RxCUI identifier.","description":"RxNorm profile of a drug name: ingredient, brand names and available dose forms, with the RxCUI identifier.","tags":["rxnorm","drug","medication","brands"],"parameters":[{"name":"name","in":"query","required":true,"description":"Drug or ingredient name, e.g. ibuprofen","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"query":{"type":["null","string"]},"rxcui":{"type":["null","string"]},"name":{"type":["null","string"]},"termType":{"type":["null","string"]},"ingredients":{"type":["array","null"],"items":{"type":"object","properties":{"rxcui":{"type":["null","string"]},"name":{"type":["null","string"]}}}},"brandNames":{"type":["array","null"],"items":{"type":"object","properties":{"rxcui":{"type":["null","string"]},"name":{"type":["null","string"]}}}},"brandCount":{"type":["null","number"]},"doseForms":{"type":["array","null"],"items":{"type":"object","properties":{"rxcui":{"type":["null","string"]},"name":{"type":["null","string"]}}}},"otherRxcuis":{"type":["array","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"FOUND","summary":"ibuprofen (RxCUI 5640, IN): ingredient ibuprofen; 18 brand name(s); forms: Injection, Extended Release Oral Capsule, Extended Release Oral Tablet, Oral Capsule, Oral Suspension.","reasons":["RxNorm names concepts; it does not describe what a drug does or whether it is safe for anyone.","Single RxCUI."],"query":"ibuprofen","rxcui":"5640","name":"ibuprofen","termType":"IN","ingredients":[{"rxcui":"5640","name":"ibuprofen"}],"brandNames":[{"rxcui":"1100067","name":"Duexis"},{"rxcui":"1101916","name":"Counteract IB"}],"brandCount":18,"doseForms":[{"rxcui":"1649574","name":"Injection"},{"rxcui":"316943","name":"Extended Release Oral Capsule"}],"otherRxcuis":[],"degraded":false,"notChecked":["indications, dosing, warnings, interactions or side effects (RxNorm is a naming system, not a drug reference)","which products are currently marketed","…2 more"],"source":"NLM RxNav (RxNorm)","sourceUrl":"https://rxnav.nlm.nih.gov","asOf":"2026-10-11T05:34:33.659Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0500"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-profile"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-profile"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-profile"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/drug-profile"}}]}}},"/hcpcs-lookup":{"get":{"operationId":"hcpcs_lookup","summary":"HCPCS Level II billing codes (supplies, equipment, services): look up a code or search by description.","description":"HCPCS Level II billing codes (supplies, equipment, services): look up a code or search by description.","tags":["hcpcs","billing","medical-coding"],"parameters":[{"name":"q","in":"query","required":true,"description":"A code such as K0001, or words such as wheelchair","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results 1 to 25 (default 10)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"code":{"type":["null","string"]},"description":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VALID_CODE","summary":"K0001: Standard wheelchair.","reasons":["Exists in the HCPCS Level II set; coverage and payment depend on the payer."],"code":"K0001","description":"Standard wheelchair","degraded":false,"notChecked":["CPT codes (AMA-licensed, not served)","payer coverage, fee schedules or modifiers","…1 more"],"source":"NLM Clinical Tables","sourceUrl":"https://clinicaltables.nlm.nih.gov","asOf":"2026-10-11T05:34:34.298Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/hcpcs-lookup"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/hcpcs-lookup"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/hcpcs-lookup"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/hcpcs-lookup"}}]}}},"/icd10-lookup":{"get":{"operationId":"icd10_lookup","summary":"What an ICD-10-CM diagnosis code means: official description, chapter, and whether it is a complete code or a category header.","description":"What an ICD-10-CM diagnosis code means: official description, chapter, and whether it is a complete code or a category header.","tags":["icd10","diagnosis","medical-coding"],"parameters":[{"name":"code","in":"query","required":true,"description":"ICD-10-CM code, e.g. E11.9 or E119","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"code":{"type":["null","string"]},"description":{"type":["null","string"]},"chapter":{"type":["null","object"],"properties":{"number":{"type":["null","number"]},"title":{"type":["null","string"]},"range":{"type":["null","string"]}}},"codeSet":{"type":["null","string"]},"children":{"type":["array","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VALID_CODE","summary":"E11.9: Type 2 diabetes mellitus without complications.","reasons":["Chapter 4: Endocrine, nutritional and metabolic diseases (E00-E89).","Billable or not depends on payer and context: this confirms the code exists in the current ICD-10-CM set."],"code":"E11.9","description":"Type 2 diabetes mellitus without complications","chapter":{"number":4,"title":"Endocrine, nutritional and metabolic diseases","range":"E00-E89"},"codeSet":"ICD-10-CM (current release served by NLM)","children":[],"degraded":false,"notChecked":["whether the code is correct for a given patient or encounter","billing rules, laterality or 7th-character requirements","…2 more"],"source":"NLM Clinical Tables","sourceUrl":"https://clinicaltables.nlm.nih.gov","asOf":"2026-10-11T05:34:34.707Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-lookup"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-lookup"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-lookup"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-lookup"}}]}}},"/icd10-parse":{"get":{"operationId":"icd10_parse","summary":"Parse an ICD-10-CM code into category, subcategory and extension, name its chapter, and check its format offline.","description":"Parse an ICD-10-CM code into category, subcategory and extension, name its chapter, and check its format offline.","tags":["icd10","diagnosis","parse"],"parameters":[{"name":"code","in":"query","required":true,"description":"e.g. S52.521A or E119","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"code":{"type":["null","string"]},"category":{"type":["null","string"]},"subclassification":{"type":["null","string"]},"characters":{"type":["null","number"]},"chapter":{"type":["null","object"],"properties":{"number":{"type":["null","number"]},"title":{"type":["null","string"]},"range":{"type":["null","string"]}}},"seventhCharacter":{"type":["null","object"],"properties":{"value":{"type":["null","string"]},"meaning":{"type":["null","string"]},"note":{"type":["null","string"]}}},"isCategoryLevel":{"type":["boolean","null"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"WELL_FORMED","summary":"S52.521A: category S52, chapter 19 (Injury, poisoning and certain other consequences of external causes), subclassification 521A, 7th character A = initial encounter.","reasons":["Format only: well-formed does not mean the code exists. Use /icd10-lookup to check it exists."],"code":"S52.521A","category":"S52","subclassification":"521A","characters":7,"chapter":{"number":19,"title":"Injury, poisoning and certain other consequences of external causes","range":"S00-T88"},"seventhCharacter":{"value":"A","meaning":"initial encounter","note":"applies to injury, fracture and external-cause codes"},"isCategoryLevel":false,"degraded":false,"notChecked":["whether the code exists in the current code set (use /icd10-lookup)","billing validity","…1 more"],"source":"computed locally","asOf":"2026-10-11T05:34:34.961Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-parse"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-parse"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-parse"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-parse"}}]}}},"/icd10-search":{"get":{"operationId":"icd10_search","summary":"Search ICD-10-CM diagnosis codes by words in the description, with the matching codes and their chapters.","description":"Search ICD-10-CM diagnosis codes by words in the description, with the matching codes and their chapters.","tags":["icd10","diagnosis","search"],"parameters":[{"name":"q","in":"query","required":true,"description":"Diagnosis words, e.g. type 2 diabetes","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results 1 to 25 (default 10)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"query":{"type":["null","string"]},"totalMatches":{"type":["null","number"]},"shown":{"type":["null","number"]},"codes":{"type":["array","null"],"items":{"type":"object","properties":{"code":{"type":["null","string"]},"description":{"type":["null","string"]},"chapter":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"MATCHES","summary":"94 code(s) match \"type 2 diabetes\"; top: E11.65 Type 2 diabetes mellitus with hyperglycemia; E11.9 Type 2 diabetes mellitus without complications; E10.A2 Type 1 diabetes mellitus, presymptomatic, Stag…","reasons":["Matches are by text. The best code for a patient depends on documentation: this is not a coding recommendation."],"query":"type 2 diabetes","totalMatches":94,"shown":5,"codes":[{"code":"E11.65","description":"Type 2 diabetes mellitus with hyperglycemia","chapter":4},{"code":"E11.9","description":"Type 2 diabetes mellitus without complications","chapter":4}],"degraded":false,"notChecked":["clinical suitability: choosing a code is a coding judgment this service does not make","ranking by clinical frequency (results are by text relevance)","…1 more"],"source":"NLM Clinical Tables","sourceUrl":"https://clinicaltables.nlm.nih.gov","asOf":"2026-10-11T05:34:35.294Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-search"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-search"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-search"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/icd10-search"}}]}}},"/loinc-lookup":{"get":{"operationId":"loinc_lookup","summary":"LOINC lab test codes: look up a code or search by test name, with the long name and a deprecated-code warning.","description":"LOINC lab test codes: look up a code or search by test name, with the long name and a deprecated-code warning.","tags":["loinc","lab","interoperability","fhir"],"parameters":[{"name":"q","in":"query","required":true,"description":"A LOINC code like 4548-4, or words such as hemoglobin a1c","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results 1 to 25 (default 10)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"loinc":{"type":["null","string"]},"longName":{"type":["null","string"]},"component":{"type":["null","string"]},"deprecated":{"type":["boolean","null"]},"credit":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VALID_CODE","summary":"4548-4: Hemoglobin A1c/Hemoglobin.total in Blood.","reasons":["Active LOINC code.","LOINC is copyright Regenstrief Institute, Inc. and used under the LOINC license (https://loinc.org/license)."],"loinc":"4548-4","longName":"Hemoglobin A1c/Hemoglobin.total in Blood","component":"Hemoglobin A1c/Hemoglobin.total","deprecated":false,"credit":"LOINC is copyright Regenstrief Institute, Inc. and used under the LOINC license (https://loinc.org/license).","degraded":false,"notChecked":["which code a particular lab actually uses (local codes often map to several LOINC codes)","units, reference ranges or clinical interpretation","…1 more"],"source":"NLM Clinical Tables","sourceUrl":"https://clinicaltables.nlm.nih.gov","asOf":"2026-10-11T05:34:35.610Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/loinc-lookup"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/loinc-lookup"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/loinc-lookup"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/loinc-lookup"}}]}}},"/npi-check":{"get":{"operationId":"npi_check","summary":"Validate a US National Provider Identifier (NPI) format and check digit offline; it does not look up the provider.","description":"Validate a US National Provider Identifier (NPI) format and check digit offline; it does not look up the provider.","tags":["npi","provider","validation","identifiers"],"parameters":[{"name":"npi","in":"query","required":true,"description":"10-digit NPI","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"npi":{"type":["null","string"]},"firstDigitMeaning":{"type":["null","string"]},"checkDigit":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VALID_CHECK_DIGIT","summary":"1234567893 has a correct NPI check digit (well formed, not necessarily issued).","reasons":["The check digit uses the Luhn algorithm over the constant prefix 80840 plus the first nine digits."],"npi":"1234567893","firstDigitMeaning":"assigned to individuals and sole proprietors in practice","checkDigit":"3","degraded":false,"notChecked":["whether the NPI was ever issued or is active","who holds it, their specialty or license","…1 more"],"source":"computed locally","asOf":"2026-10-11T05:34:35.875Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/npi-check"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/npi-check"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/npi-check"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://medical-codes.x402tookit.com/npi-check"}}]}}}}}