Skip to main content
POST
/
api
/
openfda
/
drug
/
ndc
/openfda/drug/ndc
curl --request POST \
  --url https://api.anysite.io/api/openfda/drug/ndc \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "id": "<string>",
  "timeout": 300
}
'
[
  {
    "product_ndc": "<string>",
    "@type": "OpenfdaDrugNdc",
    "product_id": "<string>",
    "spl_id": "<string>",
    "brand_name": "<string>",
    "brand_name_base": "<string>",
    "generic_name": "<string>",
    "labeler_name": "<string>",
    "dosage_form": "<string>",
    "route": [],
    "marketing_category": "<string>",
    "product_type": "<string>",
    "application_number": "<string>",
    "finished": false,
    "marketing_start_at": 123,
    "marketing_end_at": 123,
    "listing_expiration_at": 123,
    "pharm_class": [],
    "active_ingredients": [],
    "packaging": [],
    "openfda": {
      "@type": "OpenfdaBlock",
      "application_number": [],
      "brand_name": [],
      "generic_name": [],
      "manufacturer_name": [],
      "product_ndc": [],
      "package_ndc": [],
      "product_type": [],
      "route": [],
      "substance_name": [],
      "rxcui": [],
      "unii": [],
      "spl_id": [],
      "spl_set_id": [],
      "nui": [],
      "pharm_class_cs": [],
      "pharm_class_epc": [],
      "pharm_class_moa": [],
      "pharm_class_pe": [],
      "is_original_packager": [],
      "device_class": "<string>",
      "device_name": "<string>",
      "medical_specialty_description": "<string>",
      "regulation_number": "<string>",
      "fei_number": [],
      "registration_number": [],
      "k_number": [],
      "pma_number": []
    },
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
id
string
required

Product NDC code or product id

Minimum string length: 1
Examples:

"85212-0040"

"85212-0040_352699fa-f747-c931-e063-6394a90a6391"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

product_ndc
string
required
@type
string
default:OpenfdaDrugNdc
product_id
string | null
spl_id
string | null
brand_name
string | null
brand_name_base
string | null
generic_name
string | null
labeler_name
string | null
dosage_form
string | null
route
string[]
marketing_category
string | null
product_type
string | null
application_number
string | null
finished
boolean
default:false
marketing_start_at
integer | null
marketing_end_at
integer | null
listing_expiration_at
integer | null
pharm_class
string[]
active_ingredients
object[]
packaging
object[]
openfda
object | null
web_url
string
default:""