# Qi Men Dun Jia API

A Qi Men Dun Jia hour chart (rotating plate, Chai Bu or Zhi Run): Yang or Yin Dun and the structure number from the solar term, the hour pillar and its Xun Shou, the lead star and door, and the nine palaces with earth and heaven stems, star, door and deity, plus Kong Wang and the horse star.

- Endpoint: `POST https://api.96astroapi.com/v1/chinese/qimen`
- Family: [Chinese astrology](https://96astroapi.com/apis/chinese.md)
- Input: Specific input
- Cost: 1 credit per successful call (sandbox keys are free)
- Status: available
- Delivery: Direct response
- Output languages: en
- Web page: https://96astroapi.com/apis/chinese/qimen

## Example request

```bash
curl https://api.96astroapi.com/v1/chinese/qimen \
  -H "Authorization: Bearer $ASTRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"2026-11-28","time":"13:56","utc_offset_hours":0}'
```

## Response

Every response is `{ "data": …, "meta": { "request_id", "credits_used", "warnings", "language" } }`.
The full request and response schema, with a captured example, is in the OpenAPI document: https://api.96astroapi.com/v1/openapi.json (path `/v1/chinese/qimen`).
