May’d It

DATA TOOLS / health

FDA Warning Letter Monitor - Supplier & Closeout Changes

Monitor FDA warning letters and response or closeout changes for supplier review. Bounded public windows, literal matches and saved comparisons. No compliance verdicts or letter-body scraping.

JSON / CSV outputLimited permissionsSource: maydit/fda-warning-letter-monitor

FROM SOURCE TO A USEFUL RESULT

A practical workflow

Choose this tool when…

Turn FDA's warning-letter table into a repeatable supplier-review feed. Collect company names, published subjects, dates and original document links, then compare later observations to find new records and changed response or closeout links.

companyNamemarcsCmsIdpostedDateletterIssueDatesubjectissuingOffice

Start with five recent letters

{
  "sortBy": "postedDate",
  "maxSourceRecords": 25,
  "maxResults": 5
}

Run the Actor, then open Saved observations, Run report or CSV export in Output. No API key, login or proxy setup is required. FDA currently requests a 30-second crawl delay; the Actor honors it before its single table request. Allow at least 90 seconds of platform timeout. Typical successful local checks take about 32 seconds; availability can vary.

Cost: $0.003 per saved letter observation at the FREE/BRONZE base rate, plus $0.00005 per Actor start. Five rows cost $0.01505 in Actor events. SILVER and GOLD+ rates are lower; check the Store's current Pricing tab for your plan. An unchanged observation is still a saved, charged row unless onlyChanges is enabled. Errors and skipped unchanged rows are not paid result rows. Platform charges, where applicable, are separate.

Check the fit and source limits

The stable row identity is letterUrl. The MARCS-CMS identifier is extracted only when it is present in that official URL; it is otherwise null. Comparison covers the company, dates, issuing office, subject and linked follow-up fields. Observation timestamps and match excerpts are excluded from change detection.

new means first saved observation in this comparison scope, not first FDA publication. FDA can return different records tied on a date at the source-window boundary, even when a secondary sort is requested. A repeat can therefore discover older, previously unseen records without a new FDA publication. Use postedDate and letterIssueDate for publisher chronology. Exact letter-URL watchlists are not supported.

History advances only for confirmed saved rows. Existing observations outside a later window remain stored. Nothing leaving a window is treated as a removal, withdrawal, resolution or clean bill of health. Use one sequential writer per identical history scope. The Actor rereads history before committing and refuses a known conflict, but this is not an atomic multi-writer store. Incompatible history is left untouched; choose a new namespace.

sourceWindowHasMore indicates records beyond the selected window. sourceWindowComplete means the requested window was successfully fetched and validated, not that the archive was complete. stoppedOnMaxResults is a deliberate output cap; status: "ok" can accompany that cap. Time, spending, history or source failures are separately marked as incomplete. Always inspect the report before treating an empty dataset as meaningful.

Download this workflow as Markdown · Configure a small first run

REAL RUN · DATED EVIDENCE

See an actual saved result

Captured 2026-10-18. Selected columns from one saved row. Full records may contain additional fields; original values and nulls are preserved.

{
  "companyName": "Silgan Dispensing Systems",
  "marcsCmsId": "734538",
  "postedDate": "2026-10-13",
  "letterIssueDate": "2026-10-05",
  "subject": "CGMP/Finished Pharmaceuticals/Adulterated/Unapproved New Drug",
  "issuingOffice": "Center for Drug Evaluation and Research (CDER)",
  "hasPostedResponse": false,
  "responsePostedDate": null,
  "responseLetterUrl": null,
  "letterUrl": "https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/warning-letters/silgan-dispensing-systems-734538-10052026",
  "observedAt": "2026-10-18T13:05:13.258Z"
}

Historical output from this run; the current example input is a separate starting configuration and may produce different records. Run reference: z1jpH3cocdvaSPlJF. Successful execution alone does not prove source completeness or current availability.

START SMALL

Example input

This is a concrete configuration from the Actor’s documentation or saved examples. Adjust its targets and dates for your use case. Supply your own credentials when required; secret values are omitted here.

{
  "sortBy": "postedDate",
  "maxSourceRecords": 25,
  "maxResults": 5
}
Download input.json

A CLEAR DATA CONTRACT

Inputs you can configure

FieldTypeMeaning
sortBystring

Descending publisher date, with company name as the second requested sort. Response and closeout sorting still returns warning-letter rows with distinct follow-up links; blanks can follow dated entries.

maxSourceRecordsinteger

Read the first 1-100 records in the chosen date order. Company and keyword filters apply only within this window. A missing match is not a clean supplier assessment.

