API product

Drug API

Part B drug prices, Part D formulary changes, pharmacy-benefit-manager pay and safety screens.

Sub-APIs
4
Tools
5
With a real answer
5
Doors
2REST, MCP
Medicare Part B·Medicare Part D·employer plans

Sub-APIs

Sub-APIThe question it answersTools
Part B pricesWhat is Medicare's payment limit for this drug this quarter?asp_pricing_lookup
Formulary changeBetween two quarters, which drugs did a formulary add, drop or move to another tier, and which restrictions changed?formulary_churn
PBM compensationWhat did employer plans report paying a named pharmacy benefit manager, by year?pbm_compensation_rollup
Safety screensWas this prescriber paid or prescribing after a federal exclusion, and what did Medicare and Medicaid spend on a recalled drug?excluded_prescriber_payment_screen, recall_spend_window

Part B prices

What is Medicare's payment limit for this drug this quarter?
ToolReturnsRequiredAnswer
asp_pricing_lookup
v1.1.0
Given an HCPCS code or short-description search, returns Medicare Part B ASP quarterly payment-limit rows from drug_silver.fact_drug_asp_quarterly_v2 (is_current) with trend aggregates.none2.82s
curl -X POST https://api.vladahealth.com/v1/tools/asp_pricing_lookup \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"hcpcs_code":"J0129"}'
the answer a customer got·2.82s·status complete·first lines; full answer on asp_pricing_lookup·verbatim
{
 "value": {
  "headline": 45.937,
  "hcpcs_code_query": "J0129",
  "short_description_query": null,
  "effective_periods_covered": [
   "2007-01-01",
   "2007-04-01",
   "2007-07-01",
   "2007-10-01",
   "2008-01-01",
   "2008-04-01",
   "2008-07-01",
   "2008-10-01",
   "2009-01-01",
   "2009-04-01",
   "2009-07-01",
   "2009-10-01",
   "2010-01-01",
   "2010-04-01",
   "2010-07-01",
   "2010-10-01",
   "2011-01-01",
   "2011-04-01",
   "2011-07-01",
   "2011-10-01",
   "2012-01-01",
   "2012-04-01",
   "2012-07-01",
   "2012-10-01",
   "2013-01-01",
   "2013-04-01",
   "2013-07-01",
   "2013-10-01",
   "2014-01-01",
   "2014-04-01",
   "2014-07-01",
   "2014-10-01",
   "2015-01-01",
   "2015-04-01",
   "2015-07-01",
   "2015-10-01",
   "2016-01-01",
   "2016-04-01",
   "2016-07-01",
   "2016-10-01",
   "2017-01-01",
   "2017-04-01",
   "2017-07-01",
   "2017-10-01",
   "2018-01-01",
   "2018-04-01",
   "2018-07-01",
   "2018-10-01",
   "2019-01-01",
   "2019-04-01",
   "2019-07-01",
   "2019-10-01",
   "2020-01-01",
   "2020-04-01",
   "2020-07-01",
   "2020-10-01",
   "2021-01-01",
   "2021-04-01",
   "2021-07-01",
   "2021-10-01",
   "2022-01-01",
   "2022-04-01",
   "2022-07-01",
   "2022-10-01",
   "2023-01-01",
   "2023-04-01",
   "2023-07-01",
   "2023-10-01",
   "2024-01-01",
   "2024-04-01",
   "2024-07-01",
   "2024-10-01",
   "2025-01-01",
   "2025-04-01",
   "2025-07-01",
   "2025-10-01",
   "2026-01-01",
   "2026-04-01",
   "2026-07-01",
   "2026-10-01"
  ],
  "truncated": false,
  "aggregates": {
   "n_rows": 80,
   "n_distinct_hcpcs": 1,
   "min_payment_limit_usd": 18.688,
   "max_payment_limit_usd": 58.103,
   "mean_payment_limit_usd": 36.2652875,
   "median_payment_limit_usd": 42.730500000000006,
   "payment_limit_by_effective_period": {
    "2007-01
…

Formulary change

Between two quarters, which drugs did a formulary add, drop or move to another tier, and which restrictions changed?
ToolReturnsRequiredAnswer
formulary_churn
v1.0.0
Given a quarter-pair (report_quarter_from, report_quarter_to) AND a formulary or plan filter, returns the formulary delta: drugs added, drugs dropped, drugs re-tiered, and optionalreport_quarter_from, report_quarter_to14.21s
curl -X POST https://api.vladahealth.com/v1/tools/formulary_churn \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"report_quarter_from":"2024-Q3","report_quarter_to":"2024-Q4","contract_id_filter":"H1036"}'
the answer a customer got·14.21s·status complete·first lines; full answer on formulary_churn·verbatim
{
 "value": {
  "headline": 2.0,
  "report_quarter_from": "2024-Q3",
  "report_quarter_to": "2024-Q4",
  "formulary_ids_compared": [
   "00019434",
   "00019435",
   "00019436",
   "00019440",
   "00019442",
   "00019444",
   "00019445",
   "00019449",
   "00019450",
   "00020457",
   "00020458",
   "00020459",
   "00020460",
   "00020461",
   "00020462",
   "00020463",
   "00020467",
   "00020468",
   "00021450",
   "00021454",
   "00021456",
   "00021457",
   "00021460",
   "00021461",
   "00021462",
   "00022520",
   "00022524",
   "00022525",
   "00022526",
   "00022530",
   "00022531",
   "00022532",
   "00023492",
   "00023493",
   "00023496",
   "00023497",
   "00023503",
   "00023505",
   "00023506",
   "00023511",
   "00024492",
   "00024493",
   "00024495",
   "00024496",
   "00024499",
   "00024500",
   "00024502",
   "00024504",
   "00024507",
   "00025456",
   "00025458",
   "00025460",
   "00025461",
   "00025462",
   "00025463",
   "00025464",
   "00026408",
   "00026409",
   "00026411",
   "00026412"
  ],
  "truncated_by_category": {
   "added": true,
   "dropped": true,
   "tier_changed": false,
   "control_changed": false
  },
  "include_control_changes": false,
  "churn_rate_definition": "churn_rate = (drugs added + drugs dropped + drugs re-tiered) / drugs on the formulary in the FROM quarter. It counts CHANGE EVENTS per drug that was on the formulary at the start, so it is >= 0 and CAN EXCEED 1: a formulary that drops everything and adds an equal number of new drugs scores 2.0. It is not a percentage of the formulary and must not be read as one. For bounded readings use share_dropped (dropped / FROM-quarter drugs, 0-1) and share_added (added / TO-quarter drugs, 0-1).",
  "churn_rate_range": {
   "minimum": 0.0,
   "maximum": null,
   "unit": "change 
…

PBM compensation

What did employer plans report paying a named pharmacy benefit manager, by year?
ToolReturnsRequiredAnswer
pbm_compensation_rollup
v2.0.0
Sums Form 5500 Schedule C direct + indirect compensation for a named PBM across one or more plan years.pbm_name7.15s
curl -X POST https://api.vladahealth.com/v1/tools/pbm_compensation_rollup \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"pbm_name":"OptumRx","year_min":2023,"year_max":2023,"detail_limit":5}'
the answer a customer got·7.15s·status complete·first lines; full answer on pbm_compensation_rollup·verbatim
{
 "value": {
  "headline": 1461686909.0,
  "pbm_name_query": "OptumRx",
  "canonical_pbm_name": "OptumRx",
  "alias_resolution_applied": true,
  "year_min": 2023,
  "year_max": 2023,
  "status": "ok",
  "total_direct_comp_usd": 1461686909.0,
  "total_indirect_comp_usd": 4164066.0,
  "provider_row_count": 295,
  "distinct_filings": 295,
  "distinct_eins": 9,
  "distinct_provider_names": 15,
  "outlier_rows_over_threshold": 3,
  "max_single_direct_comp_usd": 221743869.0,
  "null_indirect_rows": 58,
  "aliases_searched": [
   "Catamaran",
   "OPTUM RX",
   "OPTUMRX",
   "OptumRx"
  ],
  "alias_attribution": [
   {
    "alias_form": "CATAMARAN",
    "spellings": [
     "Catamaran"
    ],
    "provider_rows": 1,
    "distinct_filings": 1,
    "direct_comp_usd": 20260.0
   },
   {
    "alias_form": "OPTUM RX",
    "spellings": [
     "OPTUM RX"
    ],
    "provider_rows": 143,
    "distinct_filings": 143,
    "direct_comp_usd": 425110391.0
   },
   {
    "alias_form": "OPTUMRX",
    "spellings": [
     "OPTUMRX",
     "OptumRx"
    ],
    "provider_rows": 152,
    "distinct_filings": 152,
    "direct_comp_usd": 1036576518.0
   }
  ],
  "provider_name_lines": [
   {
    "provider_name": "OPTUMRX, INC.",
    "provider_rows": 75,
    "distinct_filings": 75,
    "direct_comp_usd": 481597723.0,
    "indirect_comp_usd": 883910.0
   },
   {
    "provider_name": "OPTUMRX, INC",
    "provider_rows": 29,
    "distinct_filings": 29,
    "direct_comp_usd": 301831683.0,
    "indirect_comp_usd": 475817.0
   },
   {
    "provider_name": "OPTUM RX INC.",
    "provider_rows": 53,
    "distinct_filings": 53,
    "direct_comp_usd": 279592482.0,
    "indirect_comp_usd": 1099991.0
   },
   {
    "provider_name": "OPTUMRX INC.",
    "provider_rows": 3,
    "distinct_filings": 3,
    "direct_comp_
…

Safety screens

Was this prescriber paid or prescribing after a federal exclusion, and what did Medicare and Medicaid spend on a recalled drug?
ToolReturnsRequiredAnswer
excluded_prescriber_payment_screen
v1.2.0
Given an NPI (10-digit), returns OIG LEIE exclusion status and — if excluded — any Open Payments received OR Part D prescribing activity recorded AFTER the exclusion date (and before any reinstatement).npi4.7s
recall_spend_window
v2.0.0
Given an FDA-assigned recall_number, returns recall metadata plus Medicare Part D and Medicaid SDUD federal spend on the recalled drug during the recall window (initiation -> termirecall_number10.97s
curl -X POST https://api.vladahealth.com/v1/tools/excluded_prescriber_payment_screen \
  -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" \
  -d '{"npi":"1447200742"}'
the answer a customer got·4.7s·status complete·first lines; full answer on excluded_prescriber_payment_screen·verbatim
{
 "value": {
  "headline": 0.0,
  "npi": "1447200742",
  "npi_query": "1447200742",
  "is_excluded": false,
  "exclusion_status": "not_in_leie",
  "leie_asserted_at": "2026-11-04",
  "exclusion_record": null,
  "post_exclusion_payments_total_usd": 0.0,
  "post_exclusion_payments_count": 0,
  "post_exclusion_pdp_total_drug_cost_usd": 0.0,
  "post_exclusion_pdp_total_claims": 0,
  "payments_by_year": [],
  "top_manufacturers": [],
  "zero_basis": "no LEIE exclusion for this NPI, so no post-exclusion window exists to measure payments or prescribing in. The zero is by construction, not an empty read."
 },
 "unit": "USD",
 "result_status": "answered",
 "methodology_era": {
  "era_name": "leie_monthly_refresh_post_2026_05_16",
  "era_start": "2026-05-16",
  "era_end": "2099-12-31"
 },
 "methodology_blend_factors": null,
 "source": {
  "source_url": "medicare://excluded_prescriber_payment_screen"
 },
 "vintage": "as_restated",
 "cms_vintage_sequence": 1,
 "parse_revision": 1,
 "as_of_observed": null,
 "as_of_asserted": null,
 "as_of_effective": null,
 "caveats": [],
 "confidence": null,
 "finality_confidence": null,
 "response_hash": "9a47b7708ff85a59ab1811fe59bfb05d00f26855a2386855b1a24c87b86c0525",
 "semantic_version": 1,
 "tool_version": "1.2.0",
 "parser_artifact_hash": "0b11193fb97519397f53ffe2917938b1bf95f408fccb5bae6d356b17ef22a148",
 "parser_artifact_hash_basis": "tool_source_sha256",
 "signature": null,
 "tenant_id": "probe-customer-canary",
 "status": "complete",
 "audit_id": "df0efd8e-9393-4243-8a45-ef9fedb46308",
 "timestamp": "2026-11-19T21:57:34.370979Z",
 "request_id": "5d2bb4b4-6997-4cff-ba5e-e50ddd012562",
 "audience": "customer",
 "answer": {
  "value": 0.0,
  "value_ref": "value",
  "unit": "USD",
  "scope": {
   "tool": "excluded_prescriber_payment_screen"
…

Limits

  1. 1Average sales price is CMS's quarterly figure for Part B drugs, not a pharmacy price.

What sets it apart

Formulary change between two quarters by drug and plan, from the files CMS publishes.

This page as markdown: /docs-md/products/drugs.md · every page in one file: /llms-full.txt