Skip to content
Pharma Observatory a Scientist.com platform

Drugs: pharma drugs

The pharma drugs commands, with each dataset's columns, units and source credit.

A drug at the resolved-substance grain: the molecule a brand, a salt form or an investigational arm resolves to, with its development, approval, patent, safety and pricing picture. A drug the drugs dataset marks is_molecule false has no chemical-entities page.

Id: A molecule key, the id the chemical-entities and profile pages use: unii:<UNII>, ndc:<name> or investigational:<hash>. Every drugs dataset takes this same id in its molecule_id column. The id of a salt form or a folded trial arm (the drug_id other datasets carry) is accepted and answers its molecule with a redirect.

Commands

Drugs commands
Command Reads
pharma drugs list Drugs
pharma drugs get <id> One drug and the datasets reachable from it
pharma drugs get <id> brand-companies Brand companies
pharma drugs get <id> brand-revenue Brand revenue
pharma drugs get <id> catalysts Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events
pharma drugs get <id> drug-approvals Drug approvals
pharma drugs get <id> drug-asp-codes Drug ASP payment limits
pharma drugs get <id> drug-brands Drug brands
pharma drugs get <id> drug-combinations Drug combinations
pharma drugs get <id> drug-declared-patents Drug declared patents
pharma drugs get <id> drug-investigators Investigators on a drug's trials
pharma drugs get <id> drug-label-safety Drug label safety
pharma drugs get <id> drug-medicare-spend Drug Medicare spend
pharma drugs get <id> drug-patent-cliff Patent-cliff exposure
pharma drugs get <id> drug-patent-mentions Drug patent mentions
pharma drugs get <id> drug-patent-owners Drug patent owners
pharma drugs get <id> drug-pricing Drug pricing (NADAC)
pharma drugs get <id> drug-recalls Drug recalls
pharma drugs get <id> drug-regulatory Drug regulatory status
pharma drugs get <id> drug-sites Drug sites
pharma drugs get <id> drug-targets Drug targets
pharma drugs get <id> drug-trial-conditions Drug trial conditions
pharma drugs get <id> drug-trials Drug trials
pharma drugs get <id> drug-variants Drug variants
pharma drugs get <id> pdufa-dates FDA decision dates (PDUFA) and catalysts
pharma drugs get <id> programs Programs
pharma drugs get <id> sec-pdufa-dates FDA dates disclosed in SEC filings
pharma drugs get <id> trial-drugs Trial drugs

Every command takes the paging, sorting and output flags described on the CLI page; the CLI prints the source credit with every result.

Drugs

Command
pharma drugs list

The drugs object type's primary dataset: one row per resolved drug, the molecule a brand, a salt form or an investigational arm resolves to, with its identity, development, approval and patent-mention headline.

One row per
resolved drug (a molecule, a combination product or an investigational drug)
Key columns
molecule_id

Source: FDA Global Substance Registration System (UNII) (Public domain); FDA Drugs@FDA (Public domain); ChEMBL, EMBL-EBI (CC BY-SA 3.0); ClinicalTrials.gov via AACT, CTTI (CC BY); SureChEMBL, EMBL-EBI (CC BY-SA 4.0)

Columns 33
Drugs columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
molecule_name text The drug's display name, from its lead record.
substance_name text The preferred substance name in the FDA substance registry.
inn_name text The International Nonproprietary Name (INN) where one is recorded.
unii text The FDA Unique Ingredient Identifier (UNII) of the lead record.
cas text The Chemical Abstracts Service (CAS) registry number of the lead record.
chembl_id text The ChEMBL compound id of the lead record.
substance_type text The registry's substance type (chemical, protein, mixture and so on).
atc_code text The Anatomical Therapeutic Chemical (ATC) code.
atc_class text The top-level ATC class.
pharm_class text The pharmacologic class the FDA registry gives the substance.
is_biologic boolean True when the substance is a biologic, by the registry, Drugs@FDA or the Purple Book.
is_marketed boolean True when the drug has a package in the US National Drug Code (NDC) directory.
withdrawn boolean True when ChEMBL records the drug as withdrawn somewhere.
approved_anywhere boolean True when the drug is approved in at least one jurisdiction.
approved_in text[] The regulators whose approval is recorded (FDA, EMA, Health Canada).
first_approval_year integer calendar year The earliest approval year ChEMBL records.
max_phase integer phase The highest development phase reached across the folded records (4 is approved).
n_trials integer trials Registered trials that study the drug or a record folded under it.
n_members integer records Drug records folded into this drug, the lead included.
member_ids text[] The drug record ids folded into this drug, the lead included. The ids other datasets name drug_id.
variant_count integer records Variant records folded under the molecule; null when the drug is not a molecule.
brands text[] The brand keys that resolve to the drug.
brand_count integer brands The number of brand keys.
is_molecule boolean True when the drug has a chemical-entities page.
is_combination boolean True when the drug is a combination product of two or more components.
has_boxed_warning boolean True when the drug's current label carries a boxed warning; null when no label is on record.
smiles text The canonical SMILES string of the structure (ChEMBL).
inchikey text The InChIKey of the structure (ChEMBL).
n_patent_mentions integer patents Patents that mention the drug in the SureChEMBL corpus.
n_patent_families integer families Distinct patent families among those mentions.
first_patent_mention date Publication date of the earliest mentioning patent.
last_patent_mention date Publication date of the latest mentioning patent.

