Api Endpoint

api.cn402.com

BaZi Four Pillars, 八字四柱, Chinese astrology birth chart, 生辰八字, heavenly stems earthly branches, 天干地支, year-month-day-hour pillars, Chinese natal chart, Ba Zi calculator, Day Master, 日主. Compute Four Pillars of Destiny (year/month/day/hour gan-zhi) from any Western birth datetime. Foundation of Chinese astrology analysis. Accepts payment on Base or Solana — either network works.

Open interactive test console

Offering

Provider
api.cn402.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.cn402.com/bazi/sizhu
MIME type
application/json
First seen
2026-10-16T02:08:53.176Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.16 USDC
Atomic price: 160000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.16 USDC
Atomic price: 160000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "160000",
    "payTo": "0x4466d4A84b7c49a6A094ec6eef4a0712D6dd125e"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "160000",
    "payTo": "9urRvUx69HqAopg1JGV9P9wR7JdKoztzdkuNyJ8Eo1up"
  }
]

Observed health

Status
Healthy
Latest latency
184 ms
Average latency
573 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "birth": {
          "type": "string",
          "description": "Birth (required)"
        },
        "gender": {
          "type": "string",
          "description": "Gender (optional)"
        }
      },
      "required": [
        "birth"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "birth": {
              "type": "string",
              "description": "Birth (required)"
            },
            "gender": {
              "type": "string",
              "description": "Gender (optional)"
            }
          },
          "required": [
            "birth"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}