Zi Wei Dou Shu (紫微斗數) natal chart from a birth date and time
ziwei-agent.sageduke800.workers.dev/api/v1/natal
Zi Wei Dou Shu (紫微斗數) natal chart from a birth date and time: twelve palaces, stars with brightness, 四化, 大限 and 小限 ages. Output values are in Chinese. 紫微斗數本命盤。
POST
https://ziwei-agent.sageduke800.workers.dev/api/v1/natalUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://ziwei-agent.sageduke800.workers.dev/api/v1/natal", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"birth":{"calendar":"solar","date":"1990-05-17","gender":"male","longitude":121.5,"time":"14:30","timezone":8,"trueSolarTime":true},"format":"both","lang":"zh-Hant"}),
});
console.log(await res.json());Example input
{
"birth": {
"calendar": "solar",
"date": "1990-05-17",
"gender": "male",
"longitude": 121.5,
"time": "14:30",
"timezone": 8,
"trueSolarTime": true
},
"format": "both",
"lang": "zh-Hant"
}More from ziwei-agent
- ziwei-agent-testnet.sageduke800.workers.dev/api/v1/natalZi Wei Dou Shu (紫微斗數) natal chart from a birth date and time: twelve palaces, stars with brightness, 四化, 大限 and 小限 ages. Output values are in Chinese. 紫微斗數本命盤。0.02
- ziwei-agent-testnet.sageduke800.workers.dev/api/v1/transitZi Wei Dou Shu (紫微斗數) transit chart for a target date and time: the natal chart plus 大限, 流年, 流月, 流日 and 流時 layers with 四化 and 流曜. Output values are in Chinese. 紫微斗數流運盤。0.05
- ziwei-agent.sageduke800.workers.dev/api/v1/transitZi Wei Dou Shu (紫微斗數) transit chart for a target date and time: the natal chart plus 大限, 流年, 流月, 流日 and 流時 layers with 四化 and 流曜. Output values are in Chinese. 紫微斗數流運盤。0.05
