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
1mo 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 →
icd.kcb.vn API
Look up Vietnamese ICD-10 medical diagnostic and procedure codes with detailed information, or browse the complete hierarchy of all available codes in the system. Quickly find the specific clinical codes you need for medical records, billing, or healthcare documentation.
bzaek.de API
Access comprehensive German dental and medical fee schedules (GOZ and GOÄ) with detailed billing codes, pricing information, analog codes, and legal rulings to streamline your practice billing and coding decisions. Search specific procedures, browse organized sections, and review professional statements to ensure accurate fee assessment and compliance.
npidb.org API
Search for healthcare providers and organizations by name to instantly retrieve their credentials, contact information, and specialty taxonomy codes from the National Provider Identifier database. Look up detailed provider profiles to verify qualifications and find the right medical professionals for your needs.
mayocliniclabs.com API
Search and browse Mayo Clinic Laboratories' medical test catalog to retrieve detailed information on thousands of available tests, including descriptions, specimen requirements, clinical and interpretive data, performance characteristics, fees and codes, and setup details. Use autocomplete and alphabetical browsing to quickly locate specific tests or explore the full catalog.
naics.com API
Find NAICS industry classification codes and their detailed descriptions by searching keywords or browsing all available codes to identify the right sector and industry classification for your business. Get comprehensive information including code numbers, sector titles, and related industry details to ensure accurate business categorization.
wcotradetools.org API
Quickly look up official HS 2022 product classifications, browse the complete hierarchy of sections, chapters, headings, and subheadings, and search for specific commodity codes used in international trade. Organize product data with standardized, normalized classification information perfect for inventory systems and customs documentation.
openmd.com API
Look up medical terms, abbreviations, and word parts to understand healthcare terminology, browse health resources by category, and access research guides on various medical topics. Find dangerous drug abbreviations and prescription shorthand to stay informed about medication safety.
apollo247.com API
Search and compare medicines, view detailed product information, discover lab tests, and locate nearby Apollo 24|7 pharmacy stores. Browse medical specialties and popular diagnostic services to plan your healthcare needs in one convenient platform.