← Back to app
ELTHIO API

Build with supplement safety data

Check drug–supplement interactions, verify NIH labels, grade quality, and generate timing schedules — via REST API.

GET API ACCESS
Get your free API key instantly

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

POST /med-check

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":  []
}
GET /api/verify-supplement?name=magnesium+bisglycinate

NIH DSLD verification — checks whether a supplement name matches the NIH Dietary Supplement Label Database. Returns status, DSLD ID, confidence, and verified name.

POST /api/separation-schedule

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"
  }
}
POST /api/quality-check

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)"
}
GET /api/health

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

⚕ Elthio API responses are for educational and research purposes — not medical advice. Always verify with a licensed pharmacist or physician before making clinical decisions. By using the API you agree to attribute Elthio and not present results as diagnostic or prescribing guidance.
← Back to Elthio