# FDA Drug Master Files (DMF) Directory Scraper (`viktorov_aa/fda-drug-master-files-scraper`) Actor

Export the official FDA Drug Master Files list: DMF number, status, type, holder, subject and submit date. Filter by holder, type or status. No API key.

- **URL**: https://apify.com/viktorov_aa/fda-drug-master-files-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 dmf

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 Drug Master Files (DMF) Directory Scraper

Turn the FDA's List of Drug Master Files into a searchable dataset. The Actor finds the latest quarterly Excel file on the [official FDA page](https://www.fda.gov/drugs/drug-master-files-dmfs/list-drug-master-files-dmfs), reads it, and returns one row per DMF: number, activity status, type, holder, subject and submit date. You can filter by holder, type, status, subject text or submit date, so you do not have to open a 50 MB workbook in Excel.

No API key and no login. This is the public DMF directory, not the confidential DMF documents.

### What does it do?

- DMF number, status (Active or Inactive) and type I to V with the official wording of the type.
- Holder name and subject text.
- Submit date in ISO form.
- The worksheet and the Excel URL that the data came from, so you can show your source.

### Why use it

A Drug Master File lets a supplier give the FDA confidential information about a substance, product or packaging without sharing it with the drug maker. The public list is the way to see who holds which DMF. Supplier qualification, sourcing and competitor research all start there. The FDA publishes the list as a large quarterly workbook, so a filtered, ready-to-use extract saves real time.

### Who is it for

- **Pharma sourcing and procurement teams:** build a directory of active Type II DMF holders for a substance.
- **Regulatory affairs teams:** check whether a supplier holds an active DMF and when it was submitted.
- **Business-development and competitive-intelligence analysts:** list every DMF held by a named company.
- **Consultants and data teams:** keep a clean copy of the quarterly list for joins with other data.

### How to use it

1. Open the Actor and keep the prefill (25 active DMFs), or set `holder`, `dmfType`, `status` or `subject`.
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 |
| --- | --- |
| `holder` | Keep DMFs whose holder name contains this text. |
| `dmfType` | Official type I–V, or `any`. Type II is drug substances and products; Type III packaging; Type IV excipients. |
| `status` | `A` (Active), `I` (Inactive), or `any`. |
| `subject` | Keep DMFs whose subject contains this text. |
| `submittedFrom` / `submittedTo` | Inclusive submit-date bounds (`YYYY-MM-DD`). |
| `maxRecords` | Cap after filters. Prefill is 25; default is 1000. The November 2026 file has 41,672 rows, so leave a cap in place for most runs. |
| `fileUrl` | Optional. Pin a specific Excel URL. Leave empty to always discover the latest quarterly file. |

The form prefill keeps 25 active DMFs.

Example input:

```json
{
  "status": "A",
  "maxRecords": 25
}
```

### Output

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

```json
{
  "dmfNumber": 8,
  "status": "A",
  "dmfType": "IV",
  "submitDate": "1950-01-01",
  "holder": "EASTMAN CHEMICAL CO",
  "subject": "C-A-P(TM) CELLULOSE ESTER, NF (CELLACEFATE)",
  "statusLabel": "Active",
  "typeLabel": "Excipient, colorant, flavor, essence, or material used in their preparation",
  "sheetTitle": "3Q2026-EXCEL",
  "sourceUrl": "https://www.fda.gov/media/192069/download?attachment",
  "error": null
}
```

(`status` is the FDA activity code, not a run-status field.)

All output fields:

| Field | What it contains |
| --- | --- |
| `dmfNumber` | Drug Master File number. |
| `status` | A for Active or I for Inactive, as published by FDA. |
| `statusLabel` | Active or Inactive. |
| `dmfType` | FDA DMF type I, II, III, IV or V. |
| `typeLabel` | Official wording for the DMF type. |
| `submitDate` | Date the DMF was submitted. |
| `holder` | DMF holder name. |
| `subject` | Subject of the DMF. |
| `sheetTitle` | Worksheet name from the quarterly file. |
| `sourceUrl` | Excel URL that was read. |
| `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 **`dmf`**: $0.002 for each Drug Master File 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 company, Type II, active | 100 × $0.002 | $0.20 |
| The default cap | 1,000 × $0.002 | $2.00 |
| The full November 2026 file, no filter | 41,672 × $0.002 | $83.34 |

Use `maxRecords` and a tight holder, type or status filter to keep a run within budget. 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-drug-master-files-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"status": "A", "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-drug-master-files-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-drug-master-files-scraper").call(run_input={
    "status": "A",
    "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-drug-master-files-scraper').call({
    "status": "A",
    "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-drug-master-files-scraper
```

