Forkify API Documentation

Important details

  • Search terms are limited. Search for "pizza" or another meal from this list ⟶ Search queries
  • Supports up to 100 API requests per hour
  • Only 1 API key request per hour

Get all recipes/Create recipe

Allowed methods: GET POST

GET: Returns a list of recipes for a specific search query

POST: Creates a new recipe

URL: https://forkify-backend-1amw.onrender.com/forkify/recipes

Parameters

Parameter Required Description
Search Yes Search text. For example search=pizza
key Only for POST The Forkify API key

Example URL: https://forkify-backend-1amw.onrender.com/forkify/recipes?search=biryani&key=`your-api-key`

Get recipe/Delete recipe

Allowed methods: GET DELETE

GET: Returns a single recipe

DELETE: Deletes a single recipe associated with provided API key

URL: https://forkify-backend-1amw.onrender.com/forkify/recipes/:id

Parameters

Parameter Required Description
id Yes The id of the recipe to be fetched or deleted (part of URL)
key Yes(for DELETE) The Forkify API key

Example URL: https://forkify-backend-1amw.onrender.com/forkify/recipes/1dlYixYOCTsOlXHh2soCFrF7?key=`your-api-key`