{"api":{"id":"api_b6a2194c72bad4608114d35d","slug":"medicare-part-d-prescribing-by-state","name":"Medicare Drug Prescribing by State","description":"Medicare Part D prescribing totals per drug for the nation and each U.S. state: prescribers, claims, 30-day fills, drug cost and patients, with the 65-and-over share, patient cost sharing and opioid, antibiotic and antipsychotic flags. Search by brand or generic name and compare several drugs in one run.","kind":"ready_made","visibility":"public","domain":"data.cms.gov","source_url":"https://data.cms.gov/provider-summary-by-type-of-service/medicare-part-d-prescribers/medicare-part-d-prescribers-by-geography-and-drug","category":"health","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":24,"created_at":"2026-12-06T03:33:09.228Z","updated_at":"2026-12-06T03:33:09.228Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"geo_level","type":"string","description":"national for the U.S. total, state for a state, territory or other area.","required":true,"coverage":1,"example":"national"},{"name":"geo_code","type":"string","description":"Two-character FIPS code of the state or area, such as 47 for Tennessee; empty for the national row.","required":false,"coverage":0.6,"example":"01"},{"name":"state_code","type":"string","description":"Two-letter postal code of the state or territory, such as TN; empty for the national row, Unknown and Foreign Country.","required":false,"coverage":0.6,"example":"AL"},{"name":"geo_name","type":"string","description":"Name of the area: National, or the state, territory or other area such as Tennessee.","required":true,"coverage":1,"example":"National"},{"name":"brand_name","type":"string","description":"Brand name of the drug, such as Ozempic; for generic drugs, the generic product name.","required":true,"coverage":1,"example":"Mounjaro"},{"name":"generic_name","type":"string","description":"Generic (chemical) name of the drug, such as Semaglutide.","required":false,"coverage":1,"example":"Tirzepatide"},{"name":"prescribers","type":"integer","description":"Number of distinct prescribers with claims for the drug in the area.","required":false,"coverage":1,"example":194653},{"name":"claims","type":"integer","description":"Number of Part D claims (original prescriptions and refills).","required":false,"coverage":1,"example":5103556},{"name":"thirty_day_fills","type":"number","description":"Number of standardized 30-day fills, which counts a 90-day supply as three.","required":false,"coverage":1,"example":6093348.5},{"name":"drug_cost","type":"money","description":"Total gross drug cost of the claims in the year.","required":false,"coverage":1,"example":6334739184.5},{"name":"beneficiaries","type":"integer","description":"Number of distinct Medicare patients with claims; empty when under 11.","required":false,"coverage":1,"example":894243},{"name":"claims_65_plus","type":"integer","description":"Claims for patients aged 65 and over; empty when CMS hides small counts.","required":false,"coverage":1,"example":3800814},{"name":"thirty_day_fills_65_plus","type":"number","description":"Standardized 30-day fills for patients aged 65 and over.","required":false,"coverage":1,"example":4569326.9},{"name":"drug_cost_65_plus","type":"money","description":"Gross drug cost for patients aged 65 and over.","required":false,"coverage":1,"example":4733920249.9},{"name":"beneficiaries_65_plus","type":"integer","description":"Distinct patients aged 65 and over; empty when CMS hides small counts.","required":false,"coverage":1,"example":679553},{"name":"lis_beneficiary_cost_share","type":"money","description":"Total paid out of pocket by patients who get Medicare's low-income subsidy (Extra Help).","required":false,"coverage":1,"example":7237215.22},{"name":"non_lis_beneficiary_cost_share","type":"money","description":"Total paid out of pocket by patients without the low-income subsidy.","required":false,"coverage":1,"example":377984271.11},{"name":"is_opioid","type":"boolean","description":"True when CMS marks the drug as an opioid.","required":false,"coverage":1,"example":false},{"name":"is_long_acting_opioid","type":"boolean","description":"True when CMS marks the drug as a long-acting opioid.","required":false,"coverage":1,"example":false},{"name":"is_antibiotic","type":"boolean","description":"True when CMS marks the drug as an antibiotic.","required":false,"coverage":1,"example":false},{"name":"is_antipsychotic","type":"boolean","description":"True when CMS marks the drug as an antipsychotic.","required":false,"coverage":1,"example":false},{"name":"currency","type":"string","description":"Currency of the money figures: USD.","required":false,"coverage":1,"example":"USD"},{"name":"data_year","type":"integer","description":"Calendar year the prescriptions are from.","required":false,"coverage":1,"example":2024},{"name":"url","type":"url","description":"Link to this row in CMS's data API, as JSON.","required":false,"coverage":1,"example":"https://data.cms.gov/data-api/v1/dataset/c8ea3f8e-3a09-4fea-86f2-8902fb4b0920/data?filter%5BPrscrbr_Geo_Lvl%5D=National&…"}],"inputs":[{"name":"drug","type":"string","description":"Brand or generic name, or part of one, such as Ozempic or semaglutide. Several drugs separated by commas, such as Ozempic, Mounjaro, Trulicity, come back together.","example":"Ozempic"},{"name":"geo_level","type":"string","description":"Which rows: national and state rows (all, the default), state rows only, or the national total only.","default":"all","enum":["all","state","national"]},{"name":"state","type":"string","description":"Only this state or territory, by name or two-letter code, such as Tennessee or TN.","example":"Tennessee"},{"name":"drug_type","type":"string","description":"Only drugs CMS marks as opioids, long-acting opioids, antibiotics or antipsychotics. any keeps every drug.","default":"any","enum":["any","opioid","long_acting_opioid","antibiotic","antipsychotic"]},{"name":"sort","type":"string","description":"Order of the rows: by area and drug name (the default: national first, then states), most claims, highest drug cost or most prescribers first.","default":"geography","enum":["geography","most_claims","highest_cost","most_prescribers"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"beneficiaries":{"description":"Number of distinct Medicare patients with claims; empty when under 11.","type":"integer"},"beneficiaries_65_plus":{"description":"Distinct patients aged 65 and over; empty when CMS hides small counts.","type":"integer"},"brand_name":{"description":"Brand name of the drug, such as Ozempic; for generic drugs, the generic product name.","type":"string"},"claims":{"description":"Number of Part D claims (original prescriptions and refills).","type":"integer"},"claims_65_plus":{"description":"Claims for patients aged 65 and over; empty when CMS hides small counts.","type":"integer"},"currency":{"description":"Currency of the money figures: USD.","type":"string"},"data_year":{"description":"Calendar year the prescriptions are from.","type":"integer"},"drug_cost":{"description":"Total gross drug cost of the claims in the year.","type":"number"},"drug_cost_65_plus":{"description":"Gross drug cost for patients aged 65 and over.","type":"number"},"generic_name":{"description":"Generic (chemical) name of the drug, such as Semaglutide.","type":"string"},"geo_code":{"description":"Two-character FIPS code of the state or area, such as 47 for Tennessee; empty for the national row.","type":"string"},"geo_level":{"description":"national for the U.S. total, state for a state, territory or other area.","type":"string"},"geo_name":{"description":"Name of the area: National, or the state, territory or other area such as Tennessee.","type":"string"},"is_antibiotic":{"description":"True when CMS marks the drug as an antibiotic.","type":"boolean"},"is_antipsychotic":{"description":"True when CMS marks the drug as an antipsychotic.","type":"boolean"},"is_long_acting_opioid":{"description":"True when CMS marks the drug as a long-acting opioid.","type":"boolean"},"is_opioid":{"description":"True when CMS marks the drug as an opioid.","type":"boolean"},"lis_beneficiary_cost_share":{"description":"Total paid out of pocket by patients who get Medicare's low-income subsidy (Extra Help).","type":"number"},"non_lis_beneficiary_cost_share":{"description":"Total paid out of pocket by patients without the low-income subsidy.","type":"number"},"prescribers":{"description":"Number of distinct prescribers with claims for the drug in the area.","type":"integer"},"state_code":{"description":"Two-letter postal code of the state or territory, such as TN; empty for the national row, Unknown and Foreign Country.","type":"string"},"thirty_day_fills":{"description":"Number of standardized 30-day fills, which counts a 90-day supply as three.","type":"number"},"thirty_day_fills_65_plus":{"description":"Standardized 30-day fills for patients aged 65 and over.","type":"number"},"url":{"description":"Link to this row in CMS's data API, as JSON.","format":"uri","type":"string"}},"required":["geo_level","geo_name","brand_name"],"title":"Medicare Drug Prescribing by State","type":"object"},"samples":[{"geo_level":"national","geo_code":null,"state_code":null,"geo_name":"National","brand_name":"Mounjaro","generic_name":"Tirzepatide","prescribers":194653,"claims":5103556,"thirty_day_fills":6093348.5,"drug_cost":6334739184.5,"beneficiaries":894243,"claims_65_plus":3800814,"thirty_day_fills_65_plus":4569326.9,"drug_cost_65_plus":4733920249.9,"beneficiaries_65_plus":679553,"lis_beneficiary_cost_share":7237215.22,"non_lis_beneficiary_cost_share":377984271.11,"is_opioid":false,"is_long_acting_opioid":false,"is_antibiotic":false,"is_antipsychotic":false,"currency":"USD","data_year":2024,"url":"https://data.cms.gov/data-api/v1/dataset/c8ea3f8e-3a09-4fea-86f2-8902fb4b0920/data?filter%5BPrscrbr_Geo_Lvl%5D=National&filter%5BPrscrbr_Geo_Desc%5D=National&filter%5BBrnd_Name%5D=Mounjaro&filter%5BGnrc_Name%5D=Tirzepatide"},{"geo_level":"national","geo_code":null,"state_code":null,"geo_name":"National","brand_name":"Ozempic","generic_name":"Semaglutide","prescribers":286517,"claims":10413554,"thirty_day_fills":14353450.6,"drug_cost":12965808790,"beneficiaries":1951892,"claims_65_plus":8040161,"thirty_day_fills_65_plus":11218675.4,"drug_cost_65_plus":10101528421,"beneficiaries_65_plus":1533376,"lis_beneficiary_cost_share":16408117.89,"non_lis_beneficiary_cost_share":755885613.65,"is_opioid":false,"is_long_acting_opioid":false,"is_antibiotic":false,"is_antipsychotic":false,"currency":"USD","data_year":2024,"url":"https://data.cms.gov/data-api/v1/dataset/c8ea3f8e-3a09-4fea-86f2-8902fb4b0920/data?filter%5BPrscrbr_Geo_Lvl%5D=National&filter%5BPrscrbr_Geo_Desc%5D=National&filter%5BBrnd_Name%5D=Ozempic&filter%5BGnrc_Name%5D=Semaglutide"},{"geo_level":"state","geo_code":"01","state_code":"AL","geo_name":"Alabama","brand_name":"Mounjaro","generic_name":"Tirzepatide","prescribers":3749,"claims":175463,"thirty_day_fills":202481,"drug_cost":212612831.22,"beneficiaries":28948,"claims_65_plus":115281,"thirty_day_fills_65_plus":132731.4,"drug_cost_65_plus":138640895.92,"beneficiaries_65_plus":19422,"lis_beneficiary_cost_share":264259.95,"non_lis_beneficiary_cost_share":9023406.9,"is_opioid":false,"is_long_acting_opioid":false,"is_antibiotic":false,"is_antipsychotic":false,"currency":"USD","data_year":2024,"url":"https://data.cms.gov/data-api/v1/dataset/c8ea3f8e-3a09-4fea-86f2-8902fb4b0920/data?filter%5BPrscrbr_Geo_Lvl%5D=State&filter%5BPrscrbr_Geo_Desc%5D=Alabama&filter%5BBrnd_Name%5D=Mounjaro&filter%5BGnrc_Name%5D=Tirzepatide"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"beneficiaries":1,"beneficiaries_65_plus":1,"brand_name":1,"claims":1,"claims_65_plus":1,"currency":1,"data_year":1,"drug_cost":1,"drug_cost_65_plus":1,"generic_name":1,"geo_code":0.33,"geo_level":1,"geo_name":1,"is_antibiotic":1,"is_antipsychotic":1,"is_long_acting_opioid":1,"is_opioid":1,"lis_beneficiary_cost_share":1,"non_lis_beneficiary_cost_share":1,"prescribers":1,"state_code":0.33,"thirty_day_fills":1,"thirty_day_fills_65_plus":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_b6a2194c72bad4608114d35d/run","openapi":"https://pullrow.dev/v1/apis/api_b6a2194c72bad4608114d35d/openapi.json","contract":"https://pullrow.dev/v1/apis/api_b6a2194c72bad4608114d35d/contract.json","page":"https://pullrow.dev/catalog/medicare-part-d-prescribing-by-state"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Figures are for the latest year CMS has published in its Medicare Part D Prescribers by Geography and Drug data (calendar 2024 as of December 2026). CMS adds a year about once a year; data_year names the year of each row.","Covers prescriptions paid by Medicare Part D drug plans, both stand-alone and Medicare Advantage drug plans. Drugs given in a doctor's office or hospital (Part B) and other insurers are not part of this data.","Rows are totals per drug and area, never per prescriber. CMS leaves out a drug in an area with fewer than 11 claims and blanks patient counts under 11, so beneficiaries and the 65-and-over figures are sometimes empty.","Drug cost is the gross amount paid by the plan, the patient and other payers (ingredient cost, dispensing fee, sales tax), before manufacturer rebates, in U.S. dollars.","Brand and generic names are as CMS lists them and are cut at 30 characters. For generic drugs, brand_name holds the generic product name. A drug search matches part of either name.","At most 10,000 rows per run. One drug has about 60 rows: the nation plus states, territories and other areas.","CMS data is public domain and CMS does not endorse this API."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"geo_level","label":"Place level","description":"national for the U.S. total, state for a state, territory or other area.","group":"Basics","shown":true,"written":false},{"name":"geo_code","label":"Place code","description":"Two-character FIPS code of the state or area, such as 47 for Tennessee; empty for the national row.","group":"Basics","shown":true,"written":false},{"name":"state_code","label":"State code","description":"Two-letter postal code of the state or territory, such as TN; empty for the national row, Unknown and Foreign Country.","group":"Location","shown":true,"written":false},{"name":"geo_name","label":"Place name","description":"Name of the area: National, or the state, territory or other area such as Tennessee.","group":"Basics","shown":true,"written":false},{"name":"brand_name","label":"Brand name","description":"Brand name of the drug, such as Ozempic; for generic drugs, the generic product name.","group":"Basics","shown":true,"written":false},{"name":"generic_name","label":"Generic name","description":"Generic (chemical) name of the drug, such as Semaglutide.","group":"Basics","shown":true,"written":false},{"name":"prescribers","label":"Prescribers","description":"Number of distinct prescribers with claims for the drug in the area.","group":"Basics","shown":true,"written":false},{"name":"claims","label":"Claims","description":"Number of Part D claims (original prescriptions and refills).","group":"Basics","shown":true,"written":false},{"name":"thirty_day_fills","label":"Thirty day fills","description":"Number of standardized 30-day fills, which counts a 90-day supply as three.","group":"Basics","shown":true,"written":false},{"name":"drug_cost","label":"Drug cost","description":"Total gross drug cost of the claims in the year.","group":"Pay","shown":true,"written":false},{"name":"beneficiaries","label":"Beneficiaries","description":"Number of distinct Medicare patients with claims; empty when under 11.","group":"Basics","shown":true,"written":false},{"name":"claims_65_plus","label":"Claims 65 plus","description":"Claims for patients aged 65 and over; empty when CMS hides small counts.","group":"Basics","shown":true,"written":false},{"name":"thirty_day_fills_65_plus","label":"Thirty day fills 65 plus","description":"Standardized 30-day fills for patients aged 65 and over.","group":"Basics","shown":true,"written":false},{"name":"drug_cost_65_plus","label":"Drug cost 65 plus","description":"Gross drug cost for patients aged 65 and over.","group":"Pay","shown":true,"written":false},{"name":"beneficiaries_65_plus","label":"Beneficiaries 65 plus","description":"Distinct patients aged 65 and over; empty when CMS hides small counts.","group":"Basics","shown":true,"written":false},{"name":"lis_beneficiary_cost_share","label":"Lis beneficiary cost share","description":"Total paid out of pocket by patients who get Medicare's low-income subsidy (Extra Help).","group":"Pay","shown":true,"written":false},{"name":"non_lis_beneficiary_cost_share","label":"Non lis beneficiary cost share","description":"Total paid out of pocket by patients without the low-income subsidy.","group":"Pay","shown":true,"written":false},{"name":"is_opioid","label":"Opioid","description":"Yes when CMS marks the drug as an opioid.","group":"Basics","shown":true,"written":false},{"name":"is_long_acting_opioid","label":"Long acting opioid","description":"Yes when CMS marks the drug as a long-acting opioid.","group":"Basics","shown":true,"written":false},{"name":"is_antibiotic","label":"Antibiotic","description":"Yes when CMS marks the drug as an antibiotic.","group":"Basics","shown":true,"written":false},{"name":"is_antipsychotic","label":"Antipsychotic","description":"Yes when CMS marks the drug as an antipsychotic.","group":"Basics","shown":true,"written":false},{"name":"currency","label":"Currency","description":"Currency of the money figures: USD.","group":"Pay","shown":true,"written":false},{"name":"data_year","label":"Data year","description":"Calendar year the prescriptions are from.","group":"Dates","shown":true,"written":false},{"name":"url","label":"Link","description":"Link to this row in CMS's data API, as JSON.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"drug","label":"Drug","help":"Brand or generic name, or part of one, such as Ozempic or semaglutide. Several drugs separated by commas, such as Ozempic, Mounjaro, Trulicity, come back together.","example":"Ozempic","written":false},{"name":"geo_level","label":"Place level","help":"Which rows: national and state rows (all, the default), state rows only, or the national total only.","example":"","written":false},{"name":"state","label":"State","help":"Only this state or territory, by name or two-letter code, such as Tennessee or TN.","example":"Tennessee","written":false},{"name":"drug_type","label":"Drug type","help":"Only drugs CMS marks as opioids, long-acting opioids, antibiotics or antipsychotics. any keeps every drug.","example":"","written":false},{"name":"sort","label":"Sort","help":"Order of the rows: by area and drug name (the default: national first, then states), most claims, highest drug cost or most prescribers first.","example":"","written":false}]}},"incidents":[]}