API referencePayers
One payer and its reporting units
GET /v1/payers/{id}
GET https://api.healthcare.dev/v1/payers/{id}Builder plan and up (Free: a few preview calls a month, then 403 plan-upgrade-required). The payer, each reporting unit we hold a prior authorization metrics posting for (Medicare Advantage contract, Medicaid or CHIP program or plan, QHP issuer) and the years posted. 404 for a payer we hold no posting for.
Requires an API key: Authorization: Bearer hdev_live_.... See Authentication.
Path parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | yes | Payer id from GET /v1/payers | humana |
Query parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
view | "compact" | "standard" | "full" | no | How much of each record to return (default full). compact: id, name, years (fewest tokens, for agents). standard: every field except units. full: every field. | compact |
fields | string | no | Comma-separated fields to return instead of a view. Valid fields: id, name, unit_types, states, unit_count, years, units. | id,name,years |
Examples
curl
curl "https://api.healthcare.dev/v1/payers/humana" \
-H "Authorization: Bearer $HDEV_API_KEY"TypeScript
const res = await fetch("https://api.healthcare.dev/v1/payers/humana", {
headers: { Authorization: `Bearer ${process.env.HDEV_API_KEY}` },
});
const { data, meta } = await res.json();Python
import os
import requests
res = requests.get("https://api.healthcare.dev/v1/payers/humana", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()Try it
Response
The payer
{
"data": {
"id": "string",
"name": "string",
"unit_types": [
"ma_contract"
],
"states": [
"string"
],
"unit_count": 1,
"years": [
1
],
"units": [
{
"key": "string",
"type": null,
"id": "string",
"name": "string",
"state": "string",
"segment": "string",
"years": [
null
]
}
]
},
"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/payers/humana",
"next": null
}
}Fields
| Field | Type | Always present | Description |
|---|---|---|---|
id | string | yes | Stable payer id, e.g. humana |
name | string | yes | |
unit_types | PayerUnitType[] | yes | The levels it reports at |
states | string[] | yes | States of its units, where known |
unit_count | integer | yes | Reporting units we hold postings for |
years | integer[] | yes | Years with metrics, newest first |
units | PayerUnitYears[] | yes |
Errors
Errors are application/problem+json (RFC 9457). Branch on type, not on title. See 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. |
| 403 | plan-upgrade-required | The plan doesn't include this feature; required_plan names the plan that does. |
| 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. |