Codes

This endpoint allows the client to retrieve a list of Codes.

GET /api/v1/codes#

Code Lookup Service.

Parameters#

  • list (required) โ€” The code list id.
  • code (optional) โ€” The Provider Id to filter by. It is the last set digits of the id.
  • q (optional) - A list of search terms to filter by.
  • activeOnly (optional) - Return only active codes. Defaults to true.
  • consolidate (optional) - Collapse NDC codes based on EPA logic.
  • sortBy (optional) - The field to sort the results by. Allowed: value, code
  • sortDirection (optional) - The direction to sort the results. Allowed: asc, desc
  • codeOnly (optional) - The code only.
  • start (optional) - The first code in a range of codes
  • end (optional) - The last code in a range of codes

Example Request#

GET https://apps.availity.com/api/v1/codes?list=PDMTAXONOMY

Example Response#

{
"totalCount": 862,
"count": 50,
"offset": 0,
"limit": 50,
"links": {
"next": {
"href": "https://test-apps.availity.com/api/v1/codes?list=PDMTAXONOMY&offset=50&limit=50"
},
"last": {
"href": "https://test-apps.availity.com/api/v1/codes?list=PDMTAXONOMY&offset=850&limit=50"
},
"self": {
"href": "https://test-apps.availity.com/api/v1/codes?list=PDMTAXONOMY"
}
},
"codes": [
{
"code": "251B00000X",
"value": "AGENCIES|CASE MANAGEMENT|NOT APPLICABLE"
},
{
"code": "251S00000X",
"value": "AGENCIES|COMMUNITY/BEHAVIORAL HEALTH|NOT APPLICABLE"
},
{
"code": "251C00000X",
"value": "AGENCIES|DAY TRAINING, DEVELOPMENTALLY DISABLED SERVICES|NOT APPLICABLE"
},
{
"code": "252Y00000X",
"value": "AGENCIES|EARLY INTERVENTION PROVIDER AGENCY|NOT APPLICABLE"
},
{
"code": "253J00000X",
"value": "AGENCIES|FOSTER CARE AGENCY|NOT APPLICABLE"
},
{
"code": "251E00000X",
"value": "AGENCIES|HOME HEALTH|NOT APPLICABLE"
},
{
"code": "251F00000X",
"value": "AGENCIES|HOME INFUSION|NOT APPLICABLE"
},
{
"code": "251G00000X",
"value": "AGENCIES|HOSPICE CARE, COMMUNITY BASED|NOT APPLICABLE"
},
{
"code": "253Z00000X",
"value": "AGENCIES|IN HOME SUPPORTIVE CARE|NOT APPLICABLE"
},
{
"code": "251300000X",
"value": "AGENCIES|LOCAL EDUCATION AGENCY (LEA)|NOT APPLICABLE"
},
{
"code": "251J00000X",
"value": "AGENCIES|NURSING CARE|NOT APPLICABLE"
},
{
"code": "251T00000X",
"value": "AGENCIES|PACE PROVIDER ORGANIZATION|NOT APPLICABLE"
},
{
"code": "251K00000X",
"value": "AGENCIES|PUBLIC HEALTH OR WELFARE|NOT APPLICABLE"
},
{
"code": "251X00000X",
"value": "AGENCIES|SUPPORTS BROKERAGE|NOT APPLICABLE"
},
{
"code": "251V00000X",
"value": "AGENCIES|VOLUNTARY OR CHARITABLE|NOT APPLICABLE"
},
{
"code": "207KA0200X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ALLERGY & IMMUNOLOGY|ALLERGY"
},
{
"code": "207KI0005X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ALLERGY & IMMUNOLOGY|CLINICAL & LABORATORY IMMUNOLOGY"
},
{
"code": "207K00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ALLERGY & IMMUNOLOGY|NOT APPLICABLE"
},
{
"code": "207LA0401X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ANESTHESIOLOGY|ADDICTION MEDICINE"
},
{
"code": "207LC0200X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ANESTHESIOLOGY|CRITICAL CARE MEDICINE"
},
{
"code": "207LH0002X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ANESTHESIOLOGY|HOSPICE AND PALLIATIVE MEDICINE"
},
{
"code": "207L00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ANESTHESIOLOGY|NOT APPLICABLE"
},
{
"code": "207LP2900X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ANESTHESIOLOGY|PAIN MEDICINE"
},
{
"code": "207LP3000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ANESTHESIOLOGY|PEDIATRIC ANESTHESIOLOGY"
},
{
"code": "208U00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|CLINICAL PHARMACOLOGY|NOT APPLICABLE"
},
{
"code": "208C00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|COLON & RECTAL SURGERY|NOT APPLICABLE"
},
{
"code": "207NI0002X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|DERMATOLOGY|CLINICAL & LABORATORY DERMATOLOGICAL IMMUNOLOGY"
},
{
"code": "207ND0900X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|DERMATOLOGY|DERMATOPATHOLOGY"
},
{
"code": "207ND0101X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|DERMATOLOGY|MOHS-MICROGRAPHIC SURGERY"
},
{
"code": "207N00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|DERMATOLOGY|NOT APPLICABLE"
},
{
"code": "207NP0225X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|DERMATOLOGY|PEDIATRIC DERMATOLOGY"
},
{
"code": "207NS0135X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|DERMATOLOGY|PROCEDURAL DERMATOLOGY"
},
{
"code": "204R00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|ELECTRODIAGNOSTIC MEDICINE|NOT APPLICABLE"
},
{
"code": "207PE0004X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|EMERGENCY MEDICAL SERVICES"
},
{
"code": "207PH0002X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|HOSPICE AND PALLIATIVE MEDICINE"
},
{
"code": "207PT0002X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|MEDICAL TOXICOLOGY"
},
{
"code": "207P00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|NOT APPLICABLE"
},
{
"code": "207PP0204X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|PEDIATRIC EMERGENCY MEDICINE"
},
{
"code": "207PS0010X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|SPORTS MEDICINE"
},
{
"code": "207PE0005X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|EMERGENCY MEDICINE|UNDERSEA AND HYPERBARIC MEDICINE"
},
{
"code": "207QA0401X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|ADDICTION MEDICINE"
},
{
"code": "207QA0000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|ADOLESCENT MEDICINE"
},
{
"code": "207QA0505X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|ADULT MEDICINE"
},
{
"code": "207QG0300X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|GERIATRIC MEDICINE"
},
{
"code": "207QH0002X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|HOSPICE AND PALLIATIVE MEDICINE"
},
{
"code": "207Q00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|NOT APPLICABLE"
},
{
"code": "207QB0002X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|OBESITY MEDICINE"
},
{
"code": "207QS1201X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|SLEEP MEDICINE"
},
{
"code": "207QS0010X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|FAMILY MEDICINE|SPORTS MEDICINE"
},
{
"code": "208D00000X",
"value": "ALLOPATHIC & OSTEOPATHIC PHYSICIANS|GENERAL PRACTICE|NOT APPLICABLE"
}
]
}