Brand companies

Command
pharma drugs get <id> brand-companies

Every FDA applicant of record behind a brand, resolved or not, one row per brand, role and applicant name: the approval holder and the generic applicants. Where drug_brands names the one holder, this lists them all.

One row per
brand, company role and applicant name
Key columns
molecule_id, brand_key, company_role, applicant_name_key

Source: FDA Drugs@FDA (Public domain); FDA Orange Book and Purple Book (Public domain)

Columns 17
Brand companies columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
brand_key text The brand key: an upper-case alphanumeric trade-name token (the brand's leading name tokens), the same key the brands pages use. Not a display name; brand_name is the display form.
company_role text The applicant's role for the brand: approval_holder or generic_applicant.
applicant_name_key text The normalised applicant name, the grain key that separates two spellings of one applicant.
applicant_name text The applicant name FDA published, as filed.
applicant_org_id text Legal-entity level: the applicant's organization record (null when unresolved).
applicant_company_id text Company level: the applicant's company (null when unresolved).
applicant_company_name text Display name of the applicant's company.
applicant_group_id text Group level: the applicant's current ultimate parent company; a root company's group is itself.
applicant_group_name text Display name of the applicant's group.
match_scope text How firmly the applicant name resolved to the organization (spine_unique, anchored and establishment_registry are folded onto an organization the spine already held; anchored_scoped, registry_scoped, alias_scoped and none are newly minted organizations). Null when the applicant did not resolve.
n_applications integer applications Distinct FDA applications the applicant holds for the brand.
first_approval_date date The earliest approval date among those applications.
latest_approval_date date The latest approval date among those applications.
is_marketed_now boolean True when at least one of the applicant's products is currently marketed.
source_systems text[] The FDA records the applicant was read from (Drugs@FDA, Orange Book, Purple Book).
as_of date The ingest snapshot date the row was read from.

Brand revenue

Command
pharma drugs get <id> brand-revenue

The revenue a company discloses in its SEC filings for a brand, one row per drug, brand, reporting company, fiscal year, basis and geography. Group by fiscal year with revenue_basis and geography both worldwide for a brand's headline series; by fiscal year and basis for the US and ex-US split; by geography for the regional lines.

One row per
drug, brand, reporting company, fiscal year, basis and geography
Key columns
molecule_id, brand_key, reporter_org_id, fiscal_year, revenue_basis, geography

Source: US SEC EDGAR

Columns 22
Brand revenue columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
brand_key text The brand key: an upper-case alphanumeric trade-name token (the brand's leading name tokens), the same key the brands pages use. Not a display name; brand_name is the display form.
product_name text The product name as filed.
reporter_org_id text Legal-entity level: the SEC filer that reported the figure, as filed (edgar:<CIK>).
reporter_company_id text Company level: the reporting company's company (null when unresolved).
reporter_company_name text Display name of the reporting company's company.
reporter_group_id text Group level: the reporting company's current ultimate parent company; a root company's group is itself.
reporter_group_name text Display name of the reporting company's group.
fiscal_year integer fiscal year The fiscal year of the figure.
revenue_basis text The standardised basis: worldwide, us, ex_us, region or country.
geography text The normalised geography: worldwide, us or ex_us for the spine (equal to the basis), the filer's own label for a region or country line.
revenue_usd_millions double USD millions The figure in USD millions (null where no unit or exchange rate is available).
revenue_amount double The figure as reported, in reporting_unit and revenue_currency; can be negative for adjustment or return lines.
revenue_currency text The filing's currency (ISO code).
reporting_unit text The filing's reporting unit (units, thousands, millions or billions); null when the filing did not state a readable one.
as_reported boolean True when the figure comes from the filing for its own fiscal year, false when it is a comparative year read from a later filing.
n_filings integer filings Distinct filings that report the figure.
restated boolean True when several filings report the figure and differ by more than one percent.
confidence double The extraction's confidence in the line, 0 to 1.
source_url text The link to the SEC filing the figure was extracted from.
evidence_quote text The sentence of the filing the figure was extracted from.
match_method text How the product name matched the brand: alias_prefix, product_prefix or curated_alias. A label of the mechanism, not a confidence.

Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events

Command
pharma drugs get <id> catalysts

One dated forward calendar of trial readouts, patent cliffs, FDA decision dates and Benzinga press-release events, entered from a company or a legal entity.

One row per
dated forward event
Key columns
event_id

Source: Benzinga FDA / PDUFA calendar and press-release catalysts (Licensed data; not for redistribution); US SEC EDGAR; ClinicalTrials.gov via AACT (CC BY); US FDA Orange Book and Purple Book, US Patent and Trademark Office

Columns 37
Catalysts: trial readouts, patent cliffs, FDA decision dates and press-release events columns
Column Type Unit Description
event_id text The event key: event_type, a colon and source_record_id. Unique.
event_type text What the event is: readout (a trial's primary completion), patent_cliff (loss of exclusivity), pdufa (an FDA decision date or advisory committee) or press_release (a Benzinga press-release event).
event_category text The kind of event within its type. readout: primary_completion. patent_cliff: the cliff basis (curated_loe, orange_book_patent, pte_expiry, bpcia_exclusivity). pdufa: the calendar's own category (pdufa, advisory_committee and others). press_release: the Benzinga event token, lowercased (clinical_trial_result, pdufa_assignment, data_presentation and others). Open vocabulary on the last two.
source text The lane the row came from: ctgov (ClinicalTrials.gov), drug_exclusivity (the exclusivity registers), benzinga, both or sec_extraction (the PDUFA calendar, the same values as pdufa_dates) or benzinga_press_release.
source_record_id text The key of the row in its source, to join back to trials.trial_id, drug_patent_cliff.drug_id, pdufa_dates.pdufa_date_id or the press-release event id.
restriction_tier text none for an open row (ClinicalTrials.gov, the exclusivity registers, the SEC lane of the PDUFA calendar); licensable for a Benzinga row (the calendar or a press release). The api view gates rows on it.
event_date date date The date the calendar sorts on: a readout's primary completion date, the cliff date, the decision date, or the end of the press-release event's date window.
event_year integer calendar year The calendar year of event_date; the x axis of a by-year count.
date_start date Start of the date interval the source states (the first day of the month for a readout the registry filed by month).
date_end date End of the date interval the source states.
date_precision text Precision of the date (day, month, quarter, half, year, fuzzy, relative). A readout is month where the registry filed only a month, in which case event_date is the last day of that month.
date_phrase text The date as the source words it (an ISO date for a readout and a cliff; the press release's own phrase, such as H2 2026).
date_status text For a readout, whether the registry's completion date is estimated or actual (an anticipated date counts as estimated); null on the other legs.
trial_id text The ClinicalTrials.gov registry id (readout rows).
trial_title text The trial's brief title (readout rows).
phase text The registry's phase code (readout rows).
phase_label text The trial phase as a display label (readout rows).
overall_status text The registry's overall status code (readout rows).
related_trial_ids text[] The registry ids a press-release event names; null on the other legs.
outcome text The outcome a press-release event reports (a decided event stays in the forward book); null on the other legs.
indication_text text The indication as the source words it (PDUFA and press-release rows).
condition_id text The condition key (PDUFA rows).
condition_name text The condition's name (PDUFA rows).
source_type text Kind of source document (SEC filing for the SEC lane, Press release for a press-release event); null on the open legs.
source_url text Link to the source document (PDUFA and press-release rows).
drug_name text The drug name as filed or its display name; null on a readout (its drugs are the list drug_ids).
drug_id text The drug key of a patent-cliff, PDUFA or press-release row; null on a readout and where the drug did not resolve.
molecule_id text The molecule key (PDUFA and press-release rows).
drug_ids text[] Every drug key of the event: a readout carries each drug of its trial, sorted; the other legs carry their one drug, or an empty array. The drug predicate of a watchlist is '<drug>' = ANY(drug_ids).
sponsor_role text What the organization is on the row: lead_sponsor (readout), applicant (patent cliff, the FDA applicant of record), sponsor (PDUFA) or issuer (press release, the company the ticker names).
sponsor_name text The organization's name as filed; null on a press-release row (the source names a ticker, not an organization).
sponsor_org_id text Legal-entity level: the organization record (a readout's lead sponsor, a cliff's applicant, a PDUFA row's filing organization; for a press release the identity hub's resolved entity for the ticker). Null when unresolved.
sponsor_company_id text Company level: the company the organization belongs to (null when unresolved).
sponsor_company_name text Display name of the organization's company.
sponsor_group_id text Group level: the organization's current ultimate parent company; a root company's group is itself.
sponsor_group_name text Display name of the organization's group.
ticker text Exchange ticker (PDUFA and press-release rows).

Drug approvals

Command
pharma drugs get <id> drug-approvals

The regulators that have approved a drug, one row per drug and authority.

One row per
drug and approving authority
Key columns
molecule_id, authority

Source: FDA Drugs@FDA (Public domain); European Medicines Agency; Health Canada Drug Product Database (Open Government Licence - Canada)

Columns 6
Drug approvals columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
authority text The approving authority.
jurisdiction text The jurisdiction the authority covers.
status text The approval status the source states.
first_approval_date date The earliest authorisation or first-marketed date the source gives.
approval_id text The product number the authority uses (EMA product number or Health Canada drug identification number).

Drug ASP payment limits

Command
pharma drugs get <id> drug-asp-codes

The Medicare Part B average sales price (ASP) payment limits of a drug's billing codes, one row per drug and Healthcare Common Procedure Coding System (HCPCS) code.

One row per
drug and HCPCS code
Key columns
molecule_id, hcpcs

Source: CMS Medicare Part B average sales price (ASP) pricing files (Public domain)

Columns 6
Drug ASP payment limits columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
hcpcs text The HCPCS billing code.
hcpcs_desc text The code's short description.
hcpcs_dosage text The billing unit the code is priced per.
asp_payment_limit numeric USD The Medicare payment limit per billing unit.
priced_ndcs integer packages Packages priced under the code.

Drug brands

Command
pharma drugs get <id> drug-brands

The approved brands of a drug, one row per drug and brand, with the approval holder of record and the latest disclosed worldwide revenue. The way into every brand fact: a brand key found here is the key the brand companies and brand revenue datasets filter on, and its molecule_id is the key of the drug-level datasets (pricing, spend, patent owners).

One row per
drug and approved brand
Key columns
molecule_id, brand_key

Source: FDA Drugs@FDA (Public domain); FDA Orange Book and Purple Book (Public domain); RxNorm, US National Library of Medicine (Public domain); US SEC EDGAR

Columns 22
Drug brands columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
brand_key text The brand key: an upper-case alphanumeric trade-name token (the brand's leading name tokens), the same key the brands pages use. Not a display name; brand_name is the display form.
brand_name text The brand's display name (the brand key in display case).
molecule_name text The display name of the drug the brand is a brand of.
approved_anywhere boolean True when the drug is approved in at least one jurisdiction.
is_marketed boolean True when the drug, or a record folded under it, has a package in the US National Drug Code (NDC) directory.
atc_class text The top-level Anatomical Therapeutic Chemical (ATC) class of the drug.
is_biologic boolean True when the drug is a biologic.
first_approval_year integer calendar year The earliest approval year ChEMBL records for the drug.
holder_name text The FDA approval holder's name as filed, present only when the brand has exactly one holder name.
holder_org_id text Legal-entity level: the approval holder's organization record (null when the brand has no holder, more than one, or an unresolved one).
holder_company_id text Company level: the approval holder's company (null when unresolved).
holder_company_name text Display name of the approval holder's company.
holder_group_id text Group level: the approval holder's current ultimate parent company; a root company's group is itself.
holder_group_name text Display name of the approval holder's group.
holder_match_scope text How firmly the holder name resolved to the organization (spine_unique, anchored and establishment_registry are folded onto an organization the spine already held; anchored_scoped, registry_scoped, alias_scoped and none are newly minted organizations). Null when the brand has no single holder organization.
n_holder_names integer names Distinct approval-holder names FDA publishes for the brand (0 for a brand with no FDA applicant, an RxNorm-only brand).
n_holder_orgs integer organizations Distinct organizations those names resolve to; above 1 with a null holder_org_id means more than one company holds the brand.
holder_as_of date The ingest snapshot date the holder was read from.
headline_indication text The brand's headline indication: the one most often named in the filings that disclose its revenue.
latest_revenue_usd_millions double USD millions The brand's latest disclosed worldwide revenue in USD millions (null when none is disclosed).
latest_revenue_year integer fiscal year The fiscal year of latest_revenue_usd_millions.

Drug combinations

Command
pharma drugs get <id> drug-combinations

The combination products a drug is a component of, and the components of a combination product, one row per drug, related drug and direction.

One row per
drug, related drug and direction
Key columns
molecule_id, related_drug_id, relation

Source: RxNorm, US National Library of Medicine (Public domain); FDA Global Substance Registration System (UNII) (Public domain)

Columns 8
Drug combinations columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
relation text has_component when the related drug is a component of this drug; component_of when this drug is a component of the related drug.
related_drug_id text The molecule key of the related drug.
related_drug_name text The related drug's display name.
combination_id text A stable id for this drug, direction and related drug.
n_components integer components Components in the combination product.
combo_unii_mixture boolean True when the registry itself lists the combination as a mixture substance.
has_ingredient_confirmed boolean True when RxNorm's ingredient list confirms the components.

Drug declared patents

Command
pharma drugs get <id> drug-declared-patents

The patents the Orange Book and USPTO term-extension records declare for a drug, one row per drug, patent and assignee.

One row per
drug, patent and assignee
Key columns
molecule_id, patent_id, assignee_sequence

Source: FDA Orange Book and Purple Book (Public domain); USPTO patent term extensions (35 U.S.C. 156) (Public domain); PatentsView, USPTO (CC BY 4.0)

Columns 21
Drug declared patents columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
patent_id text The patent id in the patent dimension.
assignee_sequence integer The assignee's order on the patent; -1 when there is none.
patent_number text The patent number.
patent_title text The patent title.
patent_date date The date the patent was granted.
declared_expiry date The expiry declared for the drug.
appl_nos text[] The drug application numbers the patent is declared against.
link_basis text The record that ties the patent to the drug (orange_book or uspto_pte).
link_bases text[] Every record that ties the patent to the drug.
has_ped_extension boolean True when the Orange Book lists a pediatric exclusivity extension.
assignee_organization text The assignee as filed.
assignee_org_id text Legal-entity level: the assignee's organization record (null when unresolved).
assignee_company_id text Company level: the assignee's company (null when unresolved).
assignee_company_name text Display name of the assignee's company.
assignee_group_id text Group level: the assignee's current ultimate parent company; a root company's group is itself.
assignee_group_name text Display name of the assignee's group.
org_in_spine boolean True when the assignee is an organization record in the spine.
resolution_method text How the assignee was matched to an organization.
match_confidence text The match confidence (high, med, low).
owner_basis text Why the assignee is, or is not, on record.

Investigators on a drug's trials

Command
pharma drugs get <id> drug-investigators

The investigators named on trials of a drug (the molecule and every record folded under it), one row per drug and resolved investigator, with the distinct trial count, the person's principal investigator flag and the roles held on those trials.

One row per
drug (molecule) and resolved investigator named on a trial of the drug
Key columns
molecule_id, investigator_person_id

Source: ClinicalTrials.gov via AACT, CTTI (CC BY)

Columns 8
Investigators on a drug's trials columns
Column Type Unit Description
molecule_id text The drug's resolved id (the same value as molecule_id on the drugs dataset). The entry key for the drugs object type.
drug_name text The drug's name as the drugs dataset names it.
investigator_person_id text The investigator's resolved person key, the id in the web page address (/people/<id>). The entry key of the investigators object type.
investigator_person_name text The investigator's name as the registry filed it, resolved across the person's merged name fragments.
investigator_affiliation text The investigator's affiliation as filed (the most-trialled affiliation across the merged fragments).
n_trials bigint trials Distinct trials the person is named on that are in scope of the row (the target's trials, or the drug's).
is_principal_investigator boolean True when the person holds the principal investigator role on any registered trial (the person-level flag the investigators dataset and the people page publish), not only the trials of this row.
roles text[] The distinct roles the person holds on the trials of this row, as the registry filed them (PRINCIPAL_INVESTIGATOR, STUDY_DIRECTOR, STUDY_CHAIR, SUB_INVESTIGATOR).

Drug label safety

Command
pharma drugs get <id> drug-label-safety

The safety text of a drug's current label: whether it carries a boxed warning, the boxed warning, the warnings and the label date.

One row per
drug with a matched label
Key columns
molecule_id

Source: openFDA drug labeling (Structured Product Labeling) (Public domain)

Columns 8
Drug label safety columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
has_boxed_warning boolean True when the label carries a boxed warning.
boxed_warning_text text The boxed warning text, null when there is none.
warnings text The warnings and precautions text.
label_effective_date date The effective date of the label.
label_count integer labels Labels matched to the drug.
set_id text The label set id. The DailyMed page is https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid= followed by this id.
match_method text How the label was matched to the drug.

Drug Medicare spend

Command
pharma drugs get <id> drug-medicare-spend

Medicare Part B and Part D spending on a drug by year.

One row per
drug and calendar year
Key columns
molecule_id, year

Source: CMS Medicare Part B and Part D spending by drug (Public domain)

Columns 6
Drug Medicare spend columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
year integer calendar year The calendar year of the spending.
total_spend numeric USD Medicare spending in US dollars.
claims numeric claims Claims or services.
beneficiaries numeric people Beneficiaries, summed over payers.
payers text[] The Medicare programs summed (Part B, Part D).

Patent-cliff exposure

Command
pharma drugs get <id> drug-patent-cliff

Drugs whose loss of exclusivity is still in the future, with the brand applicant's company and group keys: the patent-cliff exposure of a company or a drug.

One row per
drug whose exclusivity ends in the future
Key columns
drug_id

Source: FDA Orange Book and Purple Book, USPTO; CMS Medicare Part B and Part D spending; US SEC EDGAR 10-K and 20-F filings

Columns 27
Patent-cliff exposure columns
Column Type Unit Description
drug_id text The drug key at the member grain: the drug record the patent-cliff row is built on, which is the molecule's own record or a record folded under it. Enter from a drug on molecule_id.
molecule_id text The molecule key the drug record rolls up to, and the entry key for the drugs object type.
drug_name text The drug's name.
pharm_class text The drug's pharmacologic class.
atc_class text The drug's Anatomical Therapeutic Chemical (ATC) class.
brand text The brand name.
candidate_brands text Other candidate brand names, comma separated.
cliff_date date The date exclusivity is expected to end (loss of exclusivity); always in the future when the dataset is built.
cliff_year integer calendar year The year of cliff_date.
cliff_basis text Which regime set the date: curated_loe, orange_book_patent, pte_expiry or bpcia_exclusivity.
cliff_source text Source of a curated date (null on the other bases).
cliff_confidence text Confidence of a curated date (null on the other bases).
has_generic boolean True when a generic is already marketed.
biosimilar_available boolean True when a biosimilar is already marketed.
applicant_name text The brand or originator applicant as the Orange Book or Purple Book names it.
applicant_org_id text Legal-entity level: the organization record the applicant resolved to (null when unresolved).
applicant_company_id text Company level: the company the applicant belongs to (null when unresolved).
applicant_company_name text Display name of the applicant's company.
applicant_group_id text Group level: the applicant's current ultimate parent company; a root company's group is itself.
applicant_group_name text Display name of the applicant's group.
applicant_match_scope text How the applicant name matched an organization record.
medicare_spend numeric US dollars Latest-year Medicare Part B and D spend for the drug, in US dollars.
medicare_spend_year integer calendar year The year of medicare_spend.
disclosed_revenue_usd_millions numeric US millions of dollars Latest full-year disclosed worldwide revenue, in US millions.
disclosed_revenue_year integer fiscal year The fiscal year of the disclosed revenue.
size_usd numeric US dollars The single size axis in US dollars: disclosed revenue when present, else Medicare spend.
size_basis text Which source size_usd used: disclosed_worldwide_revenue, medicare_spend or none.

Drug patent mentions

Command
pharma drugs get <id> drug-patent-mentions

The patents that mention a drug in the SureChEMBL chemical patent corpus, the ten most recent per drug.

One row per
drug and mentioning patent (the ten most recent per drug)
Key columns
molecule_id, patent_number

Source: SureChEMBL, EMBL-EBI (CC BY-SA 4.0); PatentsView, USPTO (CC BY 4.0)

Columns 6
Drug patent mentions columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
patent_number text The patent publication number.
country text The patent office country code.
publication_date date The publication date.
title text The patent title as filed.
assignee text The assignee as filed. Not an ownership statement.

Drug patent owners

Command
pharma drugs get <id> drug-patent-owners

The organizations that own patents the Orange Book and USPTO term-extension records declare for a drug, one row per drug and owner.

One row per
drug and owning organization
Key columns
molecule_id, owner_org_id

Source: FDA Orange Book and Purple Book (Public domain); USPTO patent term extensions (35 U.S.C. 156) (Public domain); PatentsView, USPTO (CC BY 4.0)

Columns 13
Drug patent owners columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
owner_org_id text Legal-entity level: the owning organization record as filed.
owner_name text The owner's name.
owner_company_id text Company level: the owner's company (null when the owner is not in the spine).
owner_company_name text Display name of the owner's company.
owner_group_id text Group level: the owner's current ultimate parent company; a root company's group is itself.
owner_group_name text Display name of the owner's group.
org_in_spine boolean True when the owner is an organization record in the spine.
n_patents integer patents Distinct declared patents the owner holds for the drug.
earliest_expiry date The earliest declared expiry.
latest_expiry date The latest declared expiry.
best_match_confidence text The best assignee-to-organization match confidence (high, med, low).
link_bases text[] The records that tie the patents to the drug (orange_book, uspto_pte).

Drug pricing (NADAC)

Command
pharma drugs get <id> drug-pricing

The National Average Drug Acquisition Cost (NADAC) of a drug's priced packages, one row per drug and pricing unit.

One row per
drug and pricing unit
Key columns
molecule_id, pricing_unit

Source: CMS National Average Drug Acquisition Cost (NADAC) (Public domain)

Columns 8
Drug pricing (NADAC) columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
pricing_unit text The unit the costs are per (EA each, ML milliliter, GM gram).
priced_ndcs integer packages Packages (National Drug Codes) priced.
min_unit_cost numeric USD per unit The lowest cost per unit.
median_unit_cost numeric USD per unit The median cost per unit.
max_unit_cost numeric USD per unit The highest cost per unit.
has_brand_priced boolean True when a brand package is priced.
has_generic_priced boolean True when a generic package is priced.

Drug recalls

Command
pharma drugs get <id> drug-recalls

The US Food and Drug Administration (FDA) enforcement recalls recorded against a drug, one row per recall.

One row per
drug and recall number
Key columns
molecule_id, recall_number

Source: openFDA drug enforcement reports (Public domain)

Columns 9
Drug recalls columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
recall_number text The FDA recall number.
classification text The FDA recall class (Class I, Class II or Class III).
status text The recall status (for example Ongoing, Completed, Terminated).
recalling_firm text The firm that recalled the product, as filed.
product_description text The recalled product as described in the report.
reason_for_recall text The reason given for the recall.
recall_initiation_date date The date the recall began.
report_date date The date the FDA posted the report.

Drug regulatory status

Command
pharma drugs get <id> drug-regulatory

The regulatory picture of a drug at its lead record: US approval, generic and biosimilar availability, patent protection and the applicant as filed.

One row per
drug that has a regulatory record
Key columns
molecule_id

Source: FDA Drugs@FDA (Public domain); FDA Orange Book and Purple Book (Public domain); USPTO patent term extensions (35 U.S.C. 156) (Public domain)

Columns 11
Drug regulatory status columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
fda_approved boolean True when the drug has a record in Drugs@FDA.
in_ndc boolean True when the drug has a package in the National Drug Code (NDC) directory.
has_generic boolean True when a generic is on record.
biosimilar_available boolean True when the Purple Book lists a biosimilar.
interchangeable_available boolean True when the Purple Book lists an interchangeable biosimilar.
first_licensure_date date The earliest biologic licensure date in the Purple Book.
pte_expiry date The extended expiry of a granted patent term extension.
patent_protected boolean True when an Orange Book patent is still active.
latest_patent_expiry date The latest expiry among the Orange Book patents.
applicant_name text The applicant (company) as filed in the Orange or Purple Book.

Drug sites

Command
pharma drugs get <id> drug-sites

The sites that ran the most of a drug's trials, one row per drug and site, the top 15 per drug by trial count.

One row per
drug and site
Key columns
molecule_id, site_id

Source: ClinicalTrials.gov via AACT, CTTI (CC BY)

Columns 6
Drug sites columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
site_id text The site key: one facility spelling from the registry.
site_name text The facility name as registered.
city text The facility's city.
country text The facility's country.
n_trials integer trials The drug's trials registered at the site.

Drug targets

Command
pharma drugs get <id> drug-targets

The molecular targets a drug acts on, one row per drug and target gene, with the strongest evidence behind the link.

One row per
drug and target gene
Key columns
molecule_id, ensembl_id

Source: Open Targets Platform (CC0); ChEMBL, EMBL-EBI (CC BY-SA 3.0)

Columns 10
Drug targets columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
ensembl_id text The target's Ensembl gene id: the entry key of the targets object type.
symbol text The gene symbol: the route key of the biomarker page for the same gene.
target_name text The target's name.
uniprot text The UniProt accession of the target protein.
has_pdb boolean True when the Protein Data Bank holds a structure for the protein.
primary_action_type text The mechanism of action (for example INHIBITOR, AGONIST) from the best-ranked evidence that states one.
evidence_source text The best-ranked evidence source for the link.
evidence_rank integer The rank of that source; lower is stronger.
evidence_sources text[] Every evidence source for the link.

Drug trial conditions

Command
pharma drugs get <id> drug-trial-conditions

The indications studied in a drug's trials, one row per drug, trial and condition. Group by condition with a distinct trial count and max(phase_rank) for the drug's indications by phase.

One row per
drug, trial and condition
Key columns
molecule_id, trial_id, condition_id

Source: ClinicalTrials.gov via AACT, CTTI (CC BY)

Columns 7
Drug trial conditions columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
trial_id text The trial's ClinicalTrials.gov registry id (NCT, National Clinical Trial, number).
condition_id text The condition key (a MeSH, Medical Subject Headings, descriptor id).
condition_name text The condition's name.
phase text The registry's phase code of the trial.
phase_rank integer phase The trial's phase as a number for max and sort (4 is Phase 4, 0 is not reported).
overall_status_summary text The trial's overall status grouped as Completed, Ongoing, Terminated or Other.

Drug trials

Command
pharma drugs get <id> drug-trials

The trials that study a drug (the molecule and every salt form or trial arm folded under it), one row per drug and trial, with the lead sponsor. Group by lead sponsor company for the drug's programs, by phase and status for its progression, or filter primary_completion_date for upcoming readouts.

One row per
drug and trial
Key columns
molecule_id, trial_id

Source: ClinicalTrials.gov via AACT, CTTI (CC BY)

Columns 21
Drug trials columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
trial_id text The trial's ClinicalTrials.gov registry id (NCT, National Clinical Trial, number).
title text The trial's brief title.
phase text The registry's phase code. Null when the registry gives no phase; phase_label carries the display label for those.
phase_label text The trial phase as a display label (Phase 2, Phase 3, Observational, Not applicable, Expanded access, Unknown).
phase_rank integer phase The development phase as a number for max and sort: 4 is Phase 4, 3 is Phase 3 or 2/3, 2 is Phase 2 or 1/2, 1 is Phase 1 or Early Phase 1, 0 is not reported.
overall_status text The registry's overall status.
overall_status_summary text The overall status grouped as Completed, Ongoing, Terminated or Other.
study_type text INTERVENTIONAL, OBSERVATIONAL or EXPANDED_ACCESS.
start_date date Trial start date.
primary_completion_date date The date primary data collection ends (estimated for an ongoing trial).
completion_date date The trial's completion date (estimated for an ongoing trial).
enrollment integer participants Enrollment as registered for the whole trial.
has_results boolean True when the sponsor has posted results to the registry.
lead_sponsor_name text The lead sponsor's name as filed.
lead_sponsor_org_id text Legal-entity level: the organization record the lead sponsor resolved to (null when unresolved).
lead_sponsor_company_id text Company level: the lead sponsor's company (null when unresolved).
lead_sponsor_company_name text Display name of the lead sponsor's company.
lead_sponsor_group_id text Group level: the lead sponsor's current ultimate parent company; a root company's group is itself.
lead_sponsor_group_name text Display name of the lead sponsor's group.
condition_ids text[] The condition keys (MeSH, Medical Subject Headings, descriptor ids) the trial studies; drug_trial_conditions has one row per specific indication.

Drug variants

Command
pharma drugs get <id> drug-variants

The drug records folded under a molecule (salt forms, registered substances, trial arms, and the compound arms that list it), one row per molecule and member.

One row per
molecule and folded member record
Key columns
molecule_id, member_id

Source: FDA Global Substance Registration System (UNII) (Public domain); RxNorm, US National Library of Medicine (Public domain); ClinicalTrials.gov via AACT, CTTI (CC BY)

Columns 11
Drug variants columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
member_id text The id of the folded drug record: the drug_id other datasets carry.
member_name text The folded record's display name.
role text single for a one-to-one fold; component_of_compound for a combination arm listing the molecule.
method text How the fold was made (for example rxnorm_synonym, unii_synonym, brand, override, registered_substance).
tier integer The resolver tier that made the fold (1 to 4); 4 is the model backstop.
confidence double The resolver's confidence for the method, from 0 to 1.
member_trials integer trials Registered trials of the member record.
member_max_phase integer phase The member's highest development phase.
member_approved boolean True when the member is approved somewhere.
member_biologic boolean True when the member is a biologic substance.

FDA decision dates (PDUFA) and catalysts

Command
pharma drugs get <id> pdufa-dates

Decision dates and catalysts of the US Food and Drug Administration (FDA), entered from a company, a legal entity, a drug or a condition.

One row per
calendar entry
Key columns
pdufa_date_id

Source: Benzinga FDA / PDUFA calendar (Licensed data; not for redistribution); US SEC EDGAR

Columns 25
FDA decision dates (PDUFA) and catalysts columns
Column Type Unit Description
pdufa_date_id text The calendar entry id.
source text Which lane the row came from: benzinga, sec_extraction or both.
restriction_tier text none for a row from SEC filings; licensable for a row from the Benzinga calendar (the filings are those made to the US Securities and Exchange Commission).
decision_date date The decision date of the US Food and Drug Administration (FDA); a PDUFA date is the goal date under the Prescription Drug User Fee Act.
date_start date Start of the date interval the source states.
date_end date End of the date interval the source states.
date_precision text Precision of the date (day, month, quarter).
date_phrase text The date as the source words it.
event_type text Event type.
event_category text Event category (pdufa, adcomm and so on).
drug_name text The drug name as filed.
drug_id text The drug key.
molecule_id text The molecule key, the resolved drug of the calendar entry and the entry key for the drugs object type (null when the drug name did not resolve to a drug).
sponsor_name text The sponsor organization record's display name; the company name the calendar source printed where the sponsor resolved to no record.
sponsor_org_id text Legal-entity level: the organization record the sponsor resolved to (null when unresolved).
sponsor_company_id text Company level: the company the sponsor belongs to (null when unresolved).
sponsor_company_name text Display name of the sponsor's company.
sponsor_group_id text Group level: the sponsor's current ultimate parent company; a root company's group is itself.
sponsor_group_name text Display name of the sponsor's group.
ticker text Exchange ticker.
condition_id text The condition key.
condition_name text The condition's name.
indication_text text The indication as the source words it.
source_type text Kind of source document.
source_link text Link to the source document.

Programs

Command
pharma drugs get <id> programs

Development programs across all sponsors: one row per drug and condition studied in at least two trials, with the condition's global burden as a gated column. Sponsor-agnostic; the company-entered view of programs is company_programs.

One row per
drug and condition with at least two trials, across all sponsors
Key columns
drug_id, condition_id

Source: ClinicalTrials.gov via AACT, CTTI (CC BY); IHME Global Burden of Disease 2021 (CC BY-NC 4.0)

Columns 15
Programs columns
Column Type Unit Description
program_id text The program key: a hash of drug_id and condition_id, one value per row.
drug_id text The drug key of the program, the drug record the trials name (a salt form or a trial arm is its own record).
molecule_id text The molecule key: the resolved drug the program's drug record folds to, and the entry key for the drugs object type.
drug_name text The drug's name.
condition_id text The condition key, a MeSH (Medical Subject Headings) descriptor id (D followed by six to nine digits).
condition_name text The condition's name.
is_indication boolean True for a specific disease, false for a broad MeSH umbrella condition.
max_phase integer Highest phase reached across the program's trials: 0 not reported, 1 through 4 for phase 1 through phase 4 (the 0 to 4 scale; see caveats).
n_trials bigint trials Distinct trials of the program, across all sponsors.
n_completed bigint trials Of those, trials with status completed.
n_terminated bigint trials Of those, trials with status terminated.
first_year integer calendar year Earliest plausible trial start year.
last_year integer calendar year Latest plausible trial completion or start year.
n_sponsor_companies integer companies Distinct lead-sponsor companies across the program's trials; an unresolved lead sponsor counts as itself.
dalys_millions double millions of DALYs Disability-adjusted life years (DALYs, millions) of the condition's global burden, from the Global Burden of Disease (GBD) 2021 study of the Institute for Health Metrics and Evaluation (IHME). Null for a caller without the licence for this column; see withheld_columns.

FDA dates disclosed in SEC filings

Command
pharma drugs get <id> sec-pdufa-dates

The Prescription Drug User Fee Act (PDUFA) and other FDA dates drugs disclose in SEC filings, one row per extracted observation: the open twin of pdufa_dates for filings.

One row per
extracted disclosure
Key columns
pdufa_observation_id

Source: US SEC EDGAR

Columns 24
FDA dates disclosed in SEC filings columns
Column Type Unit Description
molecule_id text The molecule key: the resolved drug a brand, a salt form or an investigational arm resolves to, and the entry key for the drugs object type. A member id (a salt or a folded trial arm) is not a value here; it redirects to its molecule.
pdufa_observation_id text The extracted disclosure id (filing document id and disclosure index).
event_category text pdufa, advisory_committee, priority_review or other.
status text The disclosure's status: pending, approved, crl (complete response letter), or withdrawn.
is_decided boolean True when the status is approved, crl or withdrawn.
is_forward boolean True when the disclosure is a pending, forward-looking date.
application_type text The application type the filing names (NDA, BLA and so on).
designation text The review designation the filing names (priority review, fast track and so on).
indication text The indication the filing names.
date_phrase text The date as the filing words it.
date_start date Start of the date interval the phrase means.
date_end date End of the date interval the phrase means.
date_precision text How exact the phrase is (day, month, quarter and so on).
is_in_period_now boolean True when today falls in the interval and the disclosure is not decided.
drug_name text The drug name as filed.
sponsor_name text The filer's name.
sponsor_org_id text Legal-entity level: the SEC registrant's organization record (null when it is not in the spine).
sponsor_company_id text Company level: the filer's company (null when unresolved).
sponsor_company_name text Display name of the filer's company.
sponsor_group_id text Group level: the filer's current ultimate parent company; a root company's group is itself.
sponsor_group_name text Display name of the filer's group.
ticker text The stock ticker the filing names.
source_url text The filing's address on the SEC site.
confidence double The extraction's own confidence, from 0 to 1.

Trial drugs

Command
pharma drugs get <id> trial-drugs

The drugs a trial studies, one row per molecule the trial's drugs resolved to and one per drug that reached no molecule, with the names as registered.

One row per
molecule a trial's drugs resolved to, and one per drug with no molecule
Key columns
trial_id, drug_key

Source: ClinicalTrials.gov via AACT, CTTI (CC BY)

Columns 7
Trial drugs columns
Column Type Unit Description
trial_id text The trial's ClinicalTrials.gov registry id (NCT, National Clinical Trial, number).
drug_key text The molecule key, or the drug name as registered prefixed unresolved: for a drug that reached no molecule.
molecule_id text The molecule key the drugs resolved to (null for a drug with no molecule).
molecule_name text The molecule's display name (null for a drug with no molecule).
registered_as text[] The drug names as registered on the trial that led to this row.
matched_from_name_part boolean Whether every match to the molecule came from one part of a multi-part drug name.
brand_count integer brands Number of brand names recorded for the molecule.

Markdown copy of this page