Recipe API

Use Case Guide

Recipe API for Fitness & Macro Tracking Apps

Fitness apps run on macros. Recipe API exposes exact protein, carbs, and fat per serving across 25,000+ recipes — part of 32 tracked nutrients on every response. Filter for high-protein meals with min_protein, cap calories for cutting phases, and generate fresh recipes tuned to an athlete's goals when the library needs a boost.

Typical Builder Journey

1. Filter for high protein
Use min_protein to surface meals that hit muscle-building targets fast.
GET /api/v1/recipes?min_protein=40
2. Balance the full macro split
Pull protein, carbs, and fat per serving to fit bulking or cutting macros.
GET /api/v1/recipes/{slug}
3. Cap calories for cutting
Combine min_protein with max_calories to keep protein high while trimming intake.
GET /api/v1/recipes?min_protein=40&max_calories=500
4. Generate for athlete goals
Create new high-protein recipes tailored to a user's training plan and restrictions.
POST /api/v1/generate

Macro Tracking Query Example

Find high-protein, calorie-capped recipes for a macro tracking app.

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

Related Guides

Start Building

Exact protein, carbs, and fat per serving. Filter high-protein meals and generate for athlete goals out of the box.