get-drug-by-ndc
Retrieve detailed drug information using National Drug Codes (NDC) in various formats—XXXXX-XXXX, XXXXX-XXXX-XX, or without dashes—via the OpenFDA API.
Instructions
Get drug information by National Drug Code (NDC). Accepts both product NDC (XXXXX-XXXX) and package NDC (XXXXX-XXXX-XX) formats. Also accepts NDC codes without dashes.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ndcCode | Yes | National Drug Code (NDC) - accepts formats: XXXXX-XXXX, XXXXX-XXXX-XX, or without dashes |