Ouranic API
Zi Wei Dou Shu charts · two-person synastry · Da Liu Ren casting. Pure JSON endpoints computed at the edge — no third-party astrology service, no API key required to try.
Endpoints
POST /api/chart
{ "date": "1990-1-1", "hour": 12, "gender": "male", "lang": "en-US" }
POST /api/heming
{ "a": { "date": "1990-1-1", "hour": 12, "gender": "male" },
"b": { "date": "1992-5-20", "hour": 8, "gender": "female" },
"lang": "en-US" }
POST /api/liuren
{ "year": 2025, "month": 3, "day": 8, "hour": 10, "minute": 30,
"question": "Will this deal close?", "lang": "en-US" }
Access & quota
- Open by default: no key, no quota — good for evaluation.
- With
API_KEYS configured, send X-Api-Key or Authorization: Bearer <key>.
- Free keys are counted per day via
RATE_KV (FREE_DAILY_QUOTA, default 20); over-limit returns 429.
- Paid keys are not counted. CORS is open, so browser clients work as-is.
Language
lang accepts en-US (default) and zh-CN; palace names, star names and the reading text follow it.
- Chinese interface: ouranic-clone.pages.dev