Health
Daily protein requirement API
Compute daily protein need in grams from bodyweight and goal using evidence-based g/kg ranges (sedentary 0.8-1.0 … cutting 1.8-2.4). Answers 'how much protein do I need', 'protein for an 80kg lifter', 'grams of protein per day to build muscle', 'protein intake calculator'.
Price$0.01per request
MethodPOST
Route/v1/health/protein-need
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
healthproteinnutritiondietmusclemacrosintakecalculator
API URL
Integration docshttps://x402.hexl.dev/v1/health/protein-needExample request
{
"weightKg": 80,
"goal": "strength"
}Example response
{
"proteinGramsPerDay": 152,
"rangeG": {
"min": 128,
"max": 176
},
"gramsPerKg": {
"min": 1.6,
"max": 2.2
},
"goal": "strength",
"formula": "proteinG = weightKg * gPerKg",
"inputs": {
"weightKg": 80
}
}Input schema
{
"type": "object",
"required": [
"weightKg"
],
"properties": {
"weightKg": {
"type": "number",
"examples": [
80
]
},
"goal": {
"type": "string",
"enum": [
"sedentary",
"active",
"endurance",
"strength",
"cutting"
],
"default": "active"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}