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 device registration and listing

This query searches for all records with a particular products.product_code.

  1. search for all records with products.product_code equal to HQY.

  2. limit to 1 record.

Example query

One registrations and listings for 886.5850 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 registrations and listings.

  1. search for all records with products.openfda.regulation_number equals 886.5850

  2. limit to 1 record.

Example query

Count of top device classes for device registrations and listings.

This query is similar to the prior one, but returns a count of the most device classes.

See searchable fields for more fields you can use to count and understand the nature of device adverse event reports.

  1. search for all records.

  2. count the field products.openfda.device_class