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
This query searches for all records with a particular products.product_code
.
search for all records with products.product_code
equal to HQY
.
limit to 1 record.
Example query
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.
search for all records with products.openfda.regulation_number
equals 886.5850
limit to 1 record.
Example query
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.
search for all records.
count the field products.openfda.device_class