Fda Inspections

v0.2.1
io.github.pipeworx-io/fda-inspections Checked 3 days ago Published 1 month ago

FDA inspection outcomes, Form 483 observations, compliance actions and import refusals for drug…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fda_inspections

FDA inspection results with their final classification — NAI (no action indicated), VAI (voluntary action indicated) or OAI (official action indicated, the serious one). Covers FDA-regulated establishments worldwide (drug, device, food, biologics), not just US sites. Search by firm name (substring), state, country, product type or date range. Source: FDA Data Dashboard (OII). This is inspection OUTCOME data — openFDA does not carry it.

ParameterTypeDescription
_apiKeystringFDA Data Dashboard credential as "email:key" — the e-mail the credential was issued to, then the FDA-generated key, joined by a colon.
classificationstringFinal classification: NAI, VAI or OAI. OAI is the one that signals enforcement risk.
countrystringCountry name as FDA spells it, e.g. "India", "China".
firmstringFirm legal-name substring, e.g. "Intas" or "Sun Pharma".
fiscal_yearstringFDA fiscal year, e.g. "2026".
limitnumberRows to return (default 50, max 5000).
product_typestringe.g. "Drugs", "Devices", "Foods", "Biologics".
sincestringEarliest inspection end date, YYYY-MM-DD.
statestringUS state, as a postal code ("NJ") or full name ("New Jersey") — both work. Foreign sites carry no state; filter those by country.
untilstringLatest inspection end date, YYYY-MM-DD.

fda_483_citations

Individual Form 483 observations cited during FDA inspections — the specific CFR reference and what the investigator actually wrote. Use this to see WHY a site was cited, not just that it was. Search by firm, country, state or date range. Source: FDA Data Dashboard (OII).

ParameterTypeDescription
_apiKeystringFDA Data Dashboard credential as "email:key" — the e-mail the credential was issued to, then the FDA-generated key, joined by a colon.
cfrstringCFR citation substring, e.g. "211.192".
countrystringCountry name, e.g. "India".
firmstringFirm legal-name substring.
fiscal_yearstringFDA fiscal year, e.g. "2026".
limitnumberRows to return (default 50, max 5000).
sincestringEarliest inspection end date, YYYY-MM-DD.
statestringUS state, as a postal code ("NJ") or full name ("New Jersey") — both work. Foreign sites carry no state; filter those by country.
untilstringLatest inspection end date, YYYY-MM-DD.

fda_compliance_actions

FDA compliance and enforcement actions taken against a firm — warning letters, injunctions, seizures, debarments — with the action type and the date taken. Search by firm, country, state, product type or date range. Source: FDA Data Dashboard (OII).

ParameterTypeDescription
_apiKeystringFDA Data Dashboard credential as "email:key" — the e-mail the credential was issued to, then the FDA-generated key, joined by a colon.
action_typestringAction type substring, e.g. "Warning Letter".
countrystringCountry name.
firmstringFirm legal-name substring.
fiscal_yearstringFDA fiscal year.
limitnumberRows to return (default 50, max 5000).
product_typestringe.g. "Drugs", "Devices".
sincestringEarliest action date, YYYY-MM-DD.
statestringUS state, as a postal code ("NJ") or full name ("New Jersey") — both work. Foreign sites carry no state; filter those by country.
untilstringLatest action date, YYYY-MM-DD.

fda_import_refusals

Shipments refused entry to the US by FDA at the border, with the refusal charges (the reason), product code and date. A leading indicator of supply risk for a foreign manufacturer. Search by firm, country, product or date range. Source: FDA Data Dashboard (OII).

ParameterTypeDescription
_apiKeystringFDA Data Dashboard credential as "email:key" — the e-mail the credential was issued to, then the FDA-generated key, joined by a colon.
countrystringCountry of origin, e.g. "India".
firmstringFirm name substring (this resource keys on FirmName).
limitnumberRows to return (default 50, max 5000).
productstringProduct-code description substring, e.g. "Antibiotic".
sincestringEarliest refusal date, YYYY-MM-DD.
statestringUS state, as a postal code ("NJ") or full name ("New Jersey") — both work. Foreign sites carry no state; filter those by country.
untilstringLatest refusal date, YYYY-MM-DD.

fda_firm_risk_profile

One-call FDA regulatory risk profile for a manufacturer: inspection history with the NAI/VAI/OAI split, the CFR sections it is most often cited under, compliance actions taken against it, and import refusals at the border. Resolves the firm name to its FDA establishment identifiers (FEI) so you can see whether several sites are involved. Use this for supplier due-diligence or to check a pharma name before an investment or sourcing decision.

ParameterTypeDescription
firm *stringFirm name substring, e.g. "Intas".
_apiKeystringFDA Data Dashboard credential as "email:key" — the e-mail the credential was issued to, then the FDA-generated key, joined by a colon.
limitnumberRows to scan per source (default 200, max 5000).
sincestringOnly count events on/after this date, YYYY-MM-DD.