Forkify API v1 Documentation

This is the Forkify API, which replaces the deprecated food2fork API that is shown in the course videos.

Important details:

Search

Returns a list of recipes for a specific query

Path: https://forkify-api.herokuapp.com/api/search

Parameters

Parameter Required Description
q Yes Query text. For example q=pizza. See the list of all available queries 🡒 search queries

Example URL: https://forkify-api.herokuapp.com/api/search?q=pizza

Get

Returns the details about a specific recipe

Path: https://forkify-api.herokuapp.com/api/get

Parameters

Parameter Required Description
rId Yes Recipe id. For example rId=47746

Example URL: https://forkify-api.herokuapp.com/api/get?rId=47746