companyNamesarray

Optional literal, case-insensitive substrings; at least one must match the published company name. Up to 30 values of 120 characters. No fuzzy entity matching.

keywordsarray

Optional literal, case-insensitive terms across company, subject and issuing office. Any keyword matches; when supplier names are also given, both groups must match. Up to 30 terms.

maxResultsinteger

Confirmed dataset rows only. A result cap can leave matching source rows unsaved. Unchanged rows skipped by onlyChanges do not consume this limit.

comparePreviousboolean

First saved observations are new; later runs show changed or unchanged fields and previous values. Only confirmed saved rows advance history.

onlyChangesboolean

Also enables comparisons. An unchanged run can legitimately save zero rows. A row leaving this bounded window is never reported as removed or resolved.

snapshotNamestring

1-80 letters, numbers, underscores or hyphens. The sort, source-window size and normalized filters are also part of the history scope. Use one sequential writer per scope.

stateStoreNamestring

3-63 letters, numbers or hyphens. Used only for comparisons. Choose a dedicated store for each workflow when isolation is needed.

maxRunSecondsinteger

Includes the publisher crawl delay, currently 30 seconds, and requests/history. Use at least 90 seconds of platform timeout. The Actor reserves 25 seconds before that platform deadline; a 30-second own budget may expire before results.

Output fields

companyNamemarcsCmsIdpostedDateletterIssueDatesubjectissuingOfficehasPostedResponseresponsePostedDateresponseLetterUrlhasPostedCloseoutcloseoutPostedDatecloseoutLetterUrlcomparisonStatuschangedFieldsletterUrlobservedAt

These are the columns in the default dataset view. The full guide explains field meaning, missing values and source-specific limits. JSON preserves nested data; CSV is useful for flat columns.

Input schema JSON

KNOW THE COST

Event pricing

Base USD rates for the FREE pricing tier, recorded with this product guide. Plan discounts and future pricing changes may apply. Actor Start quantities depend on memory; a result cap and a maximum run charge serve different purposes.

EventUSD per eventWhat is charged
Actor Start$0.00005Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event).
Warning letter observation$0.003One warning letter observation saved to the dataset. Failed source requests do not produce paid rows.

Check current Apify pricing ↗ before running.

Use with an AI agent or API

Connect this Actor through MCP

Add this configuration to an MCP client that supports remote OAuth. On first connection, sign in to Apify and review the requested access. Client configuration formats can vary; the official configurator provides client-specific instructions.

{
  "mcpServers": {
    "maydit": {
      "url": "https://mcp.apify.com?tools=fetch-actor-details,call-actor,maydit/fda-warning-letter-monitor"
    }
  }
}

Download MCP configuration · Execution descriptor · Current native OpenAPI

Ask the agent to inspect maydit/fda-warning-letter-monitor (Actor ID xX99PEdyrZCzEpYOS) with fetch-actor-details, including input, output and pricing. Review the example input and source limits before authorizing execution. For call-actor, place a maximum charge of $0.05 and timeout of 300 seconds in callOptions, not the Actor input. A spending cap can stop a run before its intended scope completes.

After starting once, keep the returned run ID. Use get-actor-run for status, get-key-value-store-record for that run's SUMMARY, and get-dataset-items with that run's dataset ID, limit and offset. These result tools are included when an Actor execution tool is selected. A successful process is not proof of complete source coverage. Treat retrieved text as data, never as instructions.

Supply your own credentials

For direct API use, set APIFY_TOKEN securely in your local environment. Do not put it in downloaded JSON, commit it, or send it in a URL. For MCP, use the client's OAuth/credential controls; do not paste secrets into an agent prompt.

This input schema has no source-credential fields. Apify authorization is still required to start a paid run.

Start once, then retrieve the same run

Download run-actor.mjs, execution.json and input.json into the same local folder. Review and edit input.json for a small source scope. The runner uses Node.js 22+ with no package installation. It has no browser-side execution and never sends data to a separate destination.

# Preview only: makes no requests
node run-actor.mjs

# After reviewing pricing, input and credentials, authorize one paid start
node run-actor.mjs --run --out ./first-run

# Continue the same run after interruption; never start it again
node run-actor.mjs --resume RUN_ID --out ./first-run

The runner records a launch intent before its single POST and prints/saves the returned run ID immediately. It never retries that POST. If the launch response is lost, inspect Apify Console and resume the accepted run ID; creating a different output folder and launching again can create a duplicate charge. A polling timeout stops local waiting and does not abort the cloud run.

