Ayurveda API

The service is on hiatus at this time

ABOUT

Ayurveda is a system of traditional medicine with roots in ancient India. It says that our bodies are made up of three doshas, or elemental principles: vata (air and space), pitta (fire and water), and kapha (earth and water). We are healthy when these doshas are in balance.

This REST API provides information on the effects of specific food items on the three doshas, so that you or those who use your application can make dietary choices that are informed by ayurveda.

USAGE

Resource: Foods

CALL

https://ayurvedaapi.com/foods?
Method: GET Headers: Authorization: key would go here

RESPONSE

                

Parameters (all optional)

Key(s)MeaningPossible ValuesDefault Value
vpkHow should someone trying to balance vata, pitta, or kapha relate to the food items?
  • 0 - effect unknown
  • 1 - best to avoid
  • 2 - okay rarely
  • 3 - okay in moderation
  • 4 - good to have
One or more of the numbers 0 through 4, separated by commas0,1,2,3,4
groupsWhich group(s) should the food items be in?One or more of the following strings, separated by commas
  • beverages
  • condiments
  • dairy
  • fruits
  • grains
  • herbs
  • legumes
  • meat
  • nuts
  • oils
  • seeds
  • spices
  • supplements
  • sweeteners
  • vegetables
All groups
detailsShould the food objects returned contain all available details (details=true), or just the name and ID (details=false)?true or falsefalse
containsWhich string(s) should the food items' names contain?One or more strings, separated by commasAll names

Resource: Food by ID

CALL

https://ayurvedaapi.com/foods/food/
Method: GET Headers: Authorization: key would go here

RESPONSE

                

This endpoint takes as parameter a food item's ID and responds with all available details on the item.

Get API Key

SUPPORT

Contact me at ayurve.api at gmail dot com

ACKNOWLEDGEMENTS

The API uses information from this food guideline from The Ayurvedic Institute. All rights to the information are reserved by the Institute.