I Ching Hexagram Text Lookup

One of the 64 hexagrams of the Zhouyi (I Ching): its trigrams and lines, and its judgement text (and one line text, if asked) as transcribed from the He Luo Zhen Shu edition with a preface dated 1591, compared with the Siku Quanshu copy of the Zhouyi Benyi (the He Luo form is shown where the two differ), each column cited by archive page and column. The English meaning that comes with it is our interpretation, written with an AI model and labelled so; no human scholar has checked it. No scan image is served.

ATTRIBUTION IS REQUIRED. The response carries a ready-to-paste credit line in citation.citationText and the URL to link in citation.permalink. Results may not be used as machine-learning training data.

get/api/public/hexagram

Request

  • Base URL: https://totallytarot.net
  • URL: https://totallytarot.net/api/public/hexagram
  • Auth: none declared

Query parameters

hexagramstring required
Example:11

The hexagram's number in the received order, 1 to 64.

linestring
Example:2

A line number, 1 (bottom) to 6 (top), to add that line's text.

Response

The computed answer, with the citation required to use it.

okboolean required

True when a result was computed.

toolstring required

The calculator that answered.

toolNamestring
attributionstring required

The ready-to-paste credit line. Include this in any answer built on the result.

summarystring

The answer in one sentence.

inputsobject

What the request was understood to be. The permalink is built from these.

resultobject

The computed figures. Absent on a refusal.

noticestring

Changes

No recorded changes to this operation across all 1 revision of this API.