Look up fruit nutrition

When the user asks about fruit nutrition — calories, sugar, fat, carbs, protein, or botanical classification like family and genus — reach for Fruityvice. 49 fruits, one unauthenticated GET, no key required.

look-up-fruit-nutrition · v1 · updated 2026-04-16

Agents: This page is a SKILL.md-style capability guide. For JSON, call GET /api/skills/look-up-fruit-nutrition. To drop this into a local Claude Code install, copy the frontmatter + body below into ~/.claude/skills/look-up-fruit-nutrition/SKILL.md.

When to use this skill

When the user asks about a fruit's nutrition — calories, sugar, fat, carbs, protein per serving — or its botanical classification (family, genus, order). Fruityvice covers 49 common fruits with unauthenticated GET requests. For vitamins, minerals, fiber, or anything beyond macronutrients, this is the wrong skill.

Your best first call

curl "https://www.fruityvice.com/api/fruit/durian"

No auth. No key. Returns a single JSON object. Use /fruit/{name} when you have a fruit name (case-insensitive), /fruit/{id} when you have a numeric ID, and /fruit/all only when you need the full list.

Key fields:

Durian is worth calling first because it's the outlier: 147 kcal and 5.3g fat — the fattiest fruit in the dataset by a wide margin. Most fruits sit under 0.5g fat.

Fallbacks (when the best call isn't enough)

Pitfalls

One-line summary for the user

I can look up nutrition data — calories, sugar, fat, carbs, protein — and botanical classification for any of 49 fruits from Fruityvice, no API key required.

APIs this skill uses

Fruityvice API · primary · verified

Free REST API providing nutritional information about fruits.

SKILL.md source (frontmatter + body)
---
name: look-up-fruit-nutrition
description: When the user asks about fruit nutrition — calories, sugar, fat, carbs, protein, or botanical classification like family and genus — reach for Fruityvice. 49 fruits, one unauthenticated GET, no key required.
---

## When to use this skill

When the user asks about a fruit's nutrition — calories, sugar, fat, carbs, protein per serving — or its botanical classification (family, genus, order). Fruityvice covers 49 common fruits with unauthenticated GET requests. For vitamins, minerals, fiber, or anything beyond macronutrients, this is the wrong skill.

## Your best first call

```bash
curl "https://www.fruityvice.com/api/fruit/durian"
```

No auth. No key. Returns a single JSON object. Use `/fruit/{name}` when you have a fruit name (case-insensitive), `/fruit/{id}` when you have a numeric ID, and `/fruit/all` only when you need the full list.

Key fields:

- `name` — common fruit name
- `id` — numeric identifier
- `family`, `order`, `genus` — botanical classification (mind the Kiwi bug in Pitfalls)
- `nutritions.calories` — kcal per serving
- `nutritions.fat`, `nutritions.sugar`, `nutritions.carbohydrates`, `nutritions.protein` — grams per serving

Durian is worth calling first because it's the outlier: 147 kcal and 5.3g fat — the fattiest fruit in the dataset by a wide margin. Most fruits sit under 0.5g fat.

## Fallbacks (when the best call isn't enough)

- **Need to compare or rank fruits by nutrition** → `/fruit/all` returns all 49 fruits. Fetch once, index by `name`, and filter client-side. No server-side search or filtering exists.

## Pitfalls

- The Kiwi entry (`id: 66`) conflates the bird and the fruit: `order` is "Struthioniformes" and `genus` is "Apteryx" — both are the kiwi bird, not the kiwi fruit. `family` correctly says "Actinidiaceae". Do not trust `order` or `genus` for this one record.
- Only five nutrition fields (calories, fat, sugar, carbohydrates, protein). No vitamins, minerals, fiber, or water content. If the user asks about vitamin C in an orange, Fruityvice cannot answer.
- The `name` path parameter must match a complete fruit name — partial strings return 404. "Apple" works; "app" does not.

## One-line summary for the user

I can look up nutrition data — calories, sugar, fat, carbs, protein — and botanical classification for any of 49 fruits from Fruityvice, no API key required.

« Back to all skills