# I-Ching Hexagram API

One of the 64 hexagrams by King Wen number (name, characters, trigrams, lines and our own summary), or the list of all 64.

- Endpoint: `POST https://api.96astroapi.com/v1/chinese/i-ching-hexagram`
- 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, hi, mr, bn, gu, ta, te, ml, kn, pa, ur, ne, or, as, si, fr, es, pt, de, it, nl, pl, tr, ru, ko, ja
- Web page: https://96astroapi.com/apis/chinese/i-ching-hexagram

## Example request

```bash
curl https://api.96astroapi.com/v1/chinese/i-ching-hexagram \
  -H "Authorization: Bearer $ASTRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"number":11}'
```

## 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/i-ching-hexagram`).
