Skip to main content
GET
/
compliance
/
api
/
v1
/
products
/
{gtin}
/
recalls
List product recalls
curl --request GET \
  --url https://www.closient.com/compliance/api/v1/products/{gtin}/recalls \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "title": "<string>",
      "status": "ONGOING",
      "source_system": "FDA",
      "severity": "CLASS_I",
      "created": "2023-11-07T05:31:56Z",
      "description": "",
      "hazard": "",
      "remedy": "",
      "public_url": "",
      "company_name": "",
      "recall_date": "2023-12-25",
      "jurisdictions": [
        "<string>"
      ]
    }
  ],
  "pagination": {
    "page": 2,
    "page_size": 2,
    "total_count": 1,
    "total_pages": 2,
    "has_next": true,
    "has_previous": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.closient.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

gtin
string
required

GTIN-8, GTIN-12, GTIN-13, or GTIN-14 barcode digits (no spaces, no hyphens). Shorter forms are zero-left-padded to GTIN-14 server-side. Returns 404 if no product matches the normalized GTIN; 422 if the value is not a valid GTIN.

Required string length: 8 - 14
Pattern: ^\d{8,14}$

Query Parameters

status
enum<string> | null

Optional filter on the recall lifecycle state. Only ONGOING and UNKNOWN will ever return rows from this endpoint (others are excluded upstream); the parameter is exposed for completeness and forward compatibility.

Available options:
ONGOING,
COMPLETED,
TERMINATED,
UNKNOWN
severity
enum<string> | null

Optional filter on risk class. CLASS_I = highest risk (serious adverse health consequences or death). Useful for surfacing only the most dangerous open recalls.

Available options:
CLASS_I,
CLASS_II,
CLASS_III,
UNKNOWN
source_system
enum<string> | null

Optional filter on the regulator that issued the recall. One of FDA, FSIS, CPSC, or HEALTH_CANADA.

Available options:
FDA,
FSIS,
CPSC,
HEALTH_CANADA
ordering
string | null

Sort key. Allowed values: recall_date, -recall_date, severity, -severity. Prefix with - for descending. Omit to use the default -recall_date, -created ordering. Returns 400 for any other value.

Pattern: ^-?(recall_date|severity)$
page
integer
default:1

Page number (1-indexed).

Required range: x >= 1
page_size
integer
default:25

Number of items per page (max 100).

Required range: 1 <= x <= 100

Response

OK

data
RecallOut · object[]
required

Items on the current page, each conforming to the endpoint's item schema. Empty when the result set is empty or page is past the end.

pagination
PaginationMeta · object
required

Pagination envelope describing position within the full result set.

Example:
{
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 25,
"total_count": 342,
"total_pages": 14
}