Recalls All docs

Recalls API Reference

4 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Product recall API page.

GET/v1/recalls2 credits

Search recalls from US, Canadian, UK and EU regulators. 2 credits.

ParameterInTypeRules
qquerystringmax 100 chars · Words to find in product, brand, hazard or model
countryquerystringISO 3166-1 alpha-2 · US, CA, GB or EU
categoryquerystringone of consumer, food, drug, device, vehicle · Recall category
sincequerystringOnly recalls dated on or after this day
brandquerystringmax 100 chars · Brand or recalling firm (partial match)
gtinquerystringExact barcode (UPC, EAN or GTIN)
pagequeryinteger1 to 1000 · default 1 · Page number
limitqueryinteger1 to 100 · default 25 · Results per page
GET/v1/recalls
curl 'https://api.apifor.dev/v1/recalls' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": [
    {
      "id": "fda-h-0203-2027",
      "source": "openfda",
      "country": "US",
      "category": "food",
      "product": "Ground Up Nut Butter Cups filled with Almond & Cashew Butter Dark Chocolate Two Pack",
      "brand": "Breath of Fresh Air PDX LLC",
      "hazard": "Foreign material: plastic fiber",
      "remedy": "Class II recall, Voluntary: Firm initiated, status: Ongoing",
      "recall_date": "2026-10-28",
      "identifiers": {
        "gtin": [
          "850017637221"
        ],
        "lot": [
          "Lot code: 10/2027 Best By: 10/2027"
        ]
      },
      "images": [],
      "url": "https://api.fda.gov/food/enforcement.json?search=recall_number:%22H-0203-2027%22",
      "added_at": "2026-10-28T00:00:00.000Z",
      "attribution": {
        "source": "U.S. FDA openFDA enforcement reports",
        "licence": "CC0 1.0",
        "licence_url": "https://open.fda.gov/license/"
      }
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "per_page": 25,
    "total_pages": 1
  }
}
  • 200Matching recalls, newest first
  • 400Invalid parameters
GET/v1/recalls/{id}1 credit

1 credit.

ParameterInTypeRules
id *pathstringNone
GET/v1/recalls/{id}
curl 'https://api.apifor.dev/v1/recalls/cpsc-27096' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "id": "cpsc-27096",
    "source": "cpsc",
    "country": "US",
    "category": "consumer",
    "product": "CHE-US Magnetic Robot Toys",
    "brand": "CHE-US",
    "hazard": "The recalled magnetic stick figures violate the mandatory standard for toys because when pulled apart, the figures’ arms and legs liberat...",
    "remedy": "Consumers should stop using the stick figures immediately, take them away from children and contact CHE-US for a full refund. Consumers w...",
    "recall_date": "2026-11-19",
    "identifiers": {},
    "images": [
      "https://www.cpsc.gov/s3fs-public/CHE-US1_0.png",
      "https://www.cpsc.gov/s3fs-public/CHE-US2_0.png"
    ],
    "url": "https://cpsc.gov/Recalls/2027/CHE-US-Recalls-Magnetic-Robot-Toys-Due-to-Risk-of-Serious-Injury-or-Death-from-Magnet-Ingestion-Violate-Man...",
    "added_at": "2026-11-19T00:00:00.000Z",
    "attribution": {
      "source": "U.S. Consumer Product Safety Commission (CPSC) Recalls API",
      "licence": "Public domain (U.S. Government work, 17 U.S.C. 105)",
      "licence_url": "https://www.usa.gov/government-works"
    }
  }
}
  • 200The recall
  • 400Invalid parameters
  • 404No recall with that id
POST/v1/recalls/match25 credits

Send up to 50 items. Each item is matched by exact GTIN, exact model number, or brand plus product words. Flat 25 credits per call. Price note: flat, up to 50 items.

