Skip to main content
Glama

OpenFDA

by ythalorossy

get-drug-by-ndc

Retrieve detailed drug information using the National Drug Code (NDC). Supports NDC formats with or without dashes for quick and accurate results.

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

NameRequiredDescriptionDefault
ndcCodeYesNational Drug Code (NDC) - accepts formats: XXXXX-XXXX, XXXXX-XXXX-XX, or without dashes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "ndcCode": { "description": "National Drug Code (NDC) - accepts formats: XXXXX-XXXX, XXXXX-XXXX-XX, or without dashes", "type": "string" } }, "required": [ "ndcCode" ], "type": "object" }

Other Tools from OpenFDA

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ythalorossy/openfda'

If you have feedback or need assistance with the MCP directory API, please join our Discord server