OpenFDA
Search public FDA drug, device, and food datasets.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
OpenFDA
API Key
OpenFDA
Connect with an openFDA API key for higher request quotas.
Set up in OpenFDA
Prepare the OpenFDA account or service that the workflow will access. Grant access to the required resources and operations.
Create or obtain the API credential identified in the fields below. Use the provider instructions linked with those fields to find its key-management page.
Set up in StackAI
Open Settings → Connections, add a connection, and select OpenFDA.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required OpenFDA action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
Search drug adverse events
Search public FDA drug adverse-event reports.
Inputs
Search query
string
Yes
The adverse-event field and value to find.
Maximum results
integer
No
The maximum number of matching records to return. Minimum: 1. Maximum: 100. Default: 10.
Skip
integer
No
Continue from an earlier OpenFDA result offset. Minimum: 0. Maximum: 25000. Default: 0.
Outputs
Total matches
integer
The total matching reports OpenFDA found.
Adverse-event reports
object_array
The matching drug adverse-event reports.
Next skip
integer
Pass this back as Skip to continue the search.
Truncated
boolean
Whether OpenFDA's offset limit prevents further paging.
Search drug labeling
Search public FDA drug labeling.
Inputs
Search query
string
Yes
The drug-label field and value to find.
Maximum results
integer
No
The maximum number of matching records to return. Minimum: 1. Maximum: 100. Default: 10.
Skip
integer
No
Continue from an earlier OpenFDA result offset. Minimum: 0. Maximum: 25000. Default: 0.
Outputs
Total matches
integer
The total matching labels OpenFDA found.
Drug labels
object_array
The matching drug labels.
Next skip
integer
Pass this back as Skip to continue the search.
Truncated
boolean
Whether OpenFDA's offset limit prevents further paging.
Search device recalls
Search public FDA medical-device recalls.
Inputs
Search query
string
Yes
The device-recall field and value to find.
Maximum results
integer
No
The maximum number of matching records to return. Minimum: 1. Maximum: 100. Default: 10.
Skip
integer
No
Continue from an earlier OpenFDA result offset. Minimum: 0. Maximum: 25000. Default: 0.
Outputs
Total matches
integer
The total matching device recalls OpenFDA found.
Device recalls
object_array
The matching medical-device recalls.
Next skip
integer
Pass this back as Skip to continue the search.
Truncated
boolean
Whether OpenFDA's offset limit prevents further paging.
Search food enforcement reports
Search public FDA food enforcement reports.
Inputs
Search query
string
Yes
The food-enforcement field and value to find.
Maximum results
integer
No
The maximum number of matching records to return. Minimum: 1. Maximum: 100. Default: 10.
Skip
integer
No
Continue from an earlier OpenFDA result offset. Minimum: 0. Maximum: 25000. Default: 0.
Outputs
Total matches
integer
The total matching food enforcement reports OpenFDA found.
Food enforcement reports
object_array
The matching food recall and enforcement reports.
Next skip
integer
Pass this back as Skip to continue the search.
Truncated
boolean
Whether OpenFDA's offset limit prevents further paging.
Search drug NDC directory
Search the public National Drug Code directory.
Inputs
Search query
string
Yes
The NDC field and value to find.
Maximum results
integer
No
The maximum number of matching records to return. Minimum: 1. Maximum: 100. Default: 10.
Skip
integer
No
Continue from an earlier OpenFDA result offset. Minimum: 0. Maximum: 25000. Default: 0.
Outputs
Total matches
integer
The total matching NDC products OpenFDA found.
NDC products
object_array
The matching products in the National Drug Code directory.
Next skip
integer
Pass this back as Skip to continue the search.
Truncated
boolean
Whether OpenFDA's offset limit prevents further paging.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