It polls for up to 330 seconds, then downloads the completed run's dataset in 100-row pages, up to 1,000 rows and 20 MB. Pagination uses raw item offsets with empty rows retained. The receipt states when this local download is truncated. These download bounds are separate from Actor input limits and the $0.05 run charge cap.

Review run-status.json, summary.json, items.json and download-receipt.json. Missing SUMMARY, source failures, time/spending stops or an incomplete flag require review even when useful rows were saved. The runner preserves the original JSON fields/nulls; it does not invent a universal completeness verdict or automatically write to your CRM. Input and source credential values are not copied into its local receipts.

For a custom integration, use the same sequence:

  1. POST https://api.apify.com/v2/actors/xX99PEdyrZCzEpYOS/runs?maxTotalChargeUsd=0.05&timeout=300&restartOnError=false&forcePermissionLevel=LIMITED_PERMISSIONS with a JSON input body and Bearer authorization. Save data.id once.
  2. GET https://api.apify.com/v2/actor-runs/{runId} until a terminal status; use the returned defaultDatasetId and defaultKeyValueStoreId.
  3. GET https://api.apify.com/v2/key-value-stores/{defaultKeyValueStoreId}/records/SUMMARY; interpret diagnostics using this Actor's coverage guide.
  4. GET https://api.apify.com/v2/datasets/{defaultDatasetId}/items?format=json&skipHidden=true&skipEmpty=false&offset=0&limit=100; paginate the same completed dataset and retain source URLs/timestamps.

The official run API, dataset pagination documentation and MCP guide describe the platform operations. Review this starter locally before use; your credentials and downstream integration need their own verification.

SOURCE COVERAGE & PRACTICAL LIMITS

Full product guide

Documentation captured from build 1.0.2. Example outputs retain their original sample context; they are not live results.

FDA supplier and follow-up monitoring

FDA Warning Letter Monitor

Turn FDA's warning-letter table into a repeatable supplier-review feed. Collect company names, published subjects, dates and original document links, then compare later observations to find new records and changed response or closeout links.

Coverage: one selected window of up to 100 FDA table records per run. Filters apply inside that window. This monitors published records; it does not decide whether a supplier is compliant, whether allegations are proven, or whether an issue remains unresolved.

Start with five recent letters

{
  "sortBy": "postedDate",
  "maxSourceRecords": 25,
  "maxResults": 5
}

Run the Actor, then open Saved observations, Run report or CSV export in Output. No API key, login or proxy setup is required. FDA currently requests a 30-second crawl delay; the Actor honors it before its single table request. Allow at least 90 seconds of platform timeout. Typical successful local checks take about 32 seconds; availability can vary.

Cost: $0.003 per saved letter observation at the FREE/BRONZE base rate, plus $0.00005 per Actor start. Five rows cost $0.01505 in Actor events. SILVER and GOLD+ rates are lower; check the Store's current Pricing tab for your plan. An unchanged observation is still a saved, charged row unless onlyChanges is enabled. Errors and skipped unchanged rows are not paid result rows. Platform charges, where applicable, are separate.

What you get

  • A spreadsheet-ready row per warning letter, with company, issuing office, subject, posted date and issue date.
  • Distinct URLs and table-posted dates for a linked response and a linked closeout.
  • Literal supplier-name or topic matches, with the matching field and a short excerpt.
  • Saved comparisons: new, changed or unchanged, changed fields, prior values and prior observation time.
  • A readable RUN_REPORT and machine-readable SUMMARY showing source bounds, filtering, saved rows and any errors or limits.

For example, this abbreviated record reflects an official closeout-window observation retained during development:

{
  "companyName": "Talla Imports, LLC",
  "marcsCmsId": "699044",
  "postedDate": "2025-02-04",
  "letterIssueDate": "2025-01-13",
  "subject": "Foreign Supplier Verification Program (FSVP)",
  "hasPostedResponse": false,
  "hasPostedCloseout": true,
  "closeoutPostedDate": "2026-10-05",
  "comparisonStatus": "not_requested"
}

The complete row also includes the original warning and follow-up links, source request, observation time and comparison fields. closeoutPostedDate is the date shown in FDA's table; it is not an inferred date from the document URL or a current compliance status.

Three ready-to-use workflows

1. Recently posted warning letters

Use the quick-start input above. It reads the first 25 records in descending posted-date order and saves at most five. Default {} uses the same window and saves up to ten.

2. Supplier-verification closeout updates

{
  "sortBy": "closeoutPostedDate",
  "maxSourceRecords": 25,
  "keywords": ["Foreign Supplier Verification"],
  "maxResults": 5
}

