{"uid":"cap_P-e-7r8VVITg_PAaVbWZs","slug":"cms-medicare-part-d-prescriber-by-drug-lookup-07e27a41","name":"CMS Medicare Part D Prescriber-by-Drug Lookup","description":"CMS Medicare Part D prescriber rows (by provider and drug): prescriber NPI, name, specialty, state, drug name, claims, 30-day fills and total drug cost. Filter by 10-digit NPI, or by generic drug name with an optional state. Up to 20 rows per call.","url":"https://api.healthtravel-api.workers.dev/api/health/cms-medicare-part-d?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"max":{"type":"string","description":"How many rows, 1 to 20 (default 5)"},"npi":{"type":"string","description":"10-digit prescriber NPI, optional (use this or generic)"},"state":{"type":"string","description":"Two-letter state code, optional"},"generic":{"type":"string","description":"Generic drug name, letters and spaces, optional"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":{"npi":null,"state":"VT","generic":"Isosorbide Mononitrate"},"source":"https://data.cms.gov/provider-summary-by-type-of-service/medicare-part-d-prescribers/medicare-part-d-prescribers-by-provider-and-drug","checkedAt":"2026-10-23T09:36:25.073Z","prescriptions":[{"npi":"1003857178","city":"Berlin","name":"Laura Felsted","state":"VT","claims":30,"brandName":"Isosorbide Mononitrate Er","specialty":"Internal Medicine","fills30day":51,"genericName":"Isosorbide Mononitrate","totalDrugCost":650.4},{"npi":"1013082098","city":"Rutland","name":"Bartholomew Bonazinga","state":"VT","claims":41,"brandName":"Isosorbide Mononitrate Er","specialty":"Cardiology","fills30day":75,"genericName":"Isosorbide Mononitrate","totalDrugCost":877.48}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HI-AcBJeGWTGqSE6BGg5s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns CMS Medicare Part D prescribing rows filtered by prescriber NPI or generic drug name (with optional state), including claims counts, 30-day fills, and total drug cost.","exampleAgentPrompt":"Pull up to 10 CMS Medicare Part D prescribing rows for doctors in Texas who prescribe Metformin — I want to see their names, specialties, claim counts, 30-day fills, and total drug costs.","exampleUseCases":[{"title":"Drug prescribing patterns by state","prompt":"Show me the top 15 Medicare Part D prescribers of Atorvastatin in California — include their specialty, number of claims, and total drug cost."},{"title":"Prescriber profile for a known NPI","prompt":"Get me the Medicare Part D prescribing records for NPI 1003857178 — I need to see what drugs they prescribed, how many claims, and the total drug cost."},{"title":"Research generic drug utilization","prompt":"Find up to 20 CMS Medicare Part D rows for Lisinopril prescribers in New York so I can analyze how widely it's being prescribed and at what cost."}],"resultDescription":"A JSON object containing the query parameters echoed back, a source URL pointing to data.cms.gov, a timestamp, and an array of up to 20 prescription rows each with: prescriber NPI, name, city, state, specialty, generic drug name, brand drug name, claim count, 30-day fill count, and total drug cost.","failureModes":["No results returned if the NPI does not exist in Part D data or has no drug claims","Empty results if the generic drug name is misspelled or not in CMS data","Invalid NPI format (must be exactly 10 digits) may yield no matches","Invalid or missing state code returns no state-filtered results","Both NPI and generic omitted may return unfiltered or error response","Rate limits or payment failures under x402 protocol return HTTP 402"],"whenToPreferThis":"Use this endpoint when you need structured Medicare Part D prescribing data tied to a specific prescriber (by NPI) or a specific generic drug (optionally filtered by state). It is ideal for healthcare analytics, prescriber profiling, drug utilization research, and compliance workflows that rely on CMS open data. Prefer this over general web search when you need structured, machine-readable claim counts, 30-day fills, and drug costs directly from CMS.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:34:23.555Z","isFirstParty":false,"canonicalSlug":"cms-medicare-part-d-prescriber-by-drug-lookup-07e27a41"}