3

Try running this query: https://api.fda.gov/drug/label.json?&search=generic_name=hydrocodone - returns Oxycontin, not Norco or other hydrocodone containing drugs https://api.fda.gov/drug/label.json?&search=brand_name=norco - returns inhaled nitrogen product

I've tried a number of variations here, but all name/ingredient queries return strange and unintended results. Am I writing my queries incorrectly?

1 Answer 1

2

I think you might be using the wrong query syntax for the openFDA API.

Try: https://api.fda.gov/drug/label.json?&search=generic_name:hydrocodone

Note the : instead of the = in the search value. More details are provided at https://open.fda.gov/api/#query-syntax

1
  • Thought I tried that already; but I guess I didn't. Thank you!
    – MWoods
    Jul 6, 2016 at 17:39

Your Answer

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

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