⚔️ THE DEVELOPER HUB
DEVELOPER GATEWAY
Free, CORS-enabled, zero-authentication endpoints built directly for health innovators, fitness developers, and independent creators.
CORS-Enabled
Call from any client
Zero Keys
No registration needed
High Speed
Edge serverless deployment
GET
AI Food Analyzer & Macros API
Fuzzy search verified Indian and global food items. Returns raw macronutrients, calories, custom Sankatmochan nutritional score, and AI verdict details.
API Endpoint
GET|https://sankatmochan.fit/api/food
Query Parameters
Param
Type
Required
q
string
Required
Fuzzy search term (e.g. paneer, eggs, oats). This parameter is required to prevent database scraping.
JSON Response Schema
{
"success": true,
"count": 1,
"data": [
{
"name": "Paneer",
"brand": "Dairy Product",
"macros": {
"calories": 265,
"protein": 18,
"carbs": 1.2,
"fat": 20,
"fiber": 0,
"sugar": 1.2,
"saturatedFat": 13
},
"quantity": "100g",
"score": 65,
"verdict": {
"title": "DISCIPLINE LEVEL",
"desc": "Acceptable. Can be part of a balanced diet but watch your portion sizes.",
"color": "#ffaa00"
}
}
]
}Code Snippet
curl -X GET "https://sankatmochan.fit/api/food?q=paneer"Formula Details
Nutritional calculations guide

