API reference/Healthcare/Medicare Drug Spending

Medicare Drug Spending

Medicare Part D spending, claims and beneficiaries per drug over five years, with price-per-unit growth.

GET/api/v1/healthcare/medicare/drug-spending

Data source

Query parameters

ParameterDescriptionTry value
drug
string required
Brand or generic name contains
byManufacturer
boolean
Split by manufacturer (default false)
limit
number
Rows (default 10)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.