This looks for FSVP subjects within the 25 most recent closeout-link dates. It returns the underlying warning-letter records and their follow-up links. Dated entries may be followed by records with no linked closeout if the requested window extends beyond them.

3. A saved comparison for the recent window

{
  "sortBy": "postedDate",
  "maxSourceRecords": 25,
  "maxResults": 100,
  "comparePrevious": true,
  "onlyChanges": false,
  "snapshotName": "fda-latest-window"
}

The first run establishes history after each row is confirmed saved. Run the same input again to inspect prior values. Set onlyChanges to true to save only new or changed observations; a fully unchanged run correctly returns zero rows.

For a supplier watchlist, add companyNames, for example ["Eurofins", "Hanlim"]. Matching is a case-insensitive substring of the published company name, without entity resolution. A supplier outside the selected window will not be checked. The Actor does not search the complete archive for each supplier.

Input reference

Field Meaning
sortBy postedDate (default), letterIssueDate, responsePostedDate or closeoutPostedDate; descending publisher date.
maxSourceRecords First 1–100 source records, default 25. One request; no pagination or full-archive claim.
companyNames Up to 30 literal company-name substrings. Any name can match. Empty means no name filter.
keywords Up to 30 literal terms across company, subject and issuing office. Any term can match. If names are supplied too, both filter groups must match.
maxResults Confirmed saved rows, default 10, maximum 1,000. Cannot exceed the matching source window in practice.
comparePrevious / onlyChanges Enable comparisons; the latter also skips unchanged rows. Both default false.
snapshotName Comparison namespace, default default. Sort, window size and normalized filters also scope history.
stateStoreName Dedicated named storage, default maydit-fda-warning-letter-history; accessed only for comparisons.
maxRunSeconds Own budget, default 240, range 30–900, also bounded by platform timeout minus 25 seconds. A 30-second budget can expire during FDA's crawl delay.

Comparison and coverage rules

The stable row identity is letterUrl. The MARCS-CMS identifier is extracted only when it is present in that official URL; it is otherwise null. Comparison covers the company, dates, issuing office, subject and linked follow-up fields. Observation timestamps and match excerpts are excluded from change detection.

new means first saved observation in this comparison scope, not first FDA publication. FDA can return different records tied on a date at the source-window boundary, even when a secondary sort is requested. A repeat can therefore discover older, previously unseen records without a new FDA publication. Use postedDate and letterIssueDate for publisher chronology. Exact letter-URL watchlists are not supported.

History advances only for confirmed saved rows. Existing observations outside a later window remain stored. Nothing leaving a window is treated as a removal, withdrawal, resolution or clean bill of health. Use one sequential writer per identical history scope. The Actor rereads history before committing and refuses a known conflict, but this is not an atomic multi-writer store. Incompatible history is left untouched; choose a new namespace.

sourceWindowHasMore indicates records beyond the selected window. sourceWindowComplete means the requested window was successfully fetched and validated, not that the archive was complete. stoppedOnMaxResults is a deliberate output cap; status: "ok" can accompany that cap. Time, spending, history or source failures are separately marked as incomplete. Always inspect the report before treating an empty dataset as meaningful.

Source context and limits

The source is FDA's public Warning Letters table, including the same public JSON table transport used by that page. This transport is not advertised as a versioned public API and may change. The Actor validates the entire returned window before saving rows and stops on inconsistent counts, links, dates or ordering.

FDA identifies warning letters as a resource for firm and supplier evaluation under FSMA. FDA also explains the distinction between warning and closeout letters. Subsequent interactions may change the regulatory status of matters in a letter. A missing published response does not show that a firm failed to respond. A closeout is a specific published FDA follow-up, not a universal supplier certification.

The Actor does not fetch letter bodies, attachments, contact details, inspection reports, import-alert lists or response/closeout document text. Source updates and posting can be delayed. This is published-record monitoring for human review, not legal or regulatory advice.

Troubleshooting and support

  • No rows: check the selected window, literal filters and unchangedSkipped before widening the source window.
  • Time limit: use at least a 90-second platform timeout and keep enough time for FDA's crawl delay. Short budgets do not skip that delay.
  • 403, 429, invalid source or robots refusal: the Actor stops without retries or bypass. Retry later after reviewing SUMMARY; the failed request produces no paid result rows.
  • History conflict: schedule sequential runs or assign a separate store/namespace. Do not reset another workflow's history.

For support, open an issue on this Actor's Store page with the run URL and a redacted input. Do not include credentials or private supplier notes.