US openFDA National Drug Code Directory
Search the official US FDA National Drug Code (NDC) directory by drug name, labeler, or NDC code for active ingredients, strengths, dosage forms, routes, DEA schedule, marketing category, and package configurations.
curl -sG "https://api.agentapigate.ai/v1/biomed/fda/ndc_directory" \ --data-urlencode "query=amoxicillin" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# US openFDA National Drug Code Directory (`biomed.fda.ndc_directory`) **found**: true · **total**: 483 · **count**: 10 ## products - [1] product_ndc: 85766-293, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: Sportpharm LLC, dosage_form: CAPSULE - [2] product_ndc: 50090-1811, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: A-S Medication Solutions, dosage_form: CAPSULE - [3] product_ndc: 60687-803, generic_name: Amoxicillin and Clavulanate Potassium, brand_name: Amoxicillin and Clavulanate Potassium, labeler_name: American Health Packaging, dosage_form: TABLET, FILM COATED - [4] product_ndc: 71335-2824, generic_name: Amoxicillin and Clavulanate Potassium, brand_name: AMOXICILLIN AND CLAVULANATE POTASSIUM, labeler_name: Bryant Ranch Prepack, dosage_form: TABLET, FILM COATED - [5] product_ndc: 50090-1812, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: A-S Medication Solutions, dosage_form: CAPSULE - [6] product_ndc: 68071-4953, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: NuCare Pharmaceuticals,Inc., dosage_form: CAPSULE - [7] product_ndc: 85766-292, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: Sportpharm LLC, dosage_form: CAPSULE - [8] product_ndc: 50090-1813, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: A-S Medication Solutions, dosage_form: CAPSULE - [9] product_ndc: 66267-022, generic_name: Amoxicillin, brand_name: Amoxicillin, labeler_name: NuCare Pharmaceuticals, Inc., dosage_form: TABLET, CHEWABLE - [10] product_ndc: 68788-8306, generic_name: Amoxicillin and Clavulanate Potassium, brand_name: Amoxicillin and Clavulanate Potassium, labeler_name: Preferred Pharmaceuticals Inc., dosage_form: POWDER, FOR SUSPENSION
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:biomed.fda.ndc_directory · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| query | string | required | amoxicillin | Generic/brand drug name or product_ndc code (e.g. "amoxicillin", "lipitor", "0069-0150") |
| limit | number | optional | 10 | Max NDC entries returned (1-30) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | biomed_fda_ndc_directory | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 2011 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 4966t → 464t (-91%) | Partner credit: eligible |
More biomed.fda Sibling Endpoints
Search official US FDA structured drug product labels (SPL) for indications, dosage & administration, boxed warnings, contraindications, adverse reactions, drug interactions, mechanism of action, and RxCUI/NDC codes.
Query official US FDA CDRH medical device recall registry records (/device/recall.json) with root cause description, 510(k)/PMA numbers, recalling firm, product code, device class, medical specialty, and corrective action.
Frequently Asked Questions
How do I call US openFDA National Drug Code Directory (biomed.fda.ndc_directory) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/biomed/fda/ndc_directory with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool biomed_fda_ndc_directory on https://mcp.agentapigate.ai/mcp.
What does biomed.fda.ndc_directory cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on biomed.fda.ndc_directory?
Passing ?format=md transforms the response into normalized Markdown (~464 tokens vs ~4966 raw tokens, saving 91% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only intel endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["biomed.fda.ndc_directory"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.