> For the complete documentation index, see [llms.txt](https://docs.whisk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whisk.com/api/food-db.md).

# Food DB

We support JSON and GRPC API.&#x20;

Localization will be supported via language and country parameters which internally will be matched to locale. Whisk does not perform mapping region or country to language. Client should select and pass language explicitly.

Empty strings, zero values, empty arrays and null values are not returned due to GRPC nature of the API implementation.

### [Food Autocomplete](https://docs.whisk.com/api/food-db/autocomplete)

### [Food Search](https://docs.whisk.com/api/food-db/search)

### [Food by id](https://docs.whisk.com/api/food-db/get-food)

### API Errors

<table><thead><tr><th width="127">Code</th><th>Description</th></tr></thead><tbody><tr><td>400</td><td>One or more parameters are invalid</td></tr><tr><td>403</td><td>Authentication not provided or incorrect</td></tr><tr><td>500</td><td>Server unavailable</td></tr></tbody></table>
