This is the Forkify API, which replaces the deprecated food2fork API that is shown in the course videos.
Returns a list of recipes for a specific query
Path: https://forkify-api.herokuapp.com/api/search
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
Returns the details about a specific recipe
Path: https://forkify-api.herokuapp.com/api/get
Parameter | Required | Description |
---|---|---|
rId | Yes | Recipe id. For example rId=47746 |
Example URL: https://forkify-api.herokuapp.com/api/get?rId=47746