Request body · application/json
{
  "items": [
    {
      "gtin": "8011889092057"
    },
    {
      "brand": "Acme",
      "product": "kettle"
    }
  ]
}
POST/v1/recalls/match
curl -X POST 'https://api.apifor.dev/v1/recalls/match' \
  -H 'content-type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{"items":[{"gtin":"8011889092057"},{"brand":"Acme","product":"kettle"}]}'
Example response · 200
{
  "success": true,
  "data": [
    {
      "index": 0,
      "input": {
        "gtin": "8011889092057"
      },
      "match_count": 1,
      "matches": [
        {
          "matched_by": [
            "gtin"
          ],
          "recall": {
            "id": "eu-a12-03278-24",
            "source": "eu_safety_gate",
            "country": "EU",
            "category": "consumer",
            "product": "Body lotion - tre",
            "brand": "roccobarocco",
            "hazard": "Chemical: According to the list of ingredients the product contains 2-(4-tert- butylbenzyl) propionaldehyde (BMHCA), which is prohibited ...",
            "remedy": "Type of economic operator to whom the measure(s) were ordered: Retailer. Category of measure(s): Ban on the marketing of the product and ...",
            "recall_date": "2024-11-28",
            "identifiers": {
              "gtin": [
                "8011889092057"
              ],
              "model": [
                "9205"
              ],
              "lot": [
                "0363151"
              ]
            },
            "images": [
              "https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/10936986"
            ],
            "url": "https://ec.europa.eu/safety-gate-alerts/screen/webReport/alertDetail/10013690",
            "added_at": "2024-11-28T00:00:00.000Z",
            "attribution": {
              "source": "EU Safety Gate, European Commission (modified: normalized fields)",
              "licence": "CC BY 4.0",
              "licence_url": "https://creativecommons.org/licenses/by/4.0/"
            }
          }
        }
      ]
    },
    {
      "index": 1,
      "input": {
        "brand": "Acme",
        "product": "kettle"
      },
      "match_count": 0,
      "matches": []
    }
  ],
  "meta": {
    "total": 1
  }
}
  • 200Matches per item, in input order
  • 400Invalid parameters
GET/v1/recalls/changes2 credits

Poll for recalls added after a timestamp. Pass back next.since and next.after_id to page. 2 credits.

ParameterInTypeRules
since *querystringISO 8601 timestamp
after_idquerystringRecall id from next.after_id of the previous page
categoryquerystringone of consumer, food, drug, device, vehicle · Recall category
countryquerystringISO 3166-1 alpha-2 · US, CA, GB or EU
limitqueryinteger1 to 500 · default 100 · Results per page
GET/v1/recalls/changes
curl 'https://api.apifor.dev/v1/recalls/changes?since=' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "recalls": [
      {
        "id": "fda-h-0203-2027",
        "source": "openfda",
        "country": "US",
        "category": "food",
        "product": "Ground Up Nut Butter Cups filled with Almond & Cashew Butter Dark Chocolate Two Pack",
        "brand": "Breath of Fresh Air PDX LLC",
        "hazard": "Foreign material: plastic fiber",
        "remedy": "Class II recall, Voluntary: Firm initiated, status: Ongoing",
        "recall_date": "2026-10-28",
        "identifiers": {
          "gtin": [
            "850017637221"
          ],
          "lot": [
            "Lot code: 10/2027 Best By: 10/2027"
          ]
        },
        "images": [],
        "url": "https://api.fda.gov/food/enforcement.json?search=recall_number:%22H-0203-2027%22",
        "added_at": "2026-10-28T00:00:00.000Z",
        "attribution": {
          "source": "U.S. FDA openFDA enforcement reports",
          "licence": "CC0 1.0",
          "licence_url": "https://open.fda.gov/license/"
        }
      }
    ],
    "next": {
      "since": "2026-10-28T00:00:00.000Z",
      "after_id": "fda-h-0203-2027"
    },
    "has_more": false
  }
}
  • 200Recalls ordered by added_at
  • 400Invalid parameters

Error handling · Rate limits · Prices