Discover/open.fda.gov API
live

open.fda.gov APIopen.fda.gov

Access FDA food recall enforcement reports and CAERS adverse event data. Filter by status, classification, product name, or recall number across 6 endpoints.

Endpoints
6
Updated
10d ago
Try it
Number of results to skip (max 25000)
Field to sort by with direction (e.g., 'recall_initiation_date:desc')
Max results to return (max 1000)
Lucene-style search query (e.g., 'status:"Ongoing"', 'classification:"Class I"')
api.parse.bot/scraper/8f43c093-11b3-4d20-a1da-b314591fb5f9/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8f43c093-11b3-4d20-a1da-b314591fb5f9/search_food_enforcement?sort=recall_initiation_date%3Adesc&limit=5' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Search food recall enforcement reports from the FDA Recall Enterprise System (RES). Supports filtering by any field using the search parameter and sorting. Returns full recall records including recall_number, product_description, status, classification, recalling_firm, and more.

Input
ParamTypeDescription
skipintegerNumber of results to skip (max 25000)
sortstringField to sort by with direction (e.g., 'recall_initiation_date:desc')
limitintegerMax results to return (max 1000)
searchstringLucene-style search query (e.g., 'status:"Ongoing"', 'classification:"Class I"')
Response
{
  "type": "object",
  "fields": {
    "meta": "object containing disclaimer, terms, license, last_updated, and results pagination info (skip, limit, total)",
    "results": "array of food recall enforcement records"
  },
  "sample": {
    "data": {
      "meta": {
        "terms": "https://open.fda.gov/terms/",
        "license": "https://open.fda.gov/license/",
        "results": {
          "skip": 0,
          "limit": 5,
          "total": 28784
        },
        "disclaimer": "Do not rely on openFDA to make decisions regarding medical care...",
        "last_updated": "2026-04-29"
      },
      "results": [
        {
          "city": "Davie",
          "state": "FL",
          "status": "Terminated",
          "country": "United States",
          "product_type": "Food",
          "recall_number": "F-0276-2017",
          "classification": "Class II",
          "recalling_firm": "Pharmatech LLC",
          "reason_for_recall": "Recall initiated as a precautionary measure due to potential risk of product contamination with Burkholderia cepacia.",
          "product_description": "CytoDetox, Hydrolyzed Clinoptilolite Fragments, 1 oz./30 mL",
          "recall_initiation_date": "20160808"
        }
      ]
    },
    "status": "success"
  }
}

About the open.fda.gov API

This API exposes 6 endpoints covering FDA food recall enforcement records and CFSAN Adverse Event Reporting System (CAERS) reports. Use search_food_enforcement to query the full recall database with Lucene-style filters across fields like classification, recalling_firm, and status, or use search_food_adverse_events to pull consumer demographics, reported reactions, and product details from adverse event submissions.

Food Recall Enforcement Endpoints

The search_food_enforcement endpoint queries the FDA Recall Enterprise System (RES) and returns full recall records including recall_number, product_description, classification (Class I, II, or III), recalling_firm, status, and recall_initiation_date. Results support Lucene-style search queries — for example, filtering to classification:"Class I" to isolate the most serious recalls — as well as sort by any field and pagination via skip and limit (up to 1,000 records per request, 25,000 max skip). get_food_enforcement_by_recall_number accepts a single recall_number like H-0659-2026 and returns the matching record. get_food_enforcement_by_status narrows results to Ongoing, Terminated, or Completed recalls directly.

Aggregation and Counting

count_food_enforcement_by_field returns term-count pairs for any field you specify — pass status.exact, classification.exact, or state.exact to get a frequency distribution across the entire enforcement dataset. This is useful for understanding the breakdown of recall classes or which states have the highest enforcement activity without fetching individual records.

Food Adverse Events Endpoints

search_food_adverse_events queries CAERS reports, returning objects with report_number, consumer demographics (age, gender), reactions (a list of reported symptoms), outcomes, and products (including brand name, industry code, and role in the event). get_food_adverse_events_by_product accepts a product brand name string and returns all matching CAERS reports for that product. Both endpoints use the same meta envelope with last_updated, total, skip, and limit pagination fields.

Data Currency and Scope

The meta object on every response includes a last_updated timestamp reflecting when the underlying FDA dataset was last refreshed. Coverage is limited to food-related enforcement and adverse events; drug, device, and dietary supplement datasets are separate openFDA endpoints not included in this API.

Common use cases
  • Monitor all ongoing Class I food recalls by filtering search_food_enforcement with classification:"Class I" and status:"Ongoing"
  • Look up a specific recall record by recall_number to retrieve the full product_description, reason_for_recall, and distribution_pattern
  • Aggregate recall counts by state.exact to identify geographic concentrations of enforcement activity
  • Track adverse event reports for a specific brand using get_food_adverse_events_by_product to review reported reactions and outcomes
  • Build a food safety dashboard by periodically querying count_food_enforcement_by_field on classification.exact to track class distribution over time
  • Identify which firms have the most recall history by aggregating recalling_firm.exact via count_food_enforcement_by_field
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does openFDA have an official developer API?+
Yes. openFDA publishes a public REST API at https://open.fda.gov/apis/ covering food, drug, device, and other FDA datasets with documented query syntax and no authentication required for standard use.
What does the `count_food_enforcement_by_field` endpoint actually return?+
It returns an array of objects, each with a term string and an integer count, representing how many enforcement records contain that value for the field you specified. For example, passing classification.exact returns one entry per class (Class I, Class II, Class III) with the total record count for each.
How deep does pagination go in the enforcement endpoints?+
The skip parameter has a hard cap of 25,000 and limit is capped at 1,000 per request. To page through more than 25,000 records you need to use date-range filters in the search parameter to partition the dataset into smaller slices.
Does this API cover drug or medical device recalls?+
Not currently. The API covers food enforcement actions from RES and food adverse events from CAERS only. You can fork it on Parse and revise it to add endpoints targeting the openFDA drug enforcement or device recall datasets.
Are voluntary recalls and market withdrawals included in the enforcement results?+
The enforcement dataset reflects records from the FDA Recall Enterprise System, which includes voluntary recalls classified by FDA. Market withdrawals and stock recoveries may appear as distinct record types in the status or classification fields, but not all informal voluntary actions are guaranteed to be represented. You can use count_food_enforcement_by_field with voluntary_mandated.exact to inspect what values are present in the dataset.
Page content last updated . Spec covers 6 endpoints from open.fda.gov.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.