I have some NDCs that I want to search for on the openFDA API:



So this is what I've tried so far (all with base url api.fda.gov):

...but nothing seems to work. All I get is this:

  "error": {
    "code": "NOT_FOUND",
    "message": "No matches found!"

However, if I use a different NDC, like 63653-1171-1, the query works fine. Is it possible that the NDCs I'm querying are just not in the database, or am I doing something wrong?

1 Answer 1


The two NDCs you mentioned are indeed not in the database. openFDA generates its NDC dataset from the downloadable files available at the FDA, and we have verified the two NDCs are not present in those files, which is why they are also missing from openFDA.

FDA National Drug Code Directory search does bring results for those two NDCs; however, they are marked as:

(E): This information was removed from publication, because FDA has found inaccuracy in the data submitted by the firm.

This is the reason the information is not present in the downloadable files.

  • I see. Is it possible to use the API to see why they were removed? Commented Sep 11, 2020 at 15:18
  • Not in openFDA, no. Commented Sep 11, 2020 at 19:12
  • That's too bad. Do you know if there are any other APIs where I would be able to programmatically get data on these NDC? Commented Sep 11, 2020 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.