API ReferenceCheck

Check a product title or model against CPSC recalls

GET
/api/check

Runs the rules a shop's sales get on the text you send. Our code doesn't store or log it. It travels in the page address, so the web host's request logs may include it. At least one of title and model is needed. Limited to 60 checks an hour per visitor.

Query Parameters

title?string

The product's title, as a listing or a label would say it.

Lengthlength <= 200
model?string

The model number, if you have one. Compared with the models CPSC names.

Lengthlength <= 60

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/check?title=Baby+Brezza+sterilizer&model=BRZ0083"
{  "results": [    {      "recallNumber": "string",      "title": "string",      "recallDate": "2019-08-24",      "url": "string",      "verdict": "MATCH",      "strength": "string",      "tiedToRecall": true,      "sharesWords": true,      "reason": "string",      "missing": [        "string"      ]    }  ],  "more": 0,  "cleared": 0,  "notJudged": 0,  "mentioned": {    "total": 0,    "recalls": [      {        "recallNumber": "string",        "title": "string"      }    ]  },  "checked": {    "recalls": 0,    "from": "2019-08-24",    "to": "2019-08-24",    "yearsMissing": [      0    ]  },  "note": "string"}