Tcm Dietary Api

Data & APIs

**Remote API client for TCM dietary therapy and syndrome differentiation.** Not a local knowledge base — all queries are sent via HTTPS to api.tcmplate.com for processing. ## What it does - **Diagnose**: symptoms → TCM pattern + personalized food therapy plan - **Search**: full-text search across 9 knowledge bases (ingredients, dishes, herbs, formulas) - **Recommend**: tea recipes by constitution type, disease-specific meal plans

Install

openclaw skills install tcm-dietary-api

tcm-dietary

Remote API client, not a local knowledge base. All queries are sent via HTTPS to the api.tcmplate.com cloud diagnosis engine for processing. Free tier: 10 calls/day, no registration required.

中文文档 / Chinese docs


🔒 Privacy & Data Handling

ItemDetail
TransportHTTPS encrypted
Data sentOnly symptom descriptions, constitution types, and ingredient names. A field whitelist at the code level automatically filters out accidentally included personal information (names, ID numbers, addresses, etc.) — these never reach the server
Server logsIP and timestamp retained for rate limiting only. Symptom query content is not logged
Data useSolely for generating dietary therapy suggestions. Not used for model training
PaymentsPaid subscriptions are handled independently by PayPal. The API never touches payment information
ConsentBy using this Skill, you understand and agree that your queries will be transmitted via HTTPS to api.tcmplate.com for processing

📧 Privacy inquiries: privacy@tcmplate.com


⚡ Zero-Step Start (Free — 10 calls/day, no API key)

# Syndrome diagnosis — symptoms sent via HTTPS to api.tcmplate.com
curl -X POST https://api.tcmplate.com/api/diagnose \
  -H "Content-Type: application/json" \
  -d '{"symptoms":["dry mouth","insomnia","irritability"]}'

# Knowledge search
curl -X POST https://api.tcmplate.com/api/search \
  -H "Content-Type: application/json" \
  -d '{"category":"ingredients","keywords":["ginger"]}'

Rate limit: 10 calls/day per IP. Exceeded? Returns HTTP 429.


Python Client

# No installation — just copy the core/ directory into your project
# All calls transmit queries via HTTPS to api.tcmplate.com
import sys; sys.path.insert(0, "path/to/tcm-dietary")
from core.diagnose import diagnose
from core.search import search

# Free: no API key needed
result = diagnose(["insomnia", "palpitations", "poor appetite"])
print(result["syndrome"]["pattern"])
print(result["recommended_foods"][:5])

# Paid: $5/month, unlimited
# core.set_api_key("tcm_xxxx")

This client sends every query you provide over HTTPS to api.tcmplate.com. Do not include personal identifiers in your queries.


API Endpoints

EndpointFreeDescription
/api/diagnoseSymptoms → pattern diagnosis + food therapy plan
/api/searchFull-text search across 9 knowledge bases
/api/healthHealth check

Pricing

PlanQuotaPrice
Free10 calls/day$0
PaidUnlimited$5/month

📖 Full docs: https://tcmplate.com/docs 🛒 Subscribe: https://api.tcmplate.com/subscribe


⚠️ Disclaimer

This Skill is an informational reference tool. It does not provide medical services.

  • All output is for learning and informational reference only. It does not constitute medical diagnosis, prescription, or treatment advice
  • If you have health concerns, consult a licensed medical practitioner
  • This Skill is a remote API client: the symptom descriptions you submit will be transmitted over the network to api.tcmplate.com for processing
  • Do not include names, ID numbers, home addresses, or other personal identifiers in your queries
  • By using this Skill, you confirm that you have read and agree to the Privacy & Data Handling terms above