Discover/aapc.com API
live

aapc.com APIaapc.com

Look up CPT, ICD-10-CM, ICD-10-PCS, and HCPCS codes with descriptions, hierarchies, and search via the AAPC Codify API. 13 endpoints.

Endpoints
13
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/2a47e7bb-8773-4144-a7a0-01b82a6cc5ca/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2a47e7bb-8773-4144-a7a0-01b82a6cc5ca/get_cpt_sections' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 13 totalclick to expand

Get top-level CPT code sections. Returns the major CPT code categories (e.g., Anesthesia, Surgery, Radiology).

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "data": "array of CPT section objects each containing label, range, and url",
    "status": "string, always 'success'"
  },
  "sample": {
    "data": [
      {
        "url": "https://www.aapc.com/codes/cpt-codes-range/00100-01999/",
        "label": "Anesthesia",
        "range": "00100-01999"
      },
      {
        "url": "https://www.aapc.com/codes/cpt-codes-range/10004-69990/",
        "label": "Surgery",
        "range": "10004-69990"
      }
    ],
    "status": "success"
  }
}

About the aapc.com API

The AAPC Codify API provides structured access to four major medical code sets across 13 endpoints, covering CPT, ICD-10-CM, ICD-10-PCS, and HCPCS Level II codes. You can browse top-level sections with get_cpt_sections, drill into leaf-level subsections, retrieve individual code details including lay terms and breadcrumbs, or run cross-code-set keyword searches that return a grouped treeview of matching codes.

Hierarchical Code Browsing

CPT codes are navigable in three steps. get_cpt_sections returns the major category groups (e.g., Anesthesia, Surgery, Radiology) with their label, range, and url. Pass one of those ranges to get_cpt_section_detail to get child sub-ranges. Only exact leaf-level ranges work with get_cpt_subsection_codes — intermediate ranges return empty results. That endpoint is paginated (0-indexed page parameter, up to 10 codes per page) and uses next_page in the response to signal additional pages. For a single CPT code, get_cpt_code_detail returns description, lay_term, and breadcrumbs alongside the raw code value.

ICD-10-CM and ICD-10-PCS Coverage

ICD-10-CM browsing mirrors the CPT flow: get_icd10cm_sections returns all chapter groupings, and get_icd10cm_section_detail returns child blocks. Note that the detail response includes sibling chapter navigation items alongside true subsections, so filtering by URL is recommended to isolate subsections. get_icd10cm_code_detail returns excludes1, excludes2, and includes arrays, though these clinical notes are populated mainly at category level (e.g., J18, E11) rather than at specific leaf codes (e.g., A01.0). ICD-10-PCS uses a character-by-character hierarchy: get_icd10pcs_sections returns single-character section codes, and repeated calls to get_icd10pcs_detail with progressively longer code_prefix values (e.g., 0, 0B) walk the seven-character structure.

HCPCS Level II and Search

get_hcpcs_sections returns Level II section groupings, but note that the range values are opaque numeric IDs rather than HCPCS alphanumeric code ranges. Pass these IDs to get_hcpcs_section_detail to retrieve codes with code, label, and description fields; some section IDs return empty arrays. search_codes accepts a query string (keyword or code) and an optional year parameter, returning results grouped by code set in a nested treeview array. Labels within the treeview contain inline HTML that may need stripping before display.

Full CPT Hierarchy Traversal

get_cpt_full_hierarchy lets you retrieve a pre-nested CPT structure in a single call by setting max_depth (1 for top-level sections only, 2 to include subsections, 3 to include sub-subsections). Each node in the returned array may contain a children array of the next level down. This is useful for building navigation trees or local code caches without chaining multiple section-detail calls.

Common use cases
  • Build a CPT code autocomplete widget using search_codes with procedure keyword queries
  • Generate breadcrumb navigation for medical billing UIs using the breadcrumbs field from get_cpt_code_detail
  • Validate ICD-10-CM codes in claim submission workflows using get_icd10cm_code_detail's excludes1 and excludes2 arrays
  • Populate a code-set selector tree in EHR software using get_cpt_full_hierarchy at max_depth 2
  • Cross-reference HCPCS Level II codes with descriptions for DME billing using get_hcpcs_section_detail
  • Support medical coding education tools by walking the ICD-10-PCS seven-character hierarchy via get_icd10pcs_detail
  • Run year-specific code lookups for compliance auditing using the year parameter in search_codes
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does AAPC offer an official developer API for Codify?+
AAPC does not publish a public developer API for Codify. Access to code data through their platform is subscription-based and intended for end users rather than programmatic integration.
Why does get_cpt_subsection_codes return empty results for some ranges?+
The endpoint only works with exact leaf-level ranges from get_cpt_section_detail, not intermediate parent ranges. For example, passing '99202-99215' will return empty results, while the leaf range '99202-99205' will return codes. Use the next_page field in the response to page through larger leaf ranges.
Do the ICD-10-CM code details include coding guidelines or official tabular instructions?+
The get_icd10cm_code_detail endpoint returns excludes1, excludes2, and includes arrays, but these are populated primarily at the category level rather than individual leaf codes. Full official coding guidelines and instructional notes beyond these fields are not currently part of the response. You can fork this API on Parse and revise it to add endpoints targeting additional instructional content.
Does the search endpoint cover ICD-10-PCS codes in addition to ICD-10-CM, CPT, and HCPCS?+
The search_codes endpoint returns results grouped by ICD-10-CM, CPT, and HCPCS in its treeview structure. ICD-10-PCS codes are not currently included in search results. You can fork this API on Parse and revise it to add a dedicated ICD-10-PCS search endpoint.
What does the lay_term field in get_cpt_code_detail contain?+
lay_term is a plain-language description of the CPT code intended for patients or non-clinical audiences. It is separate from the clinical description field, which uses standard CPT terminology. Not all codes have a populated lay_term value.
Page content last updated . Spec covers 13 endpoints from aapc.com.
Related APIs in HealthcareSee all →
goodtherapy.org API
Search and find therapists on GoodTherapy.org by location, name, or specialty, then view detailed profiles including credentials and practice information. Browse available therapists across different locations and filter results by specialty, insurance, language, and more to find the right mental health professional.
radiopaedia.org API
Search medical cases and images on Radiopaedia to find relevant radiology references, and stay updated with the latest articles in medical imaging. Access case details, diagnostic images, and recent content updates all in one place.
tbca.net.br API
Search Brazil's most comprehensive food database to get detailed nutritional profiles, household portion measurements, and statistical composition data for thousands of foods including regional and biodiversity-focused options. Find specific nutrients by component, browse foods by group or type, and access institutional food information all in one place.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
cabi.org API
Search and retrieve detailed information about plant diseases from the CABI Digital Library, including disease characteristics, symptoms, and management strategies. Find specific disease data by name or browse the comprehensive Compendium to identify and understand plant health issues.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.
arztsuche.116117.de API
Find therapists and doctors across Germany by postal code, radius, or medical specialty, getting detailed results with names, addresses, distances, and contact information. Quickly locate healthcare providers that match your needs using Germany's official 116117 doctor search portal.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.