API 文件
供開發者與 AI Agent 整合使用的 REST API。
八字排盤
POST https://www.yuanfen.men/api/v1/bazi
Content-Type: application/json
{"birthDate":"1990-05-15","gender":"male"}birthDate 必填(1950–2025);gender 可選(male / female)。 回應含 bazi、personality、career、wealth、love、health、summary、disclaimer。
其他端點
GET /api/v1/health— 健康檢查GET /api/v1/services— 服務列表
機器可讀規格
- openapi.yaml — 完整 request/response schema
- ai-plugin.json — 插件描述
- llms.txt — 站點摘要
- llms-full.txt — 知識庫全文
速率限制:每 IP 每分鐘約 60 次;超出返回 429。