Food Import Refusals in Japan by Exporter — Supplier Risk Check on the Apify Store →

How to check what Japan refuses before you ship — food import refusals by exporter

Tutorial article for the Apify blog guest program, dev.to, Medium and Hashnode. The owner publishes it and records the URL in brief.json → marketing.links.

The problem

Japan's Ministry of Health, Labour and Welfare (MHLW) publishes every food consignment it refuses at the border — the product, the hazard with its level, and, unlike most authorities, the named manufacturer and shipper. It is the best free evidence an exporter or an importer has: which hazards stop chickpea flour, shrimp or spices in Japan, and whether a supplier has been refused before.

The catch: the data sits in monthly Excel files, in Japanese, with no filter. An Indian exporter who wants "every refusal of Indian food in the last year" downloads two cumulative files (1,196 rows), filters the 生産国 column for インド, translates the 不適格内容 column line by line and copies the names out. On 5 sample refusals that took about 4 minutes each — roughly 2.5 hours for one year of one origin, and again next month.

Step by step

  1. Open the Actor and click Try it. The form runs a free demo on 7 real refusals — Chinese peanuts, cumin seeds, a gongura pickle, frozen okra, chickpea flour and shrimp from India and Vietnam — with the hazard and the level in English (docs/img/shortlist.svg).
  2. Type a product. In "Products" type chickpea (or shrimp, chilli). The word is matched on MHLW's English names and on the Japanese ones (chickpea also finds ひよこ豆). Origin defaults to India; change "Origin countries" for others, or empty it for every origin.
  3. Press Start. The Actor reads MHLW's current files itself — no other Actor, any Apify plan — and returns one row per refusal: publishedOn, product, exporterName, hazardDetail (chlorpyrifos 0.02 ppm), action (destroy_or_return), inspection (inspection_order = Japan tests every lot), port and the file row to verify.
  4. Open the Supplier check view (docs/img/supplier-check.svg) to see every refusal per exporter, then export CSV.
  5. Vet one supplier. Type part of its name into "Supplier name" and set "Published on or after" to 2024-04-01 — every refusal naming it as manufacturer or shipper since MHLW's files start.

What a run costs

The live read on 2026-11-22: 1,196 refusals of the last 12 months read in 3.7 s, 35 of Indian origin. At $0.008 per refusal that is $0.28 — and the first 25 on an account are free, so a first run costs $0.08. With the AI note (what to test before shipping, ranked against your brief) it is $0.02 per refusal plus ≈ $0.002 of tokens: $0.77 for the 35. Refusals outside your filters are never charged, and no source Actor bills your account.

Automate it

Run it once, open the task the status links and click Schedule → weekly. Put your e-mail (or a Telegram / Slack link in "Send alerts to") and only new refusals arrive — each charged once. For pipelines:

from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("<your-apify-username>/import-refusals-ai").call(
    run_input={"products": ["chickpea", "besan"], "originCountries": ["IN"], "maxQualified": 100},
    timeout_secs=3600,
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["publishedOn"], item["exporterName"], item["hazardDetail"], item["url"])

What the data says

Of the 35 Indian refusals of the last 12 months: 7 pesticide residues (chlorpyrifos in chickpea flour and besan), 7 bacteria counts (frozen vegetables, shrimp), 6 unauthorised additives (TBHQ in pickles), 3 irradiated spices, 2 aflatoxin (129 μg/kg in peanut butter, 31 μg/kg in sorghum flour), 2 cyanide in flax seeds and 2 veterinary drugs in shrimp. Six were caught under an inspection order — a product where Japan already tests every lot.

Food Import Refusals in Japan by Exporter — Supplier Risk Check on the Apify Store →