Closed mikejsdev closed 3 years ago
Hi @mikejsdev - the /v1/foods/search endpoint currently does not support returning an abridged format. I will note it down as a requested feature for a future release (later this year) of the API (v1.1 or v2). Thanks!
Thanks @hphungnal for getting back to me. Yes, that sounds great thanks. Much appreciated!
When searching for foods using https://api.nal.usda.gov/fdc/v1/foods/search the response size is extremely large as data from all fields for all foods are returned, even when setting page size to a low value. This can be an issue with search on mobile devices in areas where data speeds are slow. Is/will it be possible to specify the fields that are returned in the response or something similar?
Thanks.