Tasty Meals
$14.99/month
Tasty Meals
$14.99/month
This Apify actor scrapes recipe meals from Tasty.co, one of the world's largest food-focused digital platforms.
Tasty Recipes Search Actor Documentation
Overview
This Apify actor scrapes recipe meals from Tasty.co, one of the world's largest food-focused digital platforms. It enables developers, food enthusiasts, and researchers to programmatically access Tasty's extensive recipe database through a simple API interface.
Features
- Search through thousands of Tasty.co recipes
- Retrieve detailed recipe information including ingredients, instructions, and nutritional data
- Support for pagination to handle large result sets
- Easy integration with other applications and workflows
- Efficient data extraction with rate limiting and error handling
Input Parameters
Parameter | Type | Default | Description |
---|---|---|---|
mealTag | string | "breakfast" | Meal category (e.g., "breakfast", "lunch", "dinner", "desserts", "snacks") |
page | string | "1" | Page number for pagination through search results |
perPage | string | "20" | Number of results to return per page (max: 100) |
Usage Examples
Basic Usage
1const input = { 2 "mealTag": "lunch", 3 "page": "1", 4 "perPage": "20" 5};
Advanced Search
1const input = { 2 "mealTag": "lunch", 3 "page": "2", 4 "perPage": "50" 5};
Output Format
The actor returns data in JSON format with the following structure:
1{ 2 "items": [ 3 { 4 "id": "recipe_id", 5 "name": "Recipe Name", 6 "description": "Recipe Description", 7 "ingredients": [...], 8 "instructions": [...], 9 "nutritionalInfo": {...}, 10 "cookTime": "...", 11 "servings": "..." 12 } 13 ], 14 "totalCount": 100, 15 "currentPage": 1 16}
Use Cases
- Recipe aggregation websites and apps
- Meal planning services
- Food bloggers and content creators
- Nutritional analysis tools
- Restaurant menu inspiration
- Dietary requirement filtering
Installation & Setup
- Create an Apify account at apify.com
- Navigate to the Apify Console
- Search for "Tasty Recipes Search Actor"
- Click "Try Actor"
Running the Actor
Via Apify Console
- Open the actor in Apify Console
- Configure input parameters
- Click "Run"
Via API
1curl --request POST \ 2 --url https://api.apify.com/v2/acts/[ACTOR_NAME]/runs?token=[YOUR_API_TOKEN] \ 3 --header 'content-type: application/json' \ 4 --data '{ 5 "query": "chicken", 6 "page": "1", 7 "perPage": "20" 8 }'
Best Practices
- Use specific search terms for better results
- Implement pagination for large data sets
- Consider rate limiting for bulk requests
- Cache results when appropriate
- Handle error responses gracefully
Error Handling
The actor implements robust error handling for common scenarios:
- Invalid input parameters
- Network connectivity issues
- Rate limiting responses
- Invalid or empty search results
Limitations
- Maximum 100 results per page
- Rate limiting applies to prevent server overload
- Some premium recipes might not be accessible
- Search results depend on Tasty.co's content availability
Support
For issues and feature requests, please: Contact support at pintoflowpt@gmail.com
Keywords
recipes, tasty, food scraping, recipe api, cooking, meal planning, food data, web scraping, apify actor, tasty.co, recipe search, food database, cooking api, recipe crawler, food scraper
Related Projects
Actor Metrics
1 monthly user
-
0 No stars yet
>99% runs succeeded
Created in Jan 2025
Modified 10 days ago