citedhealth
Async Rust client for the Cited Health REST API -- evidence-based supplement research data, PubMed papers, and evidence grades.
Cited Health aggregates clinical research on supplements and health ingredients across 6 sites (citedhealth.com, haircited.com, sleepcited.com, gutcited.com, immunecited.com, braincited.com). The API provides access to 188 ingredients, 84 conditions, 323 evidence links with grades (A-F), 6,197 PubMed-indexed papers, 228 glossary terms, and 50 guides. Every evidence link is backed by study counts, participant totals, and effect direction.
Explore the data at citedhealth.com -- Ingredients, Evidence, Papers, Conditions, Glossary, Guides
Table of Contents
- Install
- Quick Start
- Command-Line Interface
- What You Can Do
- API Reference
- Error Handling
- Custom Configuration
- Learn More About Evidence-Based Supplements
- Also Available
- License
Install
Add to your Cargo.toml:
[]
= "0.4"
= { = "1", = ["macros", "rt-multi-thread"] }
Or install the CLI directly:
Quick Start
use CitedHealth;
async
Command-Line Interface
Install the CLI with cargo install citedhealth, then query supplement research data directly from the terminal.
# Search ingredients by name
# Filter ingredients by category
# Get a single ingredient by slug
# Look up evidence for an ingredient-condition pair
# Search PubMed papers by keyword and year
# Get a single paper by PMID
# Search health conditions
# Get a single condition by slug
# Search glossary terms
# Get a single glossary term by slug
# Search educational guides
# Get a single guide by slug
# Compact JSON output (default is pretty-printed)
| Command | Description |
|---|---|
ingredients [query] |
List or search ingredients. -c, --category to filter. |
ingredient <slug> |
Get a single ingredient by slug. |
evidence <ingredient> <condition> |
Look up evidence for an ingredient-condition pair. |
papers [query] |
List or search PubMed papers. -y, --year to filter. |
paper <pmid> |
Get a single paper by PubMed ID. |
conditions [query] |
List or search health conditions. |
condition <slug> |
Get a single condition by slug. |
glossary [query] |
List or search glossary terms. |
glossary-term <slug> |
Get a single glossary term by slug. |
guides [query] |
List or search educational guides. |
guide <slug> |
Get a single guide by slug. |
All commands accept --json for compact (single-line) JSON output.
What You Can Do
Search Ingredients
Query supplement ingredients by name or category. Each ingredient includes mechanism of action, recommended dosage, available forms, and featured status.
| Category | Examples |
|---|---|
| Vitamins | Biotin, Vitamin D, Vitamin C, B12 |
| Minerals | Zinc, Magnesium, Iron, Selenium |
| Herbs | Ashwagandha, Saw Palmetto, Ginkgo |
| Amino Acids | L-Theanine, NAC, Creatine |
// Search by name
let results = client.list_ingredients.await?;
// Filter by category
let herbs = client.list_ingredients.await?;
// Get a specific ingredient with full details
let biotin = client.get_ingredient.await?;
println!; // ["capsule", "tablet", "liquid"]
println!; // Coenzyme for carboxylase enzymes...
Learn more: Browse Ingredients | Evidence Database | API Docs
Lookup Evidence Grades
Evidence links represent the research relationship between an ingredient and a health condition. Each link includes an evidence grade (A-F), study count, participant total, and effect direction.
| Grade | Label | Meaning |
|---|---|---|
| A | Strong Evidence | Consistent results from multiple high-quality RCTs |
| B | Good Evidence | Positive results from well-designed studies |
| C | Moderate Evidence | Some positive findings but inconsistent |
| D | Weak Evidence | Limited or preliminary evidence |
| F | No Evidence | No significant benefit demonstrated |
// Find evidence for biotin and hair loss
let evidence = client.list_evidence.await?;
if let Some = evidence.results.first
// Get a specific evidence link by ID
let link = client.get_evidence.await?;
Learn more: Evidence Database | Grading Methodology | Hair Health | Sleep Health
Search PubMed Papers
Access 6,197 PubMed-indexed papers with metadata including journal, study type, citation count, and open access status.
// Search by title keywords
let papers = client.list_papers.await?;
// Filter by publication year
let recent = client.list_papers.await?;
// Get a specific paper by PMID
let paper = client.get_paper.await?;
println!;
println!;
Learn more: Paper Database | OpenAPI Spec | PubMed
Browse Conditions
Explore 84 health conditions across 6 specialized sites -- hair health, sleep, gut, immune, and brain. Each condition includes prevalence data, symptoms, risk factors, and linked evidence.
// List all conditions
let conditions = client.list_conditions.await?;
println!;
// Search conditions by name
let results = client.list_conditions.await?;
// Get a single condition with full details
let condition = client.get_condition.await?;
println!;
println!;
Learn more: Conditions Database | Hair Health | Sleep Health | Gut Health
Glossary Terms
Access 228 glossary terms covering research methodology, nutrients, biological processes, and health conditions. Each term includes a short definition, full definition, and optional abbreviation.
// List all glossary terms
let terms = client.list_glossary.await?;
// Search by keyword
let results = client.list_glossary.await?;
// Get a specific term
let term = client.get_glossary_term.await?;
println!;
Learn more: Glossary | Editorial Policy | API Docs
Educational Guides
Browse 50 in-depth guides on supplement research, ingredient deep-dives, and health condition explainers.
// List all guides
let guides = client.list_guides.await?;
println!;
// Search guides by title
let results = client.list_guides.await?;
// Get a single guide with full content
let guide = client.get_guide.await?;
println!;
Learn more: All Guides | Immune Health | Brain Health
API Reference
| Method | Description |
|---|---|
list_ingredients(q, category) |
List ingredients with optional search and category filter |
get_ingredient(slug) |
Get a single ingredient by slug |
list_evidence(ingredient, condition) |
List evidence links with optional filters |
get_evidence(id) |
Get a single evidence link by ID |
list_papers(q, year) |
List papers with optional search and year filter |
get_paper(pmid) |
Get a single paper by PubMed ID |
list_conditions(q) |
List conditions with optional search |
get_condition(slug) |
Get a single condition by slug |
list_glossary(q) |
List glossary terms with optional search |
get_glossary_term(slug) |
Get a single glossary term by slug |
list_guides(q) |
List guides with optional search |
get_guide(slug) |
Get a single guide by slug |
All methods are async and return Result<T, CitedHealthError>.
Error Handling
The client returns typed errors for different failure modes:
use ;
let client = new;
match client.get_ingredient.await
Custom Configuration
Use the builder for custom base URL and timeout:
use Duration;
use CitedHealth;
let client = builder
.base_url
.timeout
.build?;
Learn More About Evidence-Based Supplements
- Tools: Evidence Checker · Ingredient Browser · Paper Search
- Browse: Hair Health · Sleep Health · Gut Health · Immune Health · Brain Health
- Guides: Grading Methodology · Medical Disclaimer
- API: REST API Docs · OpenAPI Spec
- Python: citedhealth on PyPI
- TypeScript: citedhealth on npm
- Go: citedhealth-go on pkg.go.dev
- Ruby: citedhealth on RubyGems
Also Available
| Platform | Install | Link |
|---|---|---|
| PyPI | pip install citedhealth |
PyPI |
| npm | npm install citedhealth |
npm |
| Go | go get github.com/citedhealth/citedhealth-go |
pkg.go.dev |
| Ruby | gem install citedhealth |
RubyGems |
| MCP | uvx citedhealth-mcp |
PyPI |
Embed Widget
Embed CitedHealth widgets on any website with citedhealth-embed:
Zero dependencies · Shadow DOM · 4 themes (light/dark/sepia/auto) · Widget docs
License
MIT