FDA Drugs@FDA, Generic ANDA & Orange Book Patent Cliff Scraper
Pricing
from $2.10 / 1,000 applications
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
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
| Field | Type | Default | Description |
|---|---|---|---|
queryMode | string (select) | "ORANGE_BOOK_EXPIRING_PATENTS" | "ORANGE_BOOK_EXPIRING_PATENTS", "RECENT_NDA_ANDA_APPROVALS", or "FIRST_TIME_GENERICS". |
applicationTypes | array | ["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. |
patentExpiringWithinMonths | integer | 24 | Months into the future to scan for patent expirations. |
activeIngredientKeyword | string | "" | Molecule or active ingredient name filter (e.g. apixaban, ibuprofen). |
submissionStatusDateFrom | string | 90 days before run date | Earliest approval date (YYYY-MM-DD or YYYYMMDD). |
submissionStatusDateTo | string | Run date | Latest approval date (YYYY-MM-DD or YYYYMMDD). |
openFdaApiKey | string (secret) | "" | Optional free openFDA API key for higher rate limits on Drugs@FDA queries. |
maxItems | integer | 1000 | Maximum 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.
| Field | Type | Description |
|---|---|---|
applicationNumber | string | FDA application identifier (e.g. NDA020610, ANDA076560). |
applicationType | string | Regulatory pathway (NDA, ANDA, BLA). |
sponsorName | string or null | Applicant or pharmaceutical sponsor entity. |
brandName | string or null | Proprietary trade or brand name. |
activeIngredients | array of objects | Active chemical ingredients and strengths (name, strength). |
dosageForm | string or null | Pharmaceutical form (e.g. TABLET, CAPSULE, INJECTABLE). |
route | string or null | Administration route (e.g. ORAL, INTRAVENOUS). |
marketingStatus | string or null | Regulatory status (Prescription, Over-the-counter, Discontinued). |
teCodeTherapeuticEquivalence | string or null | Therapeutic equivalence rating (e.g. AB, AP). |
referenceListedDrugRld | string or null | Reference Listed Drug flag (Yes, No). |
latestSubmissionType | string or null | Most recent submission type (ORIG, SUPPL). |
latestSubmissionStatusDate | string or null | Date of latest submission approval disposition (YYYY-MM-DD). |
patentNumbers | array of strings | Listed Orange Book patent numbers. |
earliestPatentExpireDate | string or null | Earliest patent expiration date (YYYY-MM-DD). |
latestPatentExpireDate | string or null | Latest patent expiration date (YYYY-MM-DD). |
exclusivityCodes | array of strings | Statutory market exclusivity codes (e.g. NCE, RTO). |
exclusivityExpireDate | string or null | Expiration date of active market exclusivity (YYYY-MM-DD). |
approvedGenericAndaCount | integer | Count 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 ownlast_updateddate; 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_PATENTSandFIRST_TIME_GENERICS), rows are built from the Orange Book files, solatestSubmissionTypeandlatestSubmissionStatusDateare null there; those fields are populated inRECENT_NDA_ANDA_APPROVALSmode from Drugs@FDA. approvedGenericAndaCountcounts 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_GENERICSmode, qualification is per dosage form: a row is built from the form for which the application is the sole Orange Book listed ANDA. InRECENT_NDA_ANDA_APPROVALSmode, 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:
scannedis the number of source records examined (Orange Book applications with patents, Orange Book applications, or records fetched from openFDA, depending on mode) andmatchedis the number of rows built for delivery; the two differ whenever a filter drops examined records before delivery. - In Orange Book modes,
sponsorNameis 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_APPROVALSmode, 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:
maxItemsand 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):
approvedGenericAndaCountis 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 forapprovedGenericAndaCountnow 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 buyeropenFdaApiKey(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;
approvedGenericAndaCountnow keys on active ingredient plus dosage form only (route no longer splits the count); defaultapplicationTypesnow matches the spec (NDA, ANDA, BLA); Orange BookDISCNrows report marketing statusDiscontinued; 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.