Daily Vitamin API¶
Generate structured vitamin recommendations for key vitamins by age bracket and sex profile.
Endpoint¶
GET /api/v1/daily-vitaminPOST /api/v1/daily-vitamin/post
Parameters¶
| Name | Type | Required | In | Description |
|---|---|---|---|---|
age | integer (>0) | Yes | Query/Body | Age in years. |
sex | string (male,female) | Yes | Query/Body | Biological sex. |
lang | string | No | Query | Response language (en,es,de,fr,pt,ja,hi,ar). |
Why Use This Endpoint¶
- Personalize micronutrient guidance at scale.
- Segment recommendations by life stage.
- Power preventive nutrition modules in healthcare apps.
Request Example¶
curl -X GET "https://api.hefitapi.com/api/v1/daily-vitamin?age=29&sex=female&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/daily-vitamin/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"age":29,"sex":"female"}'
Response Example¶
Info
The response example below is for demonstration purposes only. Make a live request to this endpoint to receive the full, real-time, and potentially richer JSON structure.
{
"status": "success",
"data": {
"age": 29,
"sex": "female",
"age_category": "19+",
"life_stage": "adult",
"life_stage_label": "Adult",
"recommendations": {
"Vitamin A": {
"General": "700 ug RAE",
"Pregnant": "770 ug RAE",
"Lactating": "1300 ug RAE"
},
"Vitamin C": {
"General": "75 mg",
"Pregnant": "85 mg",
"Lactating": "120 mg"
}
},
"priority_focus": ["Consistency over megadosing"],
"monitoring_plan": "Review intake pattern quarterly."
},
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "f3d57b244a62f835",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"endpoint_name": "daily_vitamin",
"response_language": "en"
}
}
Product Positioning¶
Strong fit for preventive care apps, nutrition coaching products, and women’s health personalization stacks.
Note
Female responses include General, Pregnant, and Lactating entries where defined.
Recommended Endpoints¶
GET /api/v1/fitness/daily-plan- Daily Plan APIGET /api/v1/bmi- Bmi APIGET /api/v1/tdee- Tdee APIGET /api/v1/bmr- Bmr APIGET /api/v1/protein-calculator- Protein Calculator APIGET /api/v1/fitness/heart-rate-zones- Heart Rate Zones API