---
title: "Suggest Foods"
method: GET
path: "/api/v1/search/suggest"
tags: ["search"]
---

# Suggest Foods

`GET /api/v1/search/suggest`

## Request

- Base URL: `https://calorieapiadmin.com`
- URL: `https://calorieapiadmin.com/api/v1/search/suggest`
- Auth: none declared

Autocomplete food names (id, name, brand_name).

## Query parameters

- `q` string, required
- `limit` integer

## Headers

- `X-API-Key` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- FoodSuggestItem[]
  - `id` integer, required
  - `name` string, required
  - `brand_name` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/calorieapi/apis/calorie-api.md) · [All operations](https://skmtc.dev/calorieapi/apis/calorie-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calorieapi/apis/calorie-api/revisions/f851bb41617a?raw)
