Skip to content
Fourohtwo

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. 紫微斗數本命盤。

BaseAnswering
POSThttps://ziwei-agent.sageduke800.workers.dev/api/v1/natal

Uptime100% 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