4

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?

3

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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