{"uid":"cap_nnnSwzQ-JWyotjeNtM2bW","slug":"fda-ndc-directory-lookup-bcd4840e","name":"FDA NDC Directory Lookup","description":"FDA National Drug Code (NDC) directory lookup via openFDA by product or package NDC (dashed, or 10/11-digit billing format) or by drug name. Useful for pharmacy, claims and inventory data. Returns product NDC, brand and generic names, labeler, dosage form, route, active ingredients and strengths, marketing category and dates, application number, DEA schedule and packages, with DailyMed link and retrievedAt. Errors: 400 invalid input, 404 no match.","url":"https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/fda/ndc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"ndc":{"type":"string","description":"product NDC (58151-155), package NDC (58151-155-77) or 11-digit (58151015577)"},"name":{"type":"string","description":"brand or generic name"},"limit":{"type":"integer","maximum":25,"minimum":1}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"results":[{"labeler":"Viatris Specialty LLC","brandName":"Lipitor","productNdc":"58151-155","activeIngredients":[{"name":"ATORVASTATIN CALCIUM TRIHYDRATE","strength":"10 mg/1"}]}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nvWks6i7YF0IS8LEvDcCN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up FDA National Drug Code (NDC) directory information by NDC code or drug name via openFDA, returning product details, ingredients, packaging, and scheduling.","exampleAgentPrompt":"Can you look up the FDA NDC details for Lipitor with NDC code 58151-155? I need the brand name, active ingredients with strengths, DEA schedule, labeler, and dosage form.","exampleUseCases":[{"title":"Pharmacy claims NDC validation","prompt":"I have an NDC code from a pharmacy claim — 58151-155-77 — can you pull the full FDA product details for it including labeler, dosage form, route, and active ingredients so I can verify the claim?"},{"title":"Drug inventory enrichment by name","prompt":"I need to enrich our drug inventory records. Can you look up 'atorvastatin' in the FDA NDC directory and return the product NDC, brand names, strengths, and packaging info?"},{"title":"DEA schedule check for controlled substance","prompt":"Before we process this prescription, can you check the FDA NDC directory for NDC 58151015577 and tell me what DEA schedule it's listed under and what the active ingredients are?"}],"resultDescription":"Returns a list of matching drug products, each with product NDC, brand name, generic name, labeler, dosage form, route of administration, active ingredients with strengths, marketing category, marketing start/end dates, application number, DEA schedule, package details, a DailyMed link, and a retrievedAt timestamp. Returns HTTP 400 for invalid input and 404 when no matching drug is found.","failureModes":["400 Bad Request: input NDC format is invalid or required parameters are missing","404 Not Found: no drug product matches the given NDC or name","Ambiguous name results: common generic names may return multiple products requiring further filtering","Rate or payment failure: x402 payment not processed, request blocked"],"whenToPreferThis":"Use this endpoint when you need authoritative FDA drug product metadata — including active ingredients, DEA schedule, labeler, dosage form, and packaging — by NDC code or drug name. It is ideal for pharmacy claims validation, drug inventory enrichment, and regulatory compliance checks. Prefer this over general web search when you need structured, machine-readable FDA NDC directory data with reliable field coverage, including DailyMed linkage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:43:58.026Z","isFirstParty":false,"canonicalSlug":"fda-ndc-directory-lookup-bcd4840e"}