# FDA Paragraph IV Patent Certifications Scraper (`viktorov_aa/fda-paragraph-iv-scraper`) Actor

Parse the official FDA Paragraph IV certifications list: drug, dosage form, ANDA counts, 180-day exclusivity status and last qualifying patent date. No login.

- **URL**: https://apify.com/viktorov_aa/fda-paragraph-iv-scraper.md
- **Developed by:** [Andrey Viktorov](https://apify.com/viktorov_aa) (community)
- **Categories:** Other, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## FDA Paragraph IV Patent Certifications Scraper

Parse the FDA's list of Paragraph IV patent certifications into structured rows. The Actor finds the latest public Excel file on the [official FDA page](https://www.fda.gov/drugs/abbreviated-new-drug-application-anda/patent-certifications-and-suitability-petitions) and turns each drug / dosage form / strength line into a record: drug name, dosage form, strength, the reference drug, how many ANDAs, 180-day exclusivity status, first-filer dates and the last qualifying patent expiry.

The FDA also publishes a PDF of the same list. This Actor reads the Excel file, not the PDF. No API key and no login.

### What does it do?

- Drug name, dosage form, strength and the reference listed drug or NDA (`rldNda`).
- Date of the first Paragraph IV submission and the number of ANDAs (`andaCount`).
- 180-day exclusivity status and decision date, as FDA prints them.
- First-applicant approval date, first commercial marketing date and last qualifying patent expiry, in ISO form when the file allows it.

### Why use it

Generic-drug and patent teams watch Paragraph IV challenges because they show which brand products face generic competition and when. The FDA list is a spreadsheet that changes over time. A dataset makes it easy to filter by drug, sort by date and compare one release with the next.

### Who is it for

- **Generic and specialty pharma strategy teams:** see which products have first filers and what the exclusivity status is.
- **Patent attorneys and IP analysts:** list certifications for a molecule with the last qualifying patent expiry.
- **Investors and analysts:** follow upcoming generic entries by drug.
- **Data teams:** load the list into a database without copying from Excel.

### How to use it

1. Open the Actor and keep the prefill (25 rows), or enter a `drugName` such as `abacavir`.
2. Click **Start**. The prefilled input is a real, small example, so the first run finishes in seconds.
3. Open the **Output** tab and view the table, or download the dataset as CSV, Excel, JSON or HTML. To use the data in other tools, see the integrations below.

### Input

| Field | What it does |
| --- | --- |
| `drugName` | Keep rows whose drug name, dosage form or RLD/NDA text contains this value. |
| `exclusivityStatus` | Keep rows whose 180-day status contains this text, for example `Eligible`. |
| `submittedFrom` / `submittedTo` | Inclusive submission-date bounds (`YYYY-MM-DD`). |
| `maxRecords` | Cap after filters. Prefill is 25; default is 2000, enough for the current public list. |
| `fileUrl` | Optional. Pin a specific Excel URL. Leave empty to always discover the latest file on the FDA page. |

Example input:

```json
{
  "maxRecords": 25
}
```

### Output

One dataset row per result. This is a real row from one of our runs:

```json
{
  "drugName": "Abacavir Sulfate",
  "dosageForm": "Tablets",
  "strength": "300 mg",
  "rldNda": "Ziagen 20977",
  "submissionDate": "2009-01-28",
  "andaCount": 1,
  "exclusivityStatus": "Eligible",
  "exclusivityDecisionDate": "2020-02-11",
  "firstApplicantApprovalDate": "2012-06-18",
  "firstCommercialMarketingDate": "2012-06-19",
  "lastQualifyingPatentExpiry": "2018-05-14",
  "listTitle": "10/27/2026 Paragraph IV List Updates (Public)",
  "sourceUrl": "https://www.fda.gov/media/194880/download?attachment",
  "status": "ok",
  "error": null
}
```

All output fields:

| Field | What it contains |
| --- | --- |
| `drugName` | Generic drug name from the FDA list. |
| `dosageForm` | Dosage form, for example Tablets. |
| `strength` | Strength as published. |
| `rldNda` | Reference listed drug and NDA number. |
| `submissionDate` | Date of the first Paragraph IV submission, ISO date when parseable. |
| `andaCount` | Number of ANDAs submitted. |
| `exclusivityStatus` | 180-day exclusivity status, for example Eligible. |
| `exclusivityDecisionDate` | 180-day decision posting date. |
| `firstApplicantApprovalDate` | Date of first applicant approval. |
| `firstCommercialMarketingDate` | Date of first commercial marketing by a first-to-file applicant. |
| `lastQualifyingPatentExpiry` | Expiration date of the last qualifying patent. |
| `listTitle` | Title cell from the spreadsheet. |
| `sourceUrl` | Excel URL that was read. |
| `status` | ok on stored records. |
| `error` | Reason on error rows. |

### How much does it cost?

You pay per result, not for compute time. The Actor uses pay-per-event pricing with the event **`record`**: $0.002 for each list row that is stored in the dataset. Failed or error rows are not charged. On top of that, every run is charged a tiny start fee of $0.00005 per start event. Apify counts the events by the memory of the run, so a small run is one event and a memory-heavy run is a few.

| Run size | Calculation | Cost for results |
| --- | --- | --- |
| The prefill | 25 × $0.002 | $0.05 |
| One drug name or a short date window | 100 × $0.002 | $0.20 |
| The default cap, enough for the current list | 2,000 × $0.002 | $4.00 |

The exact prices, including the Apify platform fee, are shown on the Pricing tab of the Actor and apply to your plan. Apify's free plan includes monthly platform credits, so you can try a small run without paying. To cap spending, set **Maximum cost per run** in the run options. The Actor stops adding results when that limit is reached. If a run hits that limit, it stops and says so: the log gets a warning, the run status message starts with `INCOMPLETE`, and `SUMMARY.complete` is false. To get a full download, raise **Maximum cost per run**, or split the work (for example with dateFrom/dateTo or tighter filters) and merge the datasets.

### Integrations

You can run this Actor from the Apify Console, on a schedule, or from your own code and tools. Results land in a standard Apify dataset, so every integration below reads the same rows.

#### API

Run the Actor and get the rows back in one HTTP call. Replace `<YOUR_APIFY_TOKEN>` with your token from Apify Console, Settings, Integrations:

```bash
curl -X POST "https://api.apify.com/v2/acts/viktorov_aa~fda-paragraph-iv-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"maxRecords": 25}'
```

The synchronous endpoint waits for the run to finish and Apify limits it to 5 minutes. For bigger runs, start the Actor with `POST /v2/acts/viktorov_aa~fda-paragraph-iv-scraper/runs`, then read the dataset when the run has finished (or let a webhook tell you).

Python, with the [Apify client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("viktorov_aa/fda-paragraph-iv-scraper").call(run_input={
    "maxRecords": 25
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

JavaScript, with the [Apify client](https://docs.apify.com/api/client/js):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('viktorov_aa/fda-paragraph-iv-scraper').call({
    "maxRecords": 25
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### AI agents and MCP

The Actor works as a tool for AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Point an MCP client that supports remote servers at this URL, sign in with your Apify account, and the agent can call the Actor with the input fields above:

```text
https://mcp.apify.com?tools=viktorov_aa/fda-paragraph-iv-scraper
```

Ask the agent in plain language, for example: "Use FDA Paragraph IV Patent Certifications Scraper with my filter and summarize the rows." The agent sees the input schema and the output fields, so it fills the fields for you.

#### Make, Zapier, n8n and Google Sheets

Apify has official apps for Make, Zapier and n8n. In each one, choose the action that runs an Actor, select `viktorov_aa/fda-paragraph-iv-scraper`, paste the input JSON, then map the dataset items to the next step. The Apify integration for Google Sheets can send a finished dataset to a spreadsheet. Webhooks on the Actor let you start your own process as soon as a run succeeds, and Apify schedules start it daily or weekly with no code.

### FAQ

#### Which file does the Actor read?

The Excel file linked on the FDA Paragraph IV page. The November 2026 public file is dated 27 October 2026. The Actor follows the current link unless you set `fileUrl`.

#### Are the dates parsed?

When the file stores a date as a real date or as text that can be read, the Actor writes it in ISO form. Some older dates in the spreadsheet are plain text. When a text date cannot be parsed, the original text is kept.

#### What do `andaCount` and `exclusivityStatus` mean?

They are the FDA columns for the number of ANDAs and the 180-day exclusivity status (for example Eligible). The Actor copies the FDA values; it does not interpret them.

#### Does it include patent text or court cases?

No. This is the public certifications list, not Orange Book patent text or court dockets.

#### Does it parse the suitability petitions?

No. The petition PDFs on the same FDA page are not parsed.

#### How do I search for one drug?

Use `drugName`. It matches the drug name, the dosage form or the RLD/NDA text, case-insensitive. Example: `abacavir`.

#### Do I need a proxy or an API key?

No. The FDA page and the Excel file answered without a proxy in our runs.

### Limitations

- The list is updated by FDA (the November 2026 public file is dated 27 October 2026). The Actor follows the current Excel link on the official page unless you set `fileUrl`.
- Some older dates in the spreadsheet are stored as text; the Actor keeps ISO dates when it can parse them and otherwise stores the original text.
- Suitability petition PDFs on the same FDA page are not parsed.
- This is the public certifications list, not Orange Book patent text or court dockets.

### More actors by the same author

Same publisher, same pay-per-result pricing, same no-login approach. Pick the ones that fit your workflow:

- [FDA Drug Master Files (DMF) Directory Scraper](https://apify.com/viktorov_aa/fda-drug-master-files-scraper) — the public DMF list: number, holder, type, status and subject.
- [FDA Guidance Documents Search Scraper](https://apify.com/viktorov_aa/fda-guidance-documents) — the FDA guidance catalog, final or draft, by center and topic.
- [FDA OPDP Untitled Letters Scraper](https://apify.com/viktorov_aa/fda-untitled-letters) — untitled letters on prescription-drug promotion, with company, product, date and letter PDF.
- [EDQM Certificates of Suitability (CEP) Scraper](https://apify.com/viktorov_aa/edqm-cep-certificates) — European Pharmacopoeia certificates of suitability by substance, holder, country and status.
- [SEC No-Action and Interpretive Letters Scraper](https://apify.com/viktorov_aa/sec-no-action-letters) — SEC staff no-action, interpretive and exemptive letters by division, company and rule.

The full catalog with use-case pages is at [legion-factory.dev/actors](https://legion-factory.dev/actors/).

### Support

Found a problem, or need a field or a filter that is missing? Open an issue in the **Issues** tab of this Actor page. Publisher: [legion-factory.dev](https://legion-factory.dev/actors/).

# Actor input Schema

## `drugName` (type: `string`):

Keep rows whose drug name, dosage form or RLD/NDA text contains this value, case-insensitive. Empty keeps every row.

## `exclusivityStatus` (type: `string`):

Keep rows whose 180-day exclusivity status contains this text, for example Eligible. Empty keeps every status, including blank.

## `submittedFrom` (type: `string`):

Keep rows whose first Paragraph IV submission date is on or after this day.

## `submittedTo` (type: `string`):

Keep rows whose first Paragraph IV submission date is on or before this day.

## `maxRecords` (type: `integer`):

Cap after filters. The prefill is 25 so the example stays small; the default when omitted is 2000, enough for the current public list.

## `fileUrl` (type: `string`):

Override automatic discovery of the latest public .xlsx on the FDA Paragraph IV page. Leave empty to always use the current file.

## `proxyConfiguration` (type: `object`):

The official FDA page and Excel file answer without a proxy. Turn on Apify Proxy only if a run is blocked.

## Actor input object example

```json
{
  "drugName": "",
  "exclusivityStatus": "",
  "submittedFrom": "",
  "submittedTo": "",
  "maxRecords": 25,
  "fileUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Default dataset in the overview table: drug, form, ANDA count, exclusivity status and patent date.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "drugName": "",
    "exclusivityStatus": "",
    "submittedFrom": "",
    "submittedTo": "",
    "maxRecords": 25,
    "fileUrl": "",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("viktorov_aa/fda-paragraph-iv-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "drugName": "",
    "exclusivityStatus": "",
    "submittedFrom": "",
    "submittedTo": "",
    "maxRecords": 25,
    "fileUrl": "",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("viktorov_aa/fda-paragraph-iv-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "drugName": "",
  "exclusivityStatus": "",
  "submittedFrom": "",
  "submittedTo": "",
  "maxRecords": 25,
  "fileUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call viktorov_aa/fda-paragraph-iv-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,viktorov_aa/fda-paragraph-iv-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2nCI7VS1vskEA9U2V/builds/LBFsfk3LZSz0KuYmx/openapi.json
