Skip to content

jkrecipeapi/JKRecipeAPI-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to JKRecipeAPI

Hello for All Developers, this is API developed for Fetching data as food recipes

About JKRecipeAPI

base URL

https://jkrecipeapi.vercel.app/api/

endPoints

/get

full API

https://jkrecipeapi.vercel.app/api/alldata

https://jkrecipeapi.vercel.app/api/onerecipe/19

How to use

  • Visit the RapidAPI page to explore available plans.
  • Currently, only the free plan is available.
  • More features and paid plans will be added in future releases.

Authentication

  • No authentication is required for the free version.
  • Future versions may introduce API keys for advanced features.

Example Request

curl -X GET "https://jkrecipeapi.vercel.app/api/alldata"

Example Response

{
  "Status": "Success",
  "Result": [
    {
      "id": 1,
      "name": "Pizza Dough",
      "cuisine": "Italian",
      "ingredients": [
        {
          "name": "All-Purpose Flour",
          "quantity": "3.5 cups"
        },
        {
          "name": "Warm Water",
          "quantity": "1.25 cups (110°F/45°C)"
        },
        {
          "name": "Active Dry Yeast",
          "quantity": "1 packet (2.25 tsp)"
        },
        {
          "name": "Sugar",
          "quantity": "1 tsp"
        },
        {
          "name": "Salt",
          "quantity": "1 tsp"
        },
        {
          "name": "Olive Oil",
          "quantity": "2 tbsp"
        }
      ],
      "instructions": "In a small bowl, combine warm water, sugar, and yeast. Let it sit for 5-10 minutes until frothy. In a large mixing bowl, combine flour and salt. Add the yeast mixture and olive oil to the flour and mix until a dough forms. Knead the dough on a floured surface for about 8-10 minutes until smooth and elastic. Place the dough in a lightly oiled bowl, cover with a damp cloth, and let it rise in a warm place for 1-2 hours, or until doubled in size. Once risen, punch down the dough, divide it into two balls, and roll out as needed for pizzas.",
      "prepTime": 15,
      "cookTime": 0,
      "totalTime": 75,
      "servings": 2,
      "category": "Basics",
      "nutrition": {
        "calories": 200,
        "protein": "5g",
        "fat": "4g",
        "carbohydrates": "35g"
      },
      "createdAt": "2025-01-28T00:00:00.000Z"
    }
  ]
}

or simply copy the example request and paste it into the address bar on the browser

Test on Postman

get all data

  • Open Postman and create a new request.
  • Set the request type to GET.
  • Enter the API URL: https://jkrecipeapi.vercel.app/api/alldata
  • Click Send to fetch the recipes.
  • You should see a JSON response with the available recipes.

get by id Recipe

  • Open Postman and create a new request.
  • Set the request type to GET.
  • Enter the API URL: https://jkrecipeapi.vercel.app/api/onerecipe/19
  • Click Send to fetch the recipes.
  • You should see a JSON response with the Recipe id:19
  • You can Change upto id 19 (only 19 recipes).

Versions

v1.0.0-beta1

  • initial release of the API
  • only few data can fetch from this API
  • no paid plans (free for all)
  • paid plans will add in future releases
  • release at: 31 January 2025

v1.0.0-beta2

  • 2nd beta version of the APU
  • add get recipe by id - endpoint
  • only few data can fetch from this api (19 items)
  • no paid plans (free for all)
  • paid plans will add in future releases
  • release at: 03 February 2025

Future Updates

  • More recipes and categories.
  • Authentication and API key support.
  • Advanced search and filtering options.
  • Paid plans with premium features.

For more updates, stay tuned! 🚀