Ingredient Search
Free ingredient search API. Enter a food keyword to get ingredient codes, calories per 100g, health light ratings and thumbnails. Ideal for diet tracking, nutrition analysis, fitness and kitchen assistant apps. · Diet tracking apps, nutrition analysis tools, fitness meal planners, kitchen assistant mini-programs · Ingredient Search
ingredient search API, food calorie API, nutrition lookup API, food database API
GET /food/ingredient - Ingredient Search
Enter a food keyword (e.g. "白菜") and get a list of matching ingredients. Each item includes the ingredient code, calories per 100g, health light rating and a thumbnail.
What you get
- Ingredient code (code): unique identifier you can pass to the detail endpoint.
- Calories (calory): kcal per 100g.
- Health light (healthlight): 1 = green (recommended), 2 = yellow (moderate), 3 = red (limit).
Notes
Results are sorted by relevance; the first page usually contains what you need. Returns 404 when nothing matches.