---
title: "Calculate Neijing Life Curve (Jing/Qi/Shen)"
method: POST
path: "/api/v1/chinese/bazi/lifespan"
tags: ["Chinese", "chinese"]
---

# Calculate Neijing Life Curve (Jing/Qi/Shen)

`POST /api/v1/chinese/bazi/lifespan`

## Request

- Base URL: `https://api.freeastroapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.freeastroapi.com/api/v1/chinese/bazi/lifespan`
- Auth: none declared

Experimental: Calculate energy trajectory (Jing, Qi, Shen) across 0-120y lifespan.
Based on Neijing 7/8 year cycles + DaYun/Annual modifier simulation.

## Headers

- `x-api-key` string, nullable

## Request body

- BaziLifespanRequest
  - `year` integer, required
  - `month` integer, required
  - `day` integer, required
  - `hour` integer
  - `minute` integer
  - `lat` number, nullable
  - `lng` number, nullable
  - `city` string, nullable
  - `tz_str` string, nullable
  - `sex` 'M' | 'F'
  - `time_standard` 'civil' | 'true_solar' | 'true_solar_absolute'
  - `max_age` integer
  - `cultivation_factor` number
  - `lang` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/freeastroapi/apis/astroservice-api.md) · [All operations](https://skmtc.dev/freeastroapi/apis/astroservice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freeastroapi/apis/astroservice-api/revisions/0c9b4a759522?raw)
