---
title: "With Changing Lines"
method: POST
path: "/iching/with-changing-lines"
tags: ["I Ching (Standalone)"]
---

# With Changing Lines

`POST /iching/with-changing-lines`

Primary + transformed hexagrams.

## Request body

- Changing
  - `seed` union
    - number
    - string

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `seed` number, nullable
    - `primary` object, nullable
      - `number` number, nullable
      - `name` string, nullable
      - `chinese` string, nullable
      - `trigrams` number[], nullable
      - `lines` object[], nullable
        - `value` number, nullable
        - `isYang` boolean, nullable
        - `isChanging` boolean, nullable
      - `changingHexagram` number, nullable
    - `changingLines` number[], nullable
    - `transformedHexagram` object, nullable
      - `number` number, nullable
      - `name` string, nullable
      - `chinese` string, nullable
      - `trigrams` number[], nullable
      - `lines` object[], nullable
        - `value` number, nullable
        - `isYang` boolean, nullable
        - `isChanging` boolean, nullable
    - `note` string, nullable
    - `source` string, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/8ab5a768b521/schema)
