Example Device Recall API queries

To help get you started, we have provided some API query examples below. Use the Run query button to call the API and get back results. You can experiment by editing the example queries in the black text box.

Example query

One adverse event report

This query searches for all records with a particular product_code.

  1. search for all records with product_code equal to FOZ.

  2. limit to 1 record

Example query

One recall for a *880.5200* regulation number

This query searches for records matching a certain search term, and asks for a single one.

See searchable fields for more fields you can use to narrow searches for device recall.

  1. search for all records with openfda.regulation_number equals 880.5200

  2. limit to 1 record

Example query

Count of top product codes for device recalls

This query is similar to the prior one, but returns a count of the most popular product codes.

See searchable fields for more fields you can use to narrow searches for device recall.

  1. search for all records.

  2. count the field product_code