For a number of codes found in the National Drug Code directory the API returns code not found. https://www.accessdata.fda.gov/scripts/cder/ndc/index.cfm
I have reviewed the API documentation and tried building a number of queries to try and look up information about a drug given the package ndc. all return a code:"Not_Found" error.
Here's a list of a few different api calls I have tried.
https://api.fda.gov/drug/label.json?search=package_ndc:%2225021-166-48%22
https://api.fda.gov/drug/ndc.json?search=package_ndc:%2225021-166-48%22
https://api.fda.gov/drug/label.json?search=product_ndc:%2225021-166-48%22
https://api.fda.gov/drug/ndc.json?search=product_ndc:%2225021-166-48%22
I have tried removing the hyphens, putting the search field in quotes, and adding a limit at the end with an &
Can anyone advise on how to get information about a drug with the API by ndc code?