AgentAPIGate
Back to Catalog
GET /v1/biomed/fda/ndc_directoryPack: intel·MCP Tool: biomed_fda_ndc_directory

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.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Generic/brand drug name or product_ndc code (e.g. "amoxicillin", "lipitor", "0069-0150")
Max NDC entries returned (1-30)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-91% tokens
# 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
ParameterTypeReqSample / DefaultDescription
querystringrequiredamoxicillinGeneric/brand drug name or product_ndc code (e.g. "amoxicillin", "lipitor", "0069-0150")
limitnumberoptional10Max NDC entries returned (1-30)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolbiomed_fda_ndc_directoryOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency2011 ms$0 billed on empty or 4xx/5xx
Token Economy4966t → 464t (-91%)Partner credit: eligible

More biomed.fda Sibling Endpoints

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.