/v1/recalls
Search FDA recalls by category & filters
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/recalls-api/v1/recalls" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/recalls-api/v1/recalls", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/recalls-api/v1/recalls");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/recalls-api/v1/recalls",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"skip": 0,
"count": 20,
"limit": 20,
"total": 6117,
"filters": {
"q": "listeria",
"firm": null,
"state": null,
"status": null,
"classification": "1"
},
"recalls": [
{
"state": "FL",
"status": "Terminated",
"country": "United States",
"report_date": "20141210",
"recall_number": "F-0609-2015",
"classification": "Class I",
"recalling_firm": "Oasis Brands, Inc",
"product_quantity": "144 pieces",
"reason_for_recall": "Virginia State (VDACS) found Listeria monocytogenes in Lacteos Santa Martha Quesito Casero Fresh Curd (Best by 9/27/14), FDA made an inspection, were the environmental samples collected came up positive also for Listeria monocytogenes, also the Oasis Brands Inc. sent finish products samples to a private lab, the Lacteos Santa Martha Cuajada en Hoja Queso Casero Hecho a Mano Fresh Curd (Best By dates of 10/18/14 and 11/25/14) came also positive for Listeria monocytogenes. Oasis Brands Inc. is voluntarily recalling ALL their Lacteos Santa Martha brand products manufactured that are within expiration date.",
"voluntary_mandated": "Voluntary: Firm initiated",
"product_description": "Crema GuateLinda (Guatemalan Style Cream) in individually soft poly/plastic bags labeled in part: Lacteos Santa Martha Crema GuateLinda Guatemalan Style Cream Net WT 1 LB (16 oz)",
"distribution_pattern": "FL, GA. NC, and TN",
"recall_initiation_date": "20141010"
},
{
"state": "FL",
"status": "Terminated",
"country": "United States",
"report_date": "20120815",
"recall_number": "F-1922-2012",
"classification": "Class I",
"recalling_firm": "FreshPoint South Florida",
"product_quantity": "7 cases",
"reason_for_recall": "FreshPoint South Florida is recalling sliced fresh yellow onions and salsa products processed using yellow onions sourced from Gills Onions, LLC which were recalled for Listeria monocytogenes.",
"voluntary_mandated": "Voluntary: Firm initiated",
"product_description": "Yellow Onion. Product is labeled in part: \"***FC Salsa Mango\"***Refrigerate at 34 F***\" Item # 302940 FC SALSA MANGO 2/5#. Product is fresh made - Ready To Eat.",
"distribution_pattern": "Products were distributed in South Florida.",
"recall_initiation_date": "20120727"
},
{
"state": "MD",
"status": "Terminated",
"country": "United States",
"report_date": "20150121",
"recall_number": "F-077
…