FDA Drugs@FDA, Generic ANDA & Orange Book Patent Cliff Scraper avatar

FDA Drugs@FDA, Generic ANDA & Orange Book Patent Cliff Scraper

Pricing

from $2.10 / 1,000 applications

Go to Apify Store
FDA Drugs@FDA, Generic ANDA & Orange Book Patent Cliff Scraper

FDA Drugs@FDA, Generic ANDA & Orange Book Patent Cliff Scraper

Scrape FDA NDA new drug and ANDA generic approvals, patent expirations, exclusivity dates, and therapeutic equivalence (TE) codes from Drugs@FDA and official Orange Book archives.

Pricing

from $2.10 / 1,000 applications

Rating

0.0

(0)

Developer

Groundplane Labs

Groundplane Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 days ago

Last modified

Categories

Features

Limited permissions

Share

Extract official FDA New Drug Applications (NDA), Abbreviated New Drug Applications (ANDA generics), Orange Book patent expiration cliffs, regulatory market exclusivities, and therapeutic equivalence (TE) ratings from openFDA Drugs@FDA and the official Electronic Orange Book monthly data archive.

This actor is an independent product and is not affiliated with, endorsed by, or sponsored by the US Food and Drug Administration (FDA) or the US Department of Health and Human Services (HHS).