Ask the agent in plain language, for example: "Use FDA Drug Master Files (DMF) Directory 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-drug-master-files-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

#### How often does the FDA update the list?

Quarterly. The November 2026 file we tested is the sheet `3Q2026-EXCEL` and covers DMFs received by 30 September 2026. The Actor always follows the current Excel link on the FDA page unless you pin a `fileUrl`.

#### How big is the data, and why does the Actor use 2 GB of memory?

The November 2026 file has 41,672 rows and the workbook is about 50 MB. The Actor parses it read-only and stops as soon as `maxRecords` matching rows are collected, but it still downloads the file once per run. Our test runs with the prefill finished in a few seconds.

#### How long does a run take?

It depends on your filter. With no filter and a small `maxRecords`, the Actor stops as soon as it has enough rows, and our prefill run (25 active DMFs) finished in about 6 seconds. When a filter such as `holder` matches only a few rows, the Actor has to read the whole workbook to be sure it found them all. Our example run for one company (Type II, active, 12 matches) took 162 seconds at 2 GB of memory. Use the asynchronous API (start the run, then read the dataset) for filtered runs, because the synchronous endpoint stops waiting after 5 minutes.

#### What do the DMF types mean?

The input offers the official types: I plant information, II drug substance or product, III packaging material, IV excipient, colorant or flavor, V FDA-accepted reference information.

#### Does the dataset show the DMF contents?

No. It is the public directory only: number, status, type, holder, subject and submit date. The documents behind a DMF are confidential and are not part of this list.

#### What does `status` mean in the output?

It is the FDA activity code (A for Active, I for Inactive), not a run status. `statusLabel` spells it out.

#### Can I find all DMFs of one company?

Yes. Put the company in `holder` (a case-insensitive "contains" match). Add `dmfType` or `status` to narrow it down.

#### Do I need a proxy?

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

### Limitations

- The list is updated quarterly. The November 2026 file covers DMFs received by 30 September 2026.
- Open the official page if you need the exact cut-off wording for a given quarter; the Actor always follows the current Excel link unless you set `fileUrl`.
- The workbook is about 50 MB. The Actor uses a read-only parse and stops once `maxRecords` matching rows are collected, but it still downloads the file once per run.
- This is the public DMF directory (number, status, type, holder, subject). It is not the confidential DMF document itself.
- Names such as holder and subject are copied as the FDA prints them, including capitalization.
- A selective filter makes the Actor read the whole workbook, which takes a few minutes. A run without a filter and with a small `maxRecords` ends in seconds.

### 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 Paragraph IV Patent Certifications Scraper](https://apify.com/viktorov_aa/fda-paragraph-iv-scraper) — the Paragraph IV certifications list, with 180-day exclusivity status and first-filer dates.
- [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.
- [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.
- [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

## `holder` (type: `string`):

Keep DMFs whose holder name contains this text, case-insensitive. Empty keeps every holder.

## `dmfType` (type: `string`):

Official FDA type. Empty keeps every type. Type II is drug substances and products; Type III packaging; Type IV excipients.

## `status` (type: `string`):

A is Active, I is Inactive, as published by FDA. Empty keeps both.

## `subject` (type: `string`):

Keep DMFs whose subject contains this text, case-insensitive.

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

Keep DMFs whose submit date is on or after this day.

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

Keep DMFs whose submit 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 1000. The quarterly file has tens of thousands of rows, so set a cap or a tight filter.

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

Override automatic discovery of the latest quarterly .xlsx on the FDA DMF list 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
{
  "holder": "",
  "dmfType": "any",
  "status": "A",
  "subject": "",
  "submittedFrom": "",
  "submittedTo": "",
  "maxRecords": 25,
  "fileUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Default dataset in the overview table: number, status, type, holder, subject and submit 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 = {
    "holder": "",
    "dmfType": "any",
    "status": "A",
    "subject": "",
    "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-drug-master-files-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 = {
    "holder": "",
    "dmfType": "any",
    "status": "A",
    "subject": "",
    "submittedFrom": "",
    "submittedTo": "",
    "maxRecords": 25,
    "fileUrl": "",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("viktorov_aa/fda-drug-master-files-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 '{
  "holder": "",
  "dmfType": "any",
  "status": "A",
  "subject": "",
  "submittedFrom": "",
  "submittedTo": "",
  "maxRecords": 25,
  "fileUrl": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call viktorov_aa/fda-drug-master-files-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,viktorov_aa/fda-drug-master-files-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/guxeRXZrEcuH5Mnhw/builds/dXrZlEceq5CohWxdH/openapi.json
