Directories API
Search diagnosis codes
Look up ICD-10-CM codes by code prefix or description.
GET
https://app.mindbill.org/partner/v2/diagnosis-codesPopulate the diagnosis selector in a bill-entry form. searchDiagnosisCodes() calls this endpoint.
Use this URL with a server API key or a browser session and its exact allowed Origin. Both credentials use the same request and response contract. See the component API inventory for exact paths and SDK methods.
Query parameters
FieldTypeDescription
qstringCode or description search; blank browses the catalog.
limitintegerPage size; default 30, clamped to 1–100.
offsetintegerZero-based offset; default 0.
Examples
curl 'https://app.mindbill.org/partner/v2/diagnosis-codes?q=M25.562&limit=1' \
--header "Authorization: Bearer $MINDBILL_API_KEY"curl 'https://app.mindbill.org/partner/v2/diagnosis-codes?q=M25.562&limit=1' \
--header "Authorization: Bearer $MINDBILL_BROWSER_TOKEN" \
--header 'Origin: https://your-app.example'Response
200 OK
{
"results": [{ "code": "M25.562", "description": "Pain in left knee" }],
"total": 100000,
"matched": 1
}FieldTypeDescription
results[]object[]This page's matches, each with code and description. No data wrapper.
totalintegerFull catalog size, not the number matching the query.
matchedintegerNumber of matches available for the query before pagination.
errorstringPresent when the code set is unavailable; see the error note.