US FDA National Drug Code (NDC) Directory Lookup
Search FDA-registered drug products by NDC code, brand name, generic name, or labeler via official openFDA.
curl -sG "https://api.agentapigate.ai/v1/health/fda/ndc_lookup" \ --data-urlencode "query=Advil" \ --data-urlencode "limit=3" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# US FDA National Drug Code (NDC) Directory Lookup (`health.fda.ndc_lookup`) **count**: 3 ### 1. Item 1 - product_ndc=0573-0165 | brand_name=ADVIL | generic_name=ibuprofen | labeler_name=Haleon US Holdings LLC | dosage_form=TABLET, COATED | route=ORAL | product_type=HUMAN OTC DRUG | marketing_category=NDA ### 2. Item 2 - product_ndc=66715-5803 | brand_name=Advil | generic_name=Ibuprofen Tablets, coated | labeler_name=Lil' Drug Store Products, Inc. | dosage_form=TABLET, COATED | route=ORAL | product_type=HUMAN OTC DRUG | marketing_category=NDA ### 3. Item 3 - product_ndc=0573-0166 | brand_name=ADVIL | generic_name=ibuprofen | labeler_name=Haleon US Holdings LLC | dosage_form=TABLET, COATED | route=ORAL | product_type=HUMAN OTC DRUG | marketing_category=NDA
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:health.fda.ndc_lookup · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| ndc | string | optional | — | Exact FDA product_ndc or package_ndc code (e.g. 0573-0134) |
| query | string | optional | Advil | Brand name, generic ingredient, or labeler manufacturer search (e.g. Advil, Ibuprofen) |
| limit | number | optional | 3 | Maximum NDC drug entries to return (1-20, default: 5) |
| 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 | health_fda_ndc_lookup | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 499 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 638t → 203t (-68%) | Partner credit: eligible |
More health.fda Sibling Endpoints
Frequently Asked Questions
How do I call US FDA National Drug Code (NDC) Directory Lookup (health.fda.ndc_lookup) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/health/fda/ndc_lookup with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool health_fda_ndc_lookup on https://mcp.agentapigate.ai/mcp.
What does health.fda.ndc_lookup 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 health.fda.ndc_lookup?
Passing ?format=md transforms the response into normalized Markdown (~203 tokens vs ~638 raw tokens, saving 68% 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: ["health.fda.ndc_lookup"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.