FDA OPDP Untitled Letters Scraper avatar

FDA OPDP Untitled Letters Scraper

Pricing

from $3.50 / 1,000 letters

Go to Apify Store
FDA OPDP Untitled Letters Scraper

FDA OPDP Untitled Letters Scraper

Export FDA OPDP untitled letters with date, company, product, issue and the PDF link. Optional PDF text. Monitor new letters. No API key is needed.

Pricing

from $3.50 / 1,000 letters

Rating

0.0

(0)

Developer

Andrey Viktorov

Andrey Viktorov

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

8 hours ago

Last modified

Features

Limited permissions

Share

Export the FDA's untitled letters on prescription-drug promotion as a clean table. Untitled letters come from the FDA Office of Prescription Drug Promotion (OPDP) and raise concerns with a drug maker about a promotional piece. The FDA publishes them on one web page, one row per letter, with PDFs behind each row. This Actor reads that official page and gives you the rows as a dataset you can filter, download as CSV or Excel, or call from code.

These are OPDP untitled letters about prescription-drug promotion. They are not the separate FDA Warning Letters database. No API key and no login.

What does it do?

  • Issue date, company and the product or issue as FDA publishes it.
  • A direct link to the untitled-letter PDF, plus links to the promotional material, the company response and the close-out letter when the row has them.
  • Optional: the text of the first pages of each letter PDF in pdfText.
  • A monitor mode (onlyNew) that returns only letters you have not stored before for the same filter.

Why use it

Regulatory, medical-affairs and brand teams follow these letters to see which claims the FDA objects to. The web page is easy to read one row at a time but hard to search, sort or diff. A dataset lets you answer questions such as "which companies got a letter this year" or "which products keep coming back" without copying from the page.

Who is it for

  • Regulatory affairs and promotional-review teams: track new letters for your own company, your competitors or a product class.
  • Pharma competitive-intelligence analysts: build a dated archive of letters and look for patterns in the claims FDA challenges.
  • Law firms and consultants: pull the letters for a client and collect the PDFs in one place.
  • Researchers and journalists: count letters per company or per year from the official list.

How to use it

  1. Open the Actor and keep the prefill (25 newest letters, no PDF download), or set a company or product filter.
  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

FieldWhat it does
companyKeep letters whose company name contains this text.
productKeep letters whose product or issue contains this text.
dateFrom / dateToInclusive bounds on the issued date, YYYY-MM-DD.
maxLettersCap after filters. The page is newest first. Prefill is 25. Default is 200. The public table is about 120 rows, so the default returns the full table.
extractPdfTextWhen true, download the untitled-letter PDF and store the first pages of text in pdfText. A PDF that cannot be read is noted in pdfError. The letter row is still stored.
onlyNewWhen true, skip letter PDFs already stored for this filter. State lives in the named key-value store monitor.

The form prefill keeps 25 letters and does not download PDFs.

Example input:

{
"maxLetters": 20
}

Output

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

{
"issuedDate": "2026-11-17",
"company": "Janssen Biotech, Inc.",
"product": "INLEXZO™ (gemcitabine intravesical system)",
"issue": "INLEXZO™ (gemcitabine intravesical system)",
"letterUrl": "https://www.fda.gov/media/196913/download?attachment",
"promotionalMaterialUrls": [
"https://www.fda.gov/media/196912/download?attachment"
],
"responseLetterUrl": null,
"closeoutLetterUrl": null,
"pdfText": null,
"sourceUrl": "https://www.fda.gov/drugs/warning-letters-and-notice-violation-letters-pharmaceutical-companies/untitled-letters"
}

FDA publishes one column titled Product / Issue. product and issue both carry that text. pdfText is empty unless extractPdfText is on.

All output fields:

FieldWhat it contains
issuedDateDate the letter was issued.
companyCompany or individual named on the row, as FDA writes it.
normalizedCompanyThe same name without spelling noise: legal forms (Inc, LLC, L.P., Corporation), generic words (Pharmaceuticals, USA), notes in brackets and ", a ... subsidiary" tails are removed, and "&" and hyphens are unified. "Pfizer Inc.", "Pfizer, Inc" and "Pfizer, Inc." all give "Pfizer". Use it to count letters per company. Subsidiaries stay separate, and a product name that FDA puts in the company cell stays as written.
productProduct / Issue column published by FDA.
issueSame Product / Issue text. FDA does not publish a separate issue column.
letterUrlUntitled letter PDF.
closeoutLetterUrlClose-out letter URL when the row has one.
sourceUrlFDA untitled-letters page.
errorReason 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 letter: $0.005 for each untitled letter 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 sizeCalculationCost for results
The prefill25 × $0.005$0.125
The whole public table at the time of our test run121 × $0.005$0.605

Reading PDF text (extractPdfText) does not add a charge. Leave it off for a cheap monitor and turn it on for a small maxLetters when you need the wording. 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.

Monitor new letters on a schedule

  1. Run the Actor once with your filter (for example company: Pfizer) and onlyNew set to true. The first run stores every match.
  2. Create an Apify schedule that starts the same input every week.
  3. From then on, each run returns only letters that were not stored by an earlier run of the same filter. State lives in the named key-value store monitor, so add a webhook or an integration step to be notified when a run returns rows.

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:

curl -X POST "https://api.apify.com/v2/acts/viktorov_aa~fda-untitled-letters/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"maxLetters": 20}'

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-untitled-letters/runs, then read the dataset when the run has finished (or let a webhook tell you).

Python, with the Apify client:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("viktorov_aa/fda-untitled-letters").call(run_input={
"maxLetters": 20
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)

JavaScript, with the Apify client:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('viktorov_aa/fda-untitled-letters').call({
"maxLetters": 20
});
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. 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:

https://mcp.apify.com?tools=viktorov_aa/fda-untitled-letters

Ask the agent in plain language, for example: "Use FDA OPDP Untitled Letters 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-untitled-letters, 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

Are these the same as FDA warning letters?

No. This Actor reads the OPDP untitled-letters page only. FDA Warning Letters are a separate database and are not included.

How many letters are there, and how fresh is the data?

The public table lists about 120 letters, newest first, and our test run of the whole table returned 121 rows. The Actor reads the page at run time, so it is as fresh as the FDA page.

Can I get the text of the letter?

Yes. Turn on extractPdfText and the Actor downloads each letter PDF and stores the text of the first pages in pdfText. If a PDF cannot be read, the row is still stored and the problem is noted in pdfError, and you are not charged twice.

Why is there both product and issue?

FDA publishes one column called Product / Issue. Both fields carry that same text.

Do I need a proxy or an API key?

No. The FDA page answered without a proxy in our runs. A proxy option exists in the input if a run is ever blocked.

Can I search by drug name or by date?

Use product for a drug or issue text, company for the company, and dateFrom / dateTo for the issue date. All filters are "contains" matches except the dates.

What if the FDA page cannot be read?

The run fails before any charge, so you do not pay for an empty result.

Limitations

  • The table is the full public OPDP untitled-letter list maintained by the CDER Freedom of Information Office. FDA may redact letters.
  • Promotional files can be PDF or video. Only the untitled-letter link is opened when text extraction is on.
  • Leave extractPdfText off for a cheap monitor. Turn it on for a small maxLetters when you need the wording of the letter.
  • This is the public OPDP list. It does not include warning letters. FDA may redact letters, and the Actor returns what the page shows.
  • The Actor stores links to promotional files. It does not download videos or other promotional material.

More actors by the same author

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

The full catalog with use-case pages is at 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.