# Food Recall & Allergy Alerts: US, UK, Canada, Australia (`saffo/food-recall-allergy-alerts`) Actor

Official food recall and allergy alert notices from the US FDA, the UK FSA, Canada's CFIA and Australia's FSANZ in one schema, one row per recall.

- **URL**: https://apify.com/saffo/food-recall-allergy-alerts.md
- **Developed by:** [Saffo](https://apify.com/saffo) (community)
- **Categories:** E-commerce, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 recall notices

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/running/actors-in-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

## Food recall alerts: FDA, FSA, CFIA and FSANZ in one feed

Official food recall and allergy alert notices from the US FDA, the UK FSA, Canada's CFIA and Australia's FSANZ in one schema, one row per recall.

This actor reads public data of the US Food and Drug Administration (FDA), the UK Food Standards Agency (FSA), the Canadian Food Inspection Agency (CFIA, through the Government of Canada open data) and Food Standards Australia New Zealand (FSANZ). It is not affiliated with or endorsed by the FDA, the FSA, the Government of Canada (Health Canada, CFIA) or FSANZ.

### What it does

The actor returns one row per official food recall or allergy alert notice from four agencies: [openFDA food enforcement reports](https://open.fda.gov/apis/food/enforcement/), the [FSA food alerts API](https://data.food.gov.uk/food-alerts/ui/reference), the [Government of Canada Recalls and Safety Alerts open data](https://open.canada.ca/data/en/dataset/d38de914-c94c-429b-8ab1-8776c31643e3) (CFIA rows only) and the [FSANZ food recall list](https://www.foodstandards.gov.au/food-recalls/recall-alert). Each row lists the products covered with pack sizes and lot or date codes, a normalised hazard type, a normalised list of undeclared allergens, the recall class mapped to a severity, where the product was sold and the licence line of the source. Every run reads the sources live, newest first, for the number of days you choose.

FDA records of one recall event are grouped into one row. Filters by keyword, allergen and hazard type, plus an "only new since the last run" mode, make the actor usable as a scheduled food-safety watch.

### Who it is for

- Food brands and co-packers: watch recalls of their own products, ingredients and competitors in four markets.
- Retailers, marketplaces and importers: check new recalls against the products they sell or source, by brand, barcode or lot code.
- Allergy apps and food-safety consultants: get undeclared-allergen notices in one schema with normalised allergen names.

### How to use it

1. Open the actor on [Apify Store](https://apify.com/saffo/food-recall-allergy-alerts) and go to its Input tab.
2. Change the fields you need; every field has a default (see Input below).
3. Click **Start**. The run ends at the limits below, or earlier at the "Maximum cost per run" you set.
4. When the run ends, open the Output tab: view the results as a table, or export them as JSON, CSV or Excel.

A weekly allergen watch for peanut and sesame, which skips notices an earlier run already saved:

```json
{
  "sources": ["us-fda", "uk-fsa", "ca-cfia", "au-fsanz"],
  "daysBack": 14,
  "allergens": ["peanut", "sesame"],
  "onlyNew": true,
  "maxItems": 200
}
```

A one-year export of every notice of the four agencies:

```json
{
  "sources": ["us-fda", "uk-fsa", "ca-cfia", "au-fsanz"],
  "daysBack": 365,
  "maxItems": 2000
}
```

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `sources` | array | `["us-fda","uk-fsa","ca-cfia","au-fsanz"]` | Agencies to read, at least one. Allowed values: us-fda (US Food and Drug Administration), uk-fsa (UK Food Standards Agency), ca-cfia (Canadian Food Inspection Agency), au-fsanz (Food Standards Australia New Zealand, Australian recalls). |
| `daysBack` | integer | `30` | Look-back window in days (1 to 1825). A notice is kept when its publishedDate, or its updatedDate when the source gives no published date, is on or after today minus daysBack (UTC). |
| `keywords` | array |  | Optional. Keep a notice when any keyword appears (case-insensitive substring) in its title, company, brands, product names, product codes, hazard or summary. Works for brands, products, pathogens and barcodes. |
| `allergens` | array |  | Optional. Keep a notice when its allergens list contains any of these values. Allowed values: milk, egg, peanut, tree-nuts, soy, wheat, gluten, sesame, mustard, sulphites, fish, crustaceans, molluscs, celery, lupin. |
| `hazardTypes` | array |  | Optional. Keep a notice when its hazardType is one of these. Allowed values: allergen, microbiological, foreign-matter, chemical, labelling, quality, other. |
| `onlyNew` | boolean | `false` | For scheduled runs: skip notices (by id) that an earlier run with onlyNew already saved; the memory lives in a named key-value store of the user's account, so a notice is never charged twice. |
| `maxItems` | integer | `200` | Stop after this many notices in total (1 to 10000), newest first across all selected sources. You pay per notice saved. |
| `openFdaApiKey` | string |  | Optional free openFDA API key of the user, stored as a secret input. Without it openFDA allows about 1,000 requests a day per IP; with it the US source keeps working on busy shared IPs. |

Example input:

```json
{
  "sources": [
    "uk-fsa"
  ],
  "daysBack": 30,
  "maxItems": 5
}
```

### Output

Each result is one dataset item:

| Field | Type | Description |
|---|---|---|
| `url` | string | Web address of the item: its own page, or the page it was read from. |
| `id` | string | Stable unique key of the notice: source and recallId joined by a colon; use it to deduplicate. |
| `source` | string | Source code, one of us-fda, uk-fsa, ca-cfia, au-fsanz. |
| `agency` | string | Full name of the publishing agency. |
| `country` | string | ISO 3166-1 alpha-2 code of the agency's country: US, GB, CA or AU. |
| `recallId` | string | The agency's own identifier: FDA event_id, FSA alert notation, Canadian NID, FSANZ notice path slug. |
| `title` | string | Title of the item as shown on the page. |
| `company` | string or null | Business named as recalling firm or reporting business; null when the source names none (Canada open data). |
| `brands` | array | Product brands named in the notice; filled for Canadian notices from the title, empty array elsewhere. |
| `products` | array | Products covered by the notice, one entry per product the source lists. |
| `hazardType` | string | Normalised hazard class: allergen, microbiological, foreign-matter, chemical, labelling, quality or other. |
| `hazard` | string or null | The agency's own wording of the problem (reason for recall, issue, pathogen or risk statement), at most 500 characters. |
| `allergens` | array | Normalised undeclared allergens, from milk, egg, peanut, tree-nuts, soy, wheat, gluten, sesame, mustard, sulphites, fish, crustaceans, molluscs, celery, lupin; empty array when none. |
| `classification` | string or null | Agency classification as published: FDA Class I/II/III, Canadian Class 1/2/3, FSA alert type; null when none. |
| `severity` | string or null | high, medium or low from the recall class (Class I/1 high, II/2 medium, III/3 low); null when the source has no class. |
| `distribution` | array | Where the product was sold: FDA distribution pattern, FSA nations, FSANZ states or Online; empty array when not given. |
| `status` | string or null | FDA recall status (Ongoing, Completed, Terminated) as published in the enforcement report; null for other sources. |
| `summary` | string or null | Short official summary of the notice (FSA description, FSANZ recall summary); null when the source has none. |
| `publishedDate` | string or null | Date the notice was first published, ISO YYYY-MM-DD; null for Canadian rows (open data gives only the last update). |
| `updatedDate` | string or null | Date of the latest update, ISO YYYY-MM-DD; null when the source shows none. |
| `license` | string | Licence and attribution line of the source; keep it when republishing. |
| `fetchedAt` | string | When the page was read (ISO 8601, UTC). |

Example output (real items from a test run):

```json
[
  {
    "url": "https://alerts.food.gov.uk/news-alerts/alert/fsa-aa-52-2026",
    "id": "uk-fsa:FSA-AA-52-2026",
    "source": "uk-fsa",
    "agency": "Food Standards Agency",
    "country": "GB",
    "license": "Contains public sector information licensed under the Open Government Licence v3.0 (Food Standards Agency).",
    "recallId": "FSA-AA-52-2026",
    "title": "Waitrose & Partners recalls various Waitrose & Partners Doughnuts 5’s because of undeclared soya",
    "company": "Waitrose & Partners",
    "brands": [],
    "products": [
      {
        "name": "Waitrose & Partners Sweet, Fluffy, Golden Ring Doughnuts 5’s",
        "packSize": "5 x Sweet, Fluffy, Golden Ring Doughnuts",
        "codes": "Best before: 10 November 2026; Best before: 11 November 2026",
        "quantity": null
      },
      {
        "name": "Waitrose & Partners Jammy, Messy, Squidgy Doughnuts 5’s",
        "packSize": "5 x Jammy, Messy, Squidgy Doughnuts",
        "codes": "Best before: 10 November 2026; Best before: 11 November 2026",
        "quantity": null
      }
    ],
    "hazardType": "allergen",
    "hazard": "Soya",
    "allergens": [
      "soy"
    ],
    "classification": "Allergy Alert",
    "severity": null,
    "distribution": [
      "England",
      "Scotland",
      "Wales"
    ],
    "status": null,
    "summary": "Waitrose & Partners are recalling Waitrose & Partners Sweet, Fluffy, Golden Ring Doughnuts 5’s and Waitrose & Partners Jammy, Messy, Squidgy Doughnuts 5’s because the products contain soya which is not declared on the label.",
    "publishedDate": "2026-11-10",
    "updatedDate": "2026-11-10",
    "fetchedAt": "2026-11-13T07:39:13.330Z"
  },
  {
    "url": "https://alerts.food.gov.uk/news-alerts/alert/fsa-prin-52-2026",
    "id": "uk-fsa:FSA-PRIN-52-2026",
    "source": "uk-fsa",
    "agency": "Food Standards Agency",
    "country": "GB",
    "license": "Contains public sector information licensed under the Open Government Licence v3.0 (Food Standards Agency).",
    "recallId": "FSA-PRIN-52-2026",
    "title": "Baxters recalls Chef Selections Cullen Skink soup because of a manufacturing fault which may cause spoilage and cans to rupture",
    "company": "Baxters",
    "brands": [],
    "products": [
      {
        "name": "Baxters Chef Selections Cullen Skink soup",
        "packSize": "400g can",
        "codes": "Best before: April 2029; Batch: L07XC",
        "quantity": null
      }
    ],
    "hazardType": "quality",
    "hazard": "A manufacturing fault has occurred which may result in spoilage causing unpleasant odour and flavour, swelling and possible rupture of the can.",
    "allergens": [],
    "classification": "Product Recall Information Notice",
    "severity": null,
    "distribution": [
      "England",
      "Wales"
    ],
    "status": null,
    "summary": "Baxters is recalling their Chef Selections Cullen Skink soup due to a manufacturing fault which may cause spoilage of the product and for cans to swell and potentially rupture.",
    "publishedDate": "2026-11-06",
    "updatedDate": "2026-11-10",
    "fetchedAt": "2026-11-13T07:39:13.699Z"
  }
]
```

Field notes:

- `publishedDate` is the date the agency first published the notice. Canadian rows have no published date in the open data, so they carry only `updatedDate` (the last update), and the date filter uses that.
- For FDA rows, `publishedDate` is the earliest `report_date` of the event's enforcement reports, which is usually days to weeks after the recall started. `status` is the status as published in the enforcement report.
- `severity` comes from the recall class: Class I or 1 is high, Class II or 2 is medium, Class III or 3 is low. The FSA and FSANZ do not publish a class, so their rows have `severity` null.
- `allergens` is read from the agency's allergen or reason text, never from product names, so "Listeria in smoked salmon" does not give `fish`.
- `id` is `source:recallId` and stays the same across runs; use it to remove duplicates.

Download the dataset as JSON, CSV or Excel, or read it through the Apify API.

### Pricing

Pay per event: a small fee per run plus a fee per result saved. Platform usage is included in these prices.

| Event | When it is charged | Free plan | Bronze plan | Silver plan | Gold plan | Platinum plan | Diamond plan |
|---|---|---|---|---|---|---|---|
| Run started (`run-started`) | Flat fee once per run; covers starting the run, the Canadian open-data download and the list requests. | $0.0125 | $0.01 | $0.009 | $0.008 | $0.008 | $0.008 |
| Recall notice (`recall-notice`) | One food recall or allergy alert notice saved to the dataset. | $0.005 | $0.004 | $0.0036 | $0.0032 | $0.0032 | $0.0032 |

Example (lowest plan price): a run that saves 100 results costs $0.008 + 100 × $0.0032 = **$0.328**. That is $3.20 per 1,000 results plus $0.008 per run. You pay only for results saved to the dataset; set "Maximum cost per run" in the run options and the actor stops there.

A daily scheduled watch with `onlyNew` that finds 3 new notices costs $0.01 + 3 × $0.004 = $0.022 per run. A 365-day export across the four agencies (about 950 notices in November 2026) costs about $3.81. Only notices saved to the dataset are charged.

### Limits

- One run saves at most 10,000 results and loads at most 2,000 pages. Larger jobs: split the start URLs over several runs.

- Default memory 512 MB; no proxy.

- When a limit is reached, the run ends normally and keeps every result saved so far; the status message says which limit it was.

- Data sources, update rhythm and licences: openFDA food enforcement reports are updated weekly and are public domain under [CC0 1.0](https://open.fda.gov/terms/). FSA food alerts are published as they are issued, under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). The Canadian open-data file is updated daily, under the [Open Government Licence - Canada](https://open.canada.ca/en/open-government-licence-canada). FSANZ recall notices are published as they are issued, under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Every row carries its `license` line; keep it when you republish the data.

- The FDA says its enforcement reports are not meant as a source for issuing alerts to the public or for tracking the lifecycle of a recall, and it does not update a recall's status after classification. FDA rows are a record of the enforcement reports, not consumer alerts.

- FDA enforcement reports trail the recalls by days to weeks. Canadian rows carry only the last-updated date, no product codes and no company. FSANZ notices cover Australian recalls only.

- No USDA FSIS recalls (meat, poultry and egg products in the US) and no EU RASFF notices. A recall announced in two countries appears once per agency; rows are not merged across countries.

- openFDA allows about 1,000 requests a day per IP without a key. If a source keeps failing after three retries, the run skips it, logs a warning and finishes with the other sources; it fails only when every selected source failed.

- `onlyNew` keeps its memory in the key-value store `food-recall-allergy-alerts-state` of your account. If your account already has a store of that name that another actor created, the platform does not let this actor use it: the run then saves and charges every matching notice as if `onlyNew` were off and says so in its status message. Rename that store to use `onlyNew`.

### Use with AI agents

AI agents can call this actor as a tool through the Apify MCP server. Add it to an MCP client (Claude Desktop, Cursor, VS Code and others):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?tools=saffo/food-recall-allergy-alerts"
    }
  }
}
```

An agent can then answer questions such as "any peanut recalls in the UK or Canada this month?" by running the actor with `sources: ["uk-fsa", "ca-cfia"]`, `daysBack: 31` and `allergens: ["peanut"]`.

Or call it over HTTP and get the results in the response:

```sh
curl -X POST "https://api.apify.com/v2/acts/saffo~food-recall-allergy-alerts/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"sources":["uk-fsa"],"daysBack":30,"maxItems":5}'
```

### FAQ

#### How much does it cost?

You pay per event: from $0.0032 per recall notice plus $0.008 per run. The Pricing section lists the price on every Apify plan. Platform usage is included, and the run stops at the maximum cost per run you set.

#### Can I use it from an AI agent or my own code?

Yes. Add it to any MCP client through the Apify MCP server, or call the Apify API; the examples under Use with AI agents show both. Results come back as JSON.

#### How many results can one run return?

Up to 10,000 results from at most 2,000 pages. For more, split the input over several runs.

#### Does it collect personal data?

No. It saves only the fields listed under Output and leaves out names, e-mail addresses, phone numbers and profiles of private persons.

#### Why is a Canadian recall dated today when it is old?

The Canadian open data gives only the date of the last update of a recall, not the date it was first published. When CFIA updates an older recall, the row comes back with the new date, so the date window keeps it.

#### Does it include FDA meat and poultry recalls?

No. In the US, meat, poultry and processed egg products are recalled by the USDA Food Safety and Inspection Service, which this actor does not read. FDA rows cover the other foods, dietary supplements included.

### Related actors

More actors by the same author on Apify Store:

- [Argentina Supermarket Prices by Chain and Store](https://apify.com/saffo/argentina-supermarket-prices): Daily list prices and promotions of every supermarket chain and branch in Argentina's official SEPA open dataset, filtered by EAN, keyword, brand, chain or area.
- [Brand Ownership Lookup: Parent Company & Ultimate Owner](https://apify.com/saffo/brand-ownership-lookup): For each brand, product or company name, returns the owning company, the chain up to the ultimate parent with its LEI and stock tickers, and its major institutional shareholders, all from Wikidata.
- [bike-components Prices, Ratings & Stock](https://apify.com/saffo/bike-components-prices): Prices for 13 delivery countries, RRP and discount, star rating, review count and stock of every product on bike-components.de category, brand and deal pages, one row per product variant.

### Support

Open an issue on the actor's Issues tab.

### Changelog

#### 0.2 (2026-11-13)

- Fix: Runs with onlyNew failed within seconds with 'Insufficient permissions for the key-value store' when the account already had a food-recall-allergy-alerts-state store created by another actor. The actor now saves and charges the notices as if onlyNew were off in that case and says so in the run's status message; any other storage error still fails the run.

#### 0.1 (2026-11-13)

- First release: food recall and allergy alert notices from four sources (US FDA via openFDA, UK FSA food alerts, CFIA rows of the Government of Canada recalls open data, FSANZ recall notices) in one schema, with grouped FDA events, normalised allergens, hazard type and severity, keyword, allergen and hazard-type filters, and an only-new mode for scheduled runs.

# Changelog

This Actor's version history is a separate document: https://apify.com/saffo/food-recall-allergy-alerts/changelog.md

# Actor input Schema

## `sources` (type: `array`):

Agencies to read, at least one. Allowed values: us-fda (US Food and Drug Administration), uk-fsa (UK Food Standards Agency), ca-cfia (Canadian Food Inspection Agency), au-fsanz (Food Standards Australia New Zealand, Australian recalls).

## `daysBack` (type: `integer`):

Look-back window in days (1 to 1825). A notice is kept when its publishedDate, or its updatedDate when the source gives no published date, is on or after today minus daysBack (UTC).

## `keywords` (type: `array`):

Optional. Keep a notice when any keyword appears (case-insensitive substring) in its title, company, brands, product names, product codes, hazard or summary. Works for brands, products, pathogens and barcodes.

## `allergens` (type: `array`):

Optional. Keep a notice when its allergens list contains any of these values. Allowed values: milk, egg, peanut, tree-nuts, soy, wheat, gluten, sesame, mustard, sulphites, fish, crustaceans, molluscs, celery, lupin.

## `hazardTypes` (type: `array`):

Optional. Keep a notice when its hazardType is one of these. Allowed values: allergen, microbiological, foreign-matter, chemical, labelling, quality, other.

## `onlyNew` (type: `boolean`):

For scheduled runs: skip notices (by id) that an earlier run with onlyNew already saved; the memory lives in a named key-value store of the user's account, so a notice is never charged twice.

## `maxItems` (type: `integer`):

Stop after this many notices in total (1 to 10000), newest first across all selected sources. You pay per notice saved.

## `openFdaApiKey` (type: `string`):

Optional free openFDA API key of the user, stored as a secret input. Without it openFDA allows about 1,000 requests a day per IP; with it the US source keeps working on busy shared IPs.

## Actor input object example

```json
{
  "sources": [
    "us-fda",
    "uk-fsa",
    "ca-cfia",
    "au-fsanz"
  ],
  "daysBack": 30,
  "onlyNew": false,
  "maxItems": 200
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("saffo/food-recall-allergy-alerts").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("saffo/food-recall-allergy-alerts").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 '{}' |
apify call saffo/food-recall-allergy-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saffo/food-recall-allergy-alerts"
        }
    }
}
```

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/qqw47wqYkxPftSrZl/builds/SdRZyObiaTsL73kLV/openapi.json
