Recipe API

Use Case Guide

Nutrition API for Nutrition Apps

Nutrition apps need data they can stand behind. Recipe API gives every one of its 25,000+ recipes 32 tracked nutrients per serving, grouped ingredients with linked IDs traceable to USDA FoodData Central, plus dietary flags and allergen warnings. Filter by dietary needs and nutrient ranges, then expose ingredient-level breakdowns your users can trust.

Typical Builder Journey

1. Filter by dietary needs
Combine dietary flags with nutrient ranges to match each user's plan.
GET /api/v1/recipes?dietary=Vegan&max_calories=600
2. Surface 32 nutrients per serving
Show calories, protein, carbs, fat, fiber, sodium, vitamins and minerals from one schema.
GET /api/v1/recipes/{slug}
3. Go ingredient-level
Search ingredients for free, then fetch any one's per-100g USDA nutrition by ID for transparent breakdowns.
GET /api/v1/ingredients/{id}
4. Flag allergens and diets
Every recipe ships dietary flags and allergen warnings, so safety checks are built in.

Nutrition Query Example

Filter by dietary flag and nutrient ranges for a nutrition app feed.

GET /api/v1/recipes
curl "https://recipe-api.com/api/v1/recipes?dietary=Vegan&max_calories=600&min_protein=20&per_page=20" \
  -H "X-API-Key: rapi_your_key"

Related Guides

Start Building

32 nutrients per serving, USDA-traceable ingredients, dietary flags, and allergen warnings on every recipe.