# Look up a provider taxonomy code

URL: https://docs.healthcare.dev/reference/taxonomies/look-up-a-provider-taxonomy-code

```http
GET https://api.healthcare.dev/v1/taxonomies/{code}
```

NUCC Health Care Provider Taxonomy code with classification, specialization and definition. Returns 503 `dataset-unavailable` until the NUCC license is in place.

Requires an API key: `Authorization: Bearer hdev_live_...`. See [Authentication](/authentication).

> **Not public yet.** NUCC taxonomy descriptions need a commercial license, so these endpoints return `503 dataset-unavailable` until it is signed. Provider records will still carry taxonomy codes.

## Path parameters

| Name | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `code` | string | yes | 10-character NUCC taxonomy code | `207Q00000X` |

## Query parameters

| Name | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `view` | "compact" \| "full" | no | `compact` returns only the fields an agent usually needs (fewer tokens); `full` (default) returns every field | `compact` |
| `fields` | string | no | Comma-separated record fields to return, e.g. `code,display,billable` | `code,display,billable` |

## Examples

**curl**

```sh
curl "https://api.healthcare.dev/v1/taxonomies/207Q00000X" \
  -H "Authorization: Bearer $HDEV_API_KEY"
```

**TypeScript**

```ts
const res = await fetch("https://api.healthcare.dev/v1/taxonomies/207Q00000X", {
  headers: { Authorization: `Bearer ${process.env.HDEV_API_KEY}` },
});
const { data, meta } = await res.json();
```

**Python**

```python
import os
import requests

res = requests.get("https://api.healthcare.dev/v1/taxonomies/207Q00000X", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()
```

## Response

The taxonomy

```json
{
  "data": {
    "code": "207Q00000X",
    "grouping": "(NUCC grouping)",
    "classification": "(NUCC classification)",
    "specialization": null,
    "display_name": "(NUCC display name)",
    "definition": null,
    "notes": null,
    "section": "Individual",
    "status": "active",
    "effective_start": "2026-07-01",
    "effective_end": null,
    "replaced_by": []
  },
  "meta": {
    "source": "cms-icd10",
    "data_version": "2026.1",
    "retrieved_at": "2026-10-24T12:00:00Z",
    "license": "Public domain (CMS). Reference data, not medical advice."
  },
  "links": {
    "self": "/v1/taxonomies/207Q00000X",
    "next": null
  }
}
```

### Fields

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `code` | string | yes |  |
| `grouping` | string | yes |  |
| `classification` | string | yes |  |
| `specialization` | string \| null | yes |  |
| `display_name` | string | yes |  |
| `definition` | string \| null | yes |  |
| `notes` | string \| null | yes |  |
| `section` | "individual" \| "non-individual" | yes |  |
| `status` | "active" \| "retired" \| "replaced" | yes |  |
| `effective_start` | string (date) | yes |  |
| `effective_end` | string \| null (date) | yes |  |
| `replaced_by` | string[] | no |  |

## Errors

Errors are `application/problem+json` ([RFC 9457](https://www.rfc-editor.org/rfc/rfc9457)). Branch on `type`, not on `title`. See [Errors](/errors).

| Status | `type` | When |
| --- | --- | --- |
| 400 | `invalid-request` | A parameter or the body failed validation; `errors` lists each field. |
| 401 | `unauthorized` | Missing, malformed or revoked API key. |
| 404 | `not-found` | No record with that id (retired records are still returned). |
| 429 | `rate-limited / quota-exceeded` | Too many requests per second (retry after `Retry-After`), or the monthly quota is used up. |
| 503 | `dataset-unavailable / unavailable` | The dataset has no published version yet, or the service is degraded. |
