Build with supplement safety data
Check drug–supplement interactions, verify NIH labels, grade quality, and generate timing schedules — via REST API.
Base URL
https://elthio-production.up.railway.app
All requests use JSON. Include your API key in the Authorization: Bearer YOUR_KEY header once issued.
Endpoints
Full-stack interaction check — medications, supplements, and optional ingredient lists against 334 curated rules, FDA FAERS data, and semantic search.
{
"medications": ["warfarin", "levothyroxine"],
"supplements": ["fish oil", "vitamin D3", "magnesium"],
"ingredients": []
}
NIH DSLD verification — checks whether a supplement name matches the NIH Dietary Supplement Label Database. Returns status, DSLD ID, confidence, and verified name.
Personalized daily timing schedule based on NIH absorption science — morning, with food, empty stomach, bedtime slots.
{
"medications": ["levothyroxine"],
"supplements": ["iron", "vitamin D3", "magnesium glycinate"],
"user_routine": {
"wake": "6:30", "breakfast": "7:30",
"lunch": "12:30", "dinner": "18:30", "bedtime": "22:00"
}
}
Supplement quality grade (A–D) from label text or product name — bioavailability, filler detection, form analysis.
{
"name": "Magnesium Bisglycinate",
"label_text": "Supplement Facts panel text (optional)"
}
Service health check — returns status and uptime info.
Example — cURL
curl -X POST https://elthio-production.up.railway.app/med-check \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"medications": ["warfarin"],
"supplements": ["fish oil", "turmeric"]
}'
Data sources
- 334 curated interaction rules — NIH ODS, NCCIH, peer-reviewed journals
- FDA FAERS adverse event reports
- NIH Dietary Supplement Label Database (DSLD)
- Semantic search for plain-English queries