What it does

  • Patent Expiration Cliffs: Scan upcoming patent expirations across branded NDA drugs within a customizable forward-looking horizon (e.g. 12, 24, 36 months).
  • Recent Clearances: Track recent FDA drug application approvals and supplemental submissions across NDAs, ANDAs, and BLAs.
  • First-Time Generics: Identify pioneer generic market entrants where an approved ANDA has zero or minimal competing generic equivalents.
  • Therapeutic Equivalence (TE Codes): Deliver official FDA Orange Book ratings (AB, AP, AN, etc.) indicating bioequivalence to reference listed drugs.
  • Generic Competition Counts: Calculate exact counts of Orange Book listed ANDA applications sharing the active molecule and dosage form (approvedGenericAndaCount). The count covers Orange Book listed ANDAs only; Drugs@FDA counts additional approved ANDAs that are not Orange Book listed.
  • BLA Purple Book Separation: Restricts biologics (BLAs) to general clearance monitoring mode with patent fields nulled, preventing misleading Orange Book data (biologics reside in FDA's Purple Book).
  • Freshness Sentinel: Verifies monthly Orange Book publication release dates and alerts if the archive exceeds 45 days.

Who it's for

  • Generic Pharmaceutical Manufacturers: Identify patent expiration windows, exclusivity cliffs, and competitive generic filing counts.
  • Life Sciences & Biotech Equity Analysts: Model revenue erosion timelines for branded blockbusters losing market exclusivity.
  • Pharmaceutical Licensing & BD Executives: Evaluate therapeutic equivalence status and competitor ANDA market entries.
  • Healthcare IP & Patent Litigation Counsel: Track Orange Book listed patent numbers, submission dates, and regulatory exclusivity codes (NCE, ODE, PED, etc.).

Input

FieldTypeDefaultDescription
queryModestring (select)"ORANGE_BOOK_EXPIRING_PATENTS""ORANGE_BOOK_EXPIRING_PATENTS", "RECENT_NDA_ANDA_APPROVALS", or "FIRST_TIME_GENERICS".
applicationTypesarray["NDA", "ANDA", "BLA"]Application types (NDA, ANDA, BLA). Note: BLA is only supported in recent approvals mode; it is removed from the Orange Book modes because biologics are listed in the Purple Book, not the Orange Book.
patentExpiringWithinMonthsinteger24Months into the future to scan for patent expirations.
activeIngredientKeywordstring""Molecule or active ingredient name filter (e.g. apixaban, ibuprofen).
submissionStatusDateFromstring90 days before run dateEarliest approval date (YYYY-MM-DD or YYYYMMDD).
submissionStatusDateTostringRun dateLatest approval date (YYYY-MM-DD or YYYYMMDD).
openFdaApiKeystring (secret)""Optional free openFDA API key for higher rate limits on Drugs@FDA queries.
maxItemsinteger1000Maximum application records to deliver.

Example input

{
"queryMode": "ORANGE_BOOK_EXPIRING_PATENTS",
"applicationTypes": ["NDA", "ANDA"],
"patentExpiringWithinMonths": 24,
"activeIngredientKeyword": "apixaban",
"maxItems": 1000
}

Output

One row per drug application record.

FieldTypeDescription
applicationNumberstringFDA application identifier (e.g. NDA020610, ANDA076560).
applicationTypestringRegulatory pathway (NDA, ANDA, BLA).
sponsorNamestring or nullApplicant or pharmaceutical sponsor entity.
brandNamestring or nullProprietary trade or brand name.
activeIngredientsarray of objectsActive chemical ingredients and strengths (name, strength).
dosageFormstring or nullPharmaceutical form (e.g. TABLET, CAPSULE, INJECTABLE).
routestring or nullAdministration route (e.g. ORAL, INTRAVENOUS).
marketingStatusstring or nullRegulatory status (Prescription, Over-the-counter, Discontinued).
teCodeTherapeuticEquivalencestring or nullTherapeutic equivalence rating (e.g. AB, AP).
referenceListedDrugRldstring or nullReference Listed Drug flag (Yes, No).
latestSubmissionTypestring or nullMost recent submission type (ORIG, SUPPL).
latestSubmissionStatusDatestring or nullDate of latest submission approval disposition (YYYY-MM-DD).
patentNumbersarray of stringsListed Orange Book patent numbers.
earliestPatentExpireDatestring or nullEarliest patent expiration date (YYYY-MM-DD).
latestPatentExpireDatestring or nullLatest patent expiration date (YYYY-MM-DD).
exclusivityCodesarray of stringsStatutory market exclusivity codes (e.g. NCE, RTO).
exclusivityExpireDatestring or nullExpiration date of active market exclusivity (YYYY-MM-DD).
approvedGenericAndaCountintegerCount of Orange Book listed ANDA applications sharing the same active ingredient and dosage form. Orange Book listed ANDAs only: Drugs@FDA counts additional approved ANDAs that are not Orange Book listed, so a Drugs@FDA count for the same ingredient and form can be higher.

Sample row (real, live FDA data)

{
"applicationNumber": "NDA020610",
"applicationType": "NDA",
"sponsorName": "VALEANT PHARMACEUTICALS INTERNATIONAL",
"brandName": "COLAZAL",
"activeIngredients": [
{
"name": "BALSALAZIDE DISODIUM",
"strength": "750MG"
}
],
"dosageForm": "CAPSULE",
"route": "ORAL",
"marketingStatus": "Prescription",
"teCodeTherapeuticEquivalence": "AB",
"referenceListedDrugRld": "Yes",
"latestSubmissionType": null,
"latestSubmissionStatusDate": null,
"patentNumbers": [
"7625884",
"7452872",
"7452872*PED",
"7625884*PED"
],
"earliestPatentExpireDate": "2026-08-24",
"latestPatentExpireDate": "2027-02-24",
"exclusivityCodes": [],
"exclusivityExpireDate": null,
"approvedGenericAndaCount": 5
}

Source and cadence

  • Drugs@FDA data comes from the openFDA Drugs@FDA API (api.fda.gov/drug/drugsfda.json), updated by FDA on its own schedule (the API reports its own last_updated date; it is not real-time).
  • Orange Book data comes from the official FDA Electronic Orange Book zip archive, published monthly. The current zip is located from the FDA Orange Book download page at run time, and the run status records the archive release date. If the archive is more than about 45 days old, the run ends PARTIAL with a staleness note.
  • In the two Orange Book modes (ORANGE_BOOK_EXPIRING_PATENTS and FIRST_TIME_GENERICS), rows are built from the Orange Book files, so latestSubmissionType and latestSubmissionStatusDate are null there; those fields are populated in RECENT_NDA_ANDA_APPROVALS mode from Drugs@FDA.
  • approvedGenericAndaCount counts distinct ANDA applications in the Orange Book sharing the same active ingredient and dosage form. It covers Orange Book listed applications; Drugs@FDA also contains approved ANDAs that are not Orange Book listed, so a Drugs@FDA application count for the same ingredient and form can be higher.
  • Representative product rule: each row is built from one representative product of its application, and the count key (active ingredient plus dosage form) always comes from that same product, so the shipped dosage form, strength, and TE code are consistent with the count. The representative is chosen deterministically: products tied to the run's filters are considered first (products with a patent expiring in the window, or matching the ingredient keyword); the representative dosage form is the form with the most products for the application (the principal form); within that form, a product with a TE code wins, then an RLD product, then the lowest product number. In FIRST_TIME_GENERICS mode, qualification is per dosage form: a row is built from the form for which the application is the sole Orange Book listed ANDA. In RECENT_NDA_ANDA_APPROVALS mode, the count is computed from the row's own Drugs@FDA ingredient and dosage form against the full Orange Book products data, even when the application itself is too new to appear in the monthly Orange Book file.
  • Run status counts: scanned is the number of source records examined (Orange Book applications with patents, Orange Book applications, or records fetched from openFDA, depending on mode) and matched is the number of rows built for delivery; the two differ whenever a filter drops examined records before delivery.
  • In Orange Book modes, sponsorName is the applicant full name from the Orange Book products file. In recent approvals mode it is the Drugs@FDA sponsor name.
  • BLA (biologic) applications appear only in RECENT_NDA_ANDA_APPROVALS mode, with patent and exclusivity fields empty or null, because biologics are listed in the FDA Purple Book, not the Orange Book.

Canary input

Labeled canary (small, stable): Orange Book patent mode for one well-known ingredient.

{
"queryMode": "ORANGE_BOOK_EXPIRING_PATENTS",
"applicationTypes": ["NDA", "ANDA"],
"patentExpiringWithinMonths": 24,
"activeIngredientKeyword": "apixaban",
"maxItems": 10
}

Expected: a Complete status with the Eliquis NDA application (NDA202155) among the rows, patent numbers populated, and the Orange Book release date named in the status counts.

Troubleshooting

  • Zero matches: a narrow filter with no matching applications is a successful run and ends with Complete: 0 rows matched buyer criteria. Widen the date window, the patent horizon, or clear the ingredient keyword.
  • Stale Orange Book: if the monthly archive is more than about 45 days old, the run ends PARTIAL with a staleness note naming the release date. The data delivered is the newest archive FDA has published.
  • Caps: maxItems and the run charge cap stop delivery early. A PARTIAL caused only by those user limits carries no Issues line; raise the limit and rerun to get more rows.
  • openFDA paging ceiling: openFDA cannot page past 25,000 results for one query. A recent approvals window with more matches than that ends PARTIAL naming the window; split the window into smaller date ranges.
  • If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.

Changelog

  • 0.1.2 (2026-11-01, Red Team fix round): approvedGenericAndaCount is now always computed from the shipped row's own active ingredient plus dosage form against the full Orange Book products data, in every mode and whether or not the application itself appears in the Orange Book; multi-form applications ship a representative product chosen by the stated deterministic rule (see Source and cadence), so dosage form, strength, and TE code match the count key; the Orange Book listed ANDAs qualifier for approvedGenericAndaCount now appears in the output table and the dataset schema (the count universe is Orange Book listed ANDAs; Drugs@FDA counts additional non-listed approvals); a rejected buyer openFdaApiKey (HTTP 401, or HTTP 403 API_KEY_INVALID from api.fda.gov) now fails as an invalid-input credential error with no Issues line and no retries; run status counts now label scanned (records examined) and matched (rows built) separately in every mode; the patent horizon now uses calendar months instead of months times 30.5 days; the sample row sponsor name was corrected to the live full applicant name.
  • 0.1.1 (2026-11-01, review fixes): Orange Book zip URL is now discovered from the FDA download page instead of only hardcoded; Orange Book loading uses its own HTTP client so later Drugs@FDA calls cannot hang after the zip download; unparseable patent, exclusivity, and submission dates are counted and end the run PARTIAL instead of being silently dropped; a stale Orange Book PARTIAL now carries the Issues line; approvedGenericAndaCount now keys on active ingredient plus dosage form only (route no longer splits the count); default applicationTypes now matches the spec (NDA, ANDA, BLA); Orange Book DISCN rows report marketing status Discontinued; sponsor names in Orange Book modes use the applicant full name; recent approvals windows above the 25,000 result ceiling end PARTIAL naming the window; run status now records the Orange Book release date.
  • 0.1 (2026-11-01): first build.