Documentation

Response Shapes

GET /v1/ndc/0069-0151-01?shape=compact
GET /v1/ndc/0069-0151-01?shape=standard
GET /v1/ndc/0069-0151-01?shape=full
ShapeUse CaseData Included
Lists, autocompleteCode, display name, status
Most integrationsCore structured data
AI agents, auditingEverything + provenance
curl -X GET "https://api.fhirfly.io/v1/ndc/0069-0151-01?shape=compact" \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "ndc": "0069-0151-01",
    "display": "Lipitor 10 MG Oral Tablet",
    "status": "active"
  },
  "meta": {
    "legal": {
      "license": "public_domain"
    }
  }
}
curl -X GET "https://api.fhirfly.io/v1/ndc/0069-0151-01?shape=standard" \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "ndc": "0069-0151-01",
    "ndc11": "00069015101",
    "product_name": "Lipitor",
    "labeler_name": "Pfizer Laboratories",
    "dosage_form": "TABLET, FILM COATED",
    "active_ingredients": [
      {
        "name": "ATORVASTATIN CALCIUM",
        "strength": "10 mg"
      }
    ]
  },
  "meta": {
    "legal": {
      "license": "public_domain",
      "citation": "FDA NDC Directory"
    }
  }
}
curl -X GET "https://api.fhirfly.io/v1/ndc/0069-0151-01?shape=full" \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "ndc": "0069-0151-01",
    "ndc11": "00069015101",
    "product_name": "Lipitor",
    "generic_name": "atorvastatin calcium",
    "labeler_name": "Pfizer Laboratories Div Pfizer Inc",
    "dosage_form": "TABLET, FILM COATED",
    "route": "ORAL",
    "marketing_status": "Prescription",
    "dea_schedule": null,
    "active_ingredients": [ /* ... */ ],
    "packaging": [ /* ... */ ],
    "pharm_classes": [ /* ... */ ]
  },
  "meta": {
    "source": {
      "name": "FDA NDC Directory",
      "url": "https://www.fda.gov/drugs/drug-approvals-and-databases/national-drug-code-directory",
      "version": "2026-01-01",
      "fhirfly_updated_at": "2026-01-02T03:00:00Z",
      "fhirfly_etl_version": "1.0.0"
    },
    "legal": {
      "license": "public_domain",
      "citation": "U.S. Food and Drug Administration. National Drug Code Directory.",
      "attribution_required": false,
      "commercial_use": true
    }
  }
}
GET /v1/ndc/0069-0151-01?include=display
ScenarioRecommended Shape
Autocomplete dropdowncompact
Form field validationcompact
Patient record displaystandard
EHR integrationstandard
AI agent / LLMfull
Compliance auditfull
Research / analysisfull