Get the newsletter

Sent straight to your inbox.

Civic hacking FDA's National Drug Code Directory

Building a look-up of Food and Drug Administration approved medicines.

By Luke Fretwell · December 30, 2022

(This post is part of an ongoing series documenting adventures in father-son civic hacking.)


We built a drug look-up tool of Food and Drug Administration approved medicines using the National Drug Code Directory API. This includes:

  • Drug search tool
  • Page listing for each FDA-approved medicine

Each drug listing includes:

  • Generic name
  • Manufacturer
  • Labeler
  • Ingredients
  • Packaging
  • Type
  • Route


Data used for this project:


Big kudos to FDA for:

  • Maintaining a public application programming interface of the data.


Drug search:

Screenshot of USA.GovFresh drug search page

Example drug listing:

Screenshot of USA.GovFresh drug listing page


Share your feedback on the USA.GovFresh repo.