Menu

Check drug NDC codes against FDA recalls in Python
📰

Check drug NDC codes against FDA recalls in Python

DEV Community: api·Wryborg·about 6 hours ago
#34NK7kaB
#devtoapi#devto#dev#recall#rapidapi
Long article (778 words) — no AI summary yet.
Reading 0:00
15s threshold

If you maintain a formulary, a pharmacy inventory app, or a medication list, you eventually need to answer a plain question: has the FDA recalled this product? The data is public in openFDA's enforcement reports, but drug and device records have different fields, and the NDC (National Drug Code) isn't always filled in. A recall can list product codes in an array, in the description text, or not at all.

This post uses the Drug & Device Recall Monitor API from Wryborg, which puts both kinds of recall into one schema and lets you filter on ndc directly. We'll check a short NDC list from Python.

The records are derived from FDA openFDA enforcement reports. They can be delayed or incomplete, and this is not medical or regulatory advice.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.