{"uid":"cap_-IzEiAtrBn1pj7GZ9KlEW","slug":"openfda-drug-ndc-lookup-008849bd","name":"openFDA Drug NDC Lookup","description":"Pay-per-call company registry, government, legal and B2B data tools for AI agents, from official registers and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.","url":"https://api.companyrecords-api.workers.dev/api/b2b/openfda-drug-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","required":["q"],"properties":{"q":{"type":"string","description":"Brand or generic name, letters, digits, spaces and - only, 2 to 60 characters"},"limit":{"type":"string","description":"Rows to return, 1 to 25 (default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":5,"query":"aspirin","source":"https://api.fda.gov/drug/ndc.json","results":[{"ndc":"0113-1855","route":"ORAL","labeler":"L. Perrigo Company","brandName":"good sense headache relief","dosageForm":"TABLET, FILM COATED","genericName":"acetaminophen, aspirin, caffeine","marketingStart":"2022-02-18","activeIngredients":["ACETAMINOPHEN 250 mg/1","ASPIRIN 250 mg/1"]},{"ndc":"69168-006","route":"ORAL","labeler":"Allegiant Health","brandName":"Aspirin 81mg Enteric coated Low Strength Aspirin Regimen","dosageForm":"TABLET, DELAYED RELEASE","genericName":"Aspirin","marketingStart":"2021-11-19","activeIngredients":["ASPIRIN 81 mg/1"]}],"checkedAt":"2026-10-23T09:37:38.735Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lT687oFQt1Tks6ea8JC1s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches the FDA National Drug Code directory by brand or generic drug name and returns labeler, NDC code, dosage form, route, marketing start date, and active ingredients.","exampleAgentPrompt":"Can you look up the FDA drug NDC directory for 'aspirin' and give me the labeler company, NDC code, dosage form, and active ingredients for the top 5 results?","exampleUseCases":[{"title":"Verify drug manufacturer for procurement","prompt":"I need to find out which company is the labeler for 'metformin' and what NDC codes are registered — can you pull the top 10 results from the FDA NDC directory?"},{"title":"Research available dosage forms for a medication","prompt":"What dosage forms and routes are available for 'omeprazole' according to the FDA National Drug Code directory? Show me up to 15 results."},{"title":"Check active ingredients in a brand-name drug","prompt":"Can you search the FDA drug listings for 'Advil' and tell me the active ingredients, generic name, and when it was first marketed?"}],"resultDescription":"Returns a JSON object with a count of matching records and an array of drug entries, each containing the NDC code, route of administration, labeler name, brand name, dosage form, generic name, marketing start date, and list of active ingredients with strengths. Also includes the source FDA API URL and the timestamp of the lookup.","failureModes":["Query string too short (under 2 characters) or too long (over 60 characters) returns a validation error","Special characters beyond letters, digits, spaces, and hyphens are rejected","Drug name not found in FDA NDC directory returns an empty results array","Limit parameter outside 1–25 range may return an error or be clamped","FDA upstream API unavailability causes a service error","Very common generic names may return truncated results at the requested limit"],"whenToPreferThis":"Choose this endpoint when you need structured FDA-authoritative data on US-marketed drugs, including labeler/manufacturer identity, NDC codes, dosage forms, routes, and active ingredient details, based on a brand or generic name query. It is ideal for pharmaceutical research, drug identification, supply chain enrichment, or regulatory compliance workflows where FDA NDC directory data is the authoritative source. Prefer it over general web search when you need machine-readable, structured drug data with consistent fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:42:31.755Z","isFirstParty":false,"canonicalSlug":"openfda-drug-ndc-lookup-008849bd"}