Tasty API

Food & Drink / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

The Tasty API, available on RapidAPI, provides access to recipe data, meal plans, ingredient lists, and cooking tips from the popular BuzzFeed Tasty platform. It requires a RapidAPI key obtained by subscribing to the Tasty API on RapidAPI.com. It is a good choice for building recipe search apps or generating weekly meal plans.

💡

Beginner Tip

Sign up for a free RapidAPI account and subscribe to the Tasty API — you must include both X-RapidAPI-Key and X-RapidAPI-Host headers in every request or you will get a 403 error.

Available Data

recipe name and ingredients
nutritional values
calorie count
serving size
preparation time

Example Response

JSON Response
{
  "recipe": "Chicken Stir Fry",
  "calories": 380,
  "protein_g": 32,
  "carbs_g": 28,
  "fat_g": 14,
  "ingredients": [
    "chicken breast",
    "bell pepper",
    "soy sauce",
    "garlic"
  ],
  "prep_time_minutes": 20
}

Field Reference

count Total number of recipes matching the query.
results Array of recipe objects matching the search criteria.
results[].id Unique Tasty recipe identifier.
results[].name Display name of the recipe.
results[].thumbnail_url URL of the recipe thumbnail image.
results[].total_time_minutes Total preparation and cooking time in minutes; may be null.

Implementation Example

const url = "https://rapidapi.com/apidojo/api/tasty/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

403 Forbidden The RapidAPI key is missing, incorrect, or your subscription to the Tasty API has expired.
Check your RapidAPI dashboard to confirm you are subscribed to the Tasty API and that your key is active. Both X-RapidAPI-Key and X-RapidAPI-Host headers are required.
Empty results array The search query returns no matches for the given keyword.
Try a simpler English keyword (e.g., "pasta" instead of "creamy vegan gluten-free pasta") and check that the from and size parameters are valid integers.
429 Too Many Requests The free tier has a limited number of requests per month.
Cache recipe results on your server to avoid redundant API calls, and monitor your usage in the RapidAPI analytics dashboard.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Food & Drink
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →