Medicare Part B drug pricing from CMS — payment limits, ASP, HCPCS codes and NDC crosswalks. Four ways in, depending on what you are building.
Ask in plain language from Claude — "what does Medicare pay for infliximab?" — instead of writing code. Best for analysts and ad-hoc work.
https://www.medpharmdata.com/mcpsearch_hcpcs_codes — drug name to HCPCS codeget_payment_limit — payment limit and ASPget_ndcs_for_hcpcs — NDCs and billing unitslist_quarters — what data is loadedPull pricing into a billing system, a spreadsheet job or a warehouse. Best for anything scheduled or repeated.
https://www.medpharmdata.com/api/v1/Search a drug, read its pricing history quarter by quarter, see the NDC crosswalk and leave comments for your team. No setup.
Pricing history as CSV from any drug page, and quarter-over-quarter change reports as Excel. Best for a one-off analysis you want to hand to someone else.
| If you want to… | Use |
|---|---|
| Ask questions conversationally, explore, sanity-check a number | MCP server |
| Refresh a fee schedule on a schedule | REST API — batch endpoint |
| Reproduce what a price was in a past quarter | REST API — ?quarter= |
| Look one drug up by hand | The website |
| Topic | Where |
|---|---|
| Authentication — API keys and headers | Docs › Authentication |
| Endpoints, parameters and error codes | Docs › Endpoints |
| How to read the ASP — it is an estimate, and biosimilars differ | Docs › Reading the numbers |
| Rate limits | Docs › Limits and errors |
| Which quarters are loaded | https://www.medpharmdata.com/api/v1/quarters/ |
Need an API key, a higher rate limit, or something the API does not cover yet? Get in touch.