What application do i need to connect with (usda) Food Data Central API ? (https://fdc.nal.usda.gov/api-guide.html#food-detail-endpoint)?

What application do i need to connect with (usda) Food Data Central API (https://fdc.nal.usda.gov/api-guide.html#food-detai...

Back in the day i was able to find foods by specific macro and micronutrients, for example i could choose an option     " find foods rich in fiber or selenium or carbohydrates or whatever.Right now, after all of the changes on thei site  "food data central" is unfortunately lacking of such utility... or i just can't find it.The alternative presented by them is to download data (https://fdc.nal.usda.gov/download-datasets.html) and use API (https://fdc.nal.usda.gov/api-guide.html).I tried to use my browser, but every time after  typing https://api.nal.usda.gov/fdc/v1/search?api_key=MY_... with requested api key my browser is showing Whitelabel Error Page(This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Dec 07 12:03:49 EST 2019

There was an unexpected error (type=Bad Request, status=400).

Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "search")

1 Answer

Relevance
  • Anonymous
    8 months ago

    Cjxjxjxjdjdjxxjjxxj

Still have questions? Get answers by asking now.