# Australian Recall Stock Screening (`challenge_logic/australian-recall-stock-screening`) Actor

Screen product lists against recent official Australian recall RSS titles, or a supplied curated catalog. Produces a manual-review queue with sources and coverage warnings. Limited beta: not a complete recall register or a safety/compliance determination.

- **URL**: https://apify.com/challenge_logic/australian-recall-stock-screening.md
- **Developed by:** [Paul P](https://apify.com/challenge_logic) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / completed stock scan

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Australian Recall Stock Screening — beta

Turn a short stock list into an evidence-linked review queue against the current official ACCC recall RSS feed, or a structured recall catalog you supply.

**This is a screening aid, not a safety, legal or compliance certification. A result with no candidate does not mean a product is safe or not recalled.** The live feed is a limited recent window, not the complete historical recall register. Check official notices and any model-year, batch or serial restrictions yourself.

### Input

`stock`: 1–500 objects with `sku`, `brand`, `model`, and optional `batch` strings. Do not upload customer names, contact details or other personal data.

`fetchOfficialFeed`: true checks the public ACCC RSS feed once. Live screening looks for the supplied brand as a whole-word phrase in recall titles, producing a manual-review queue. It **does not infer model numbers, parse serial ranges or promise complete brand detection**. Titles may omit brands and therefore produce missed candidates.

For precise model comparisons against a **catalog you curate**, set `fetchOfficialFeed` false and supply `catalog` with `captured_at` (ISO timestamp with timezone), `coverage` and `recalls` records containing `id`, `brand`, `models` (list) and an official `source_url`. Optional `brand_aliases`, `batches` and `scope_notes` preserve ambiguity. Models are compared after punctuation/case normalization, so review possible identifier collisions.

### Output

Dataset: one row per stock item with candidate recall links, evidence, scope, source timestamp and warnings. `OUTPUT` in the key-value store contains the full summary. Possible outcomes are `review_required`, `insufficient_identifiers`, and `no_candidate_in_supplied_catalog`. None is a clearance to sell or use a product.

### Reliability and privacy

No accounts, proxy services, private data sources or paid AI are used. Source failures cause the run to fail rather than report a false all-clear. The adapter checks robots.txt, limits bytes, does not follow redirects and does not crawl recall pages. Supplied stock is processed in your Apify run/storage; handle your dataset and sharing settings accordingly.

### Sources and attribution

Source: Based on ACCC data or other content. Modified into a limited screening queue. Not affiliated with or endorsed by ACCC.

- Official RSS information: https://www.productsafety.gov.au/about-us/product-safety-news/subscribe-to-rss-feeds
- Copyright, exceptions and reuse conditions: https://www.productsafety.gov.au/about-us/using-our-website/disclaimer-and-copyright
- CC BY 4.0: https://creativecommons.org/licenses/by/4.0/

ACCC-owned content is generally offered under CC BY 4.0; third-party content and other exceptions are not automatically covered. This Actor extracts basic notice metadata and links, not images or full third-party notices. Always inspect the official source before acting.

#### Pricing and limits

US$0.50 per completed scan of 1–500 stock rows, including scans that return no candidates. Repeat runs are separate scans. No start or per-row fee. Input is JSON; stock fields are strings. A supplied catalog can contain up to 500 records. This is a screening charge, not a safety certification.

#### Illustrative matching example

These are fictional products, not real recalls or customer stock. In a supplied catalog containing Example Brand model AB-12, stock model AB-12 requires review while AB-123 produces no candidate. In RSS-title mode, a title containing Example Brand routes BOTH models for review: model eligibility has not been determined. An unrelated brand/model produces no candidate in this fixture. No-candidate results never establish safety or complete recall coverage.

For supplied-catalog examples explicitly set fetchOfficialFeed to false. For the current official RSS feed explicitly set it to true and omit catalog. The live feed covers only its current bounded response; review official notices and identifier restrictions manually.

# Actor input Schema

## `stock` (type: `array`):

Replace this illustrative product with your own stock. Up to 500 rows; no personal data.

## `catalog` (type: `object`):

Optional supplied catalog up to 500 records; turn off official RSS first.

## `fetchOfficialFeed` (type: `boolean`):

Limited recent feed; manual review required. Not historical/comprehensive.

## Actor input object example

```json
{
  "stock": [
    {
      "sku": "EXAMPLE-REPLACE-ME",
      "brand": "Example Brand",
      "model": "Example Model"
    }
  ],
  "fetchOfficialFeed": true
}
```

# Actor output Schema

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

Candidate screening only; no candidate is not evidence of safety.

## `summary` (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 = {
    "stock": [
        {
            "sku": "EXAMPLE-REPLACE-ME",
            "brand": "Example Brand",
            "model": "Example Model"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("challenge_logic/australian-recall-stock-screening").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 = { "stock": [{
            "sku": "EXAMPLE-REPLACE-ME",
            "brand": "Example Brand",
            "model": "Example Model",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("challenge_logic/australian-recall-stock-screening").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 '{
  "stock": [
    {
      "sku": "EXAMPLE-REPLACE-ME",
      "brand": "Example Brand",
      "model": "Example Model"
    }
  ]
}' |
apify call challenge_logic/australian-recall-stock-screening --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,challenge_logic/australian-recall-stock-screening"
        }
    }
}
```

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/ePF66OUHfesIgjlpp/builds/9H4kJhBlauMW9Vt4e/openapi.json
