Cms Open Payments
v0.2.1CMS Open Payments, with annual dataset discovery through the official DKAN API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_payments_top_companies
Rank the drug and device manufacturers that paid US physicians and teaching hospitals the most in a program year — the "who spends the most on doctors" question. Returns each company with its total US dollars, payment count and how many distinct recipients it reached, ordered by spend. CMS publishes no aggregate and its live API cannot group over the 14-million-row payment table, so this reads a summary computed offline; the response states the program year and when the summary was refreshed. Payments are disclosures of transfers of value, not evidence of wrongdoing.
| Parameter | Type | Description |
|---|---|---|
company | string | Optional: one company, to get its total rather than the ranking. Matched case-insensitively. |
limit | number | Companies to return, 1-200 (default 25). |
program_year | number | Program year, e.g. 2025. Defaults to the most recent year loaded — the response always says which. |
open_payments_search
THE source for pharma/device industry money to doctors — "payments from manufacturers to physicians", "which drug companies paid this doctor", "Sunshine Act data", "industry payments to hospitals". Search one CMS Open Payments program-year dataset using structured recipient, company, product, geography, payment-nature, and amount filters. CAPABILITY LIMIT, state it rather than guessing: this source can look up and filter but CANNOT rank ALL manufacturers by total spend ("which manufacturer paid the most" is not computable live — the 14M-row aggregation times out upstream); answer those by…
| Parameter | Type | Description |
|---|---|---|
company | string | Case-insensitive company-name substring. |
limit | number | Results (1-100, default 25). |
minimum_amount | number | Minimum reported payment in USD. |
nature | string | Exact nature of payment. |
offset | number | Pagination offset (0-10000). |
payment_type | string | Default General. |
product | string | Case-insensitive associated-product substring across all five product fields. |
recipient_first_name | string | Exact recipient first name, to disambiguate a common surname (e.g. last_name "PATEL" + first_name "RIPAL"). |
recipient_last_name | string | Exact recipient last name. CMS stores names uppercase; case is normalized for you. Pair with recipient_first_name — a common surname alone matches many practitioners. |
recipient_npi | string | Exact 10-digit NPI. |
state | string | Exact two-letter recipient state. |
year | number | Program year (2019-current published year; default latest). |
open_payments_physician
Find CMS Open Payments records for a physician/non-physician practitioner by exact NPI in one program year. Returns the authoritative total match count plus a bounded payment sample; reported relationships do not imply misconduct. If you have a name rather than an NPI, resolve it first against the NPPES registry (npi_individual in the clinicaltables pack), or use open_payments_search with recipient_last_name + recipient_first_name.
| Parameter | Type | Description |
|---|---|---|
npi * | string | Exact 10-digit NPI. |
limit | number | Payment rows (1-100, default 50). |
payment_type | string | |
year | number | Program year; default latest. |
open_payments_company
Search payments reported by a manufacturer or GPO in one CMS Open Payments program year. Company matching is a case-insensitive substring and may combine similarly named legal entities.
| Parameter | Type | Description |
|---|---|---|
company * | string | |
limit | number | |
minimum_amount | number | |
offset | number | |
payment_type | string | |
year | number |
open_payments_product
Search general-payment records associated with a named drug, biologic, device, or medical supply across all five CMS product slots. Product association is reporting-entity supplied and does not prove the payment was exclusively for that product.
| Parameter | Type | Description |
|---|---|---|
product * | string | |
company | string | |
limit | number | |
offset | number | |
year | number |
open_payments_research
Search CMS research-payment records by company, recipient NPI, study name, or state for one program year. Amounts may represent funding routed through an institution and should not automatically be attributed as personal compensation.
| Parameter | Type | Description |
|---|---|---|
company | string | |
limit | number | |
minimum_amount | number | |
offset | number | |
recipient_npi | string | |
state | string | |
study | string | Case-insensitive study-name substring. |
year | number |
open_payments_recipient_history
Build a cross-year CMS Open Payments history for an exact recipient NPI. Returns authoritative annual match counts plus bounded samples; sampled dollar totals are explicitly not full-dataset totals.
| Parameter | Type | Description |
|---|---|---|
npi * | string | |
from_year | number | |
payment_type | string | |
sample_per_year | number | Rows per year (1-100, default 25). |
to_year | number |
open_payments_company_history
Build a cross-year CMS Open Payments history for a company-name substring. Annual counts are authoritative for that query; dollar figures cover only the returned bounded sample and company aliases may split or combine legal entities.
| Parameter | Type | Description |
|---|---|---|
company * | string | |
from_year | number | |
payment_type | string | |
sample_per_year | number | |
to_year | number |
open_payments_product_history
Build a cross-year general-payment history for a reported product-name substring across CMS product slots. Product association is reporter-supplied; sample dollar amounts are not complete annual totals.
| Parameter | Type | Description |
|---|---|---|
product * | string | |
company | string | |
from_year | number | |
sample_per_year | number | |
to_year | number |
open_payments_compare_companies
Compare 2–5 company-name queries across CMS Open Payments program years using authoritative match counts and clearly labeled bounded samples. This does not compare complete spend unless every matching row fits in the sample.
| Parameter | Type | Description |
|---|---|---|
companies * | array | |
from_year | number | |
payment_type | string | |
sample_per_year | number | |
to_year | number |
open_payments_nature_breakdown
Break down the bounded payment sample for one recipient, company, or product across years by reported nature of payment. Counts and dollars in the breakdown are sample statistics; annual total_matches remains the authoritative query count.
| Parameter | Type | Description |
|---|---|---|
company | string | |
from_year | number | |
npi | string | |
product | string | |
sample_per_year | number | |
to_year | number |