FDA National Drug Code (NDC) directory lookup via openFDA by product or package
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/fda/ndc
| Category | Code and developer |
|---|---|
| Provider host | agent-utils-x402-production.revenue-agent-jw.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 48 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 37 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 29 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 862 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 28 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 726 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 29 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 42 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 34 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 38 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 46 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 34 ms |
| 2026-11-14 | valid payment request | 402 | $0.001 | 31 ms |
| 2026-11-13 | valid payment request | 402 | $0.001 | 25 ms |
| 2026-11-12 | valid payment request | 402 | $0.001 | 36 ms |
| 2026-11-11 | valid payment request | 402 | $0.001 | 25 ms |
| 2026-11-10 | valid payment request | 402 | $0.001 | 34 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 44 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 63 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 60 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 571 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 34 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 31 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"ndc": "58151-155-77"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"limit": {
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"name": {
"description": "brand or generic name",
"type": "string"
},
"ndc": {
"description": "product NDC (58151-155), package NDC (58151-155-77) or 11-digit (58151015577)",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}