Hi, I am Rosie. I can show you a live reading, or get readings onto your site or app today.
I-Ching API Reference
I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career, and decision-making.
- Base URL
https://roxyapi.com/api/v2/iching- Remote MCP
https://roxyapi.com/mcp/iching- Auth
X-API-Key- Languages
- en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant
- SDKs
- TypeScript, Python, PHP, C#, Go, Rust, and Dart
/api/v2/iching/dailyDaily hexagram
Receive a daily I-Ching hexagram for guidance and reflection. This endpoint uses seeded randomness to ensure the same seed gets the same hexagram on the same day, perfect for "Hexagram of the Day" features in oracle apps, meditation platforms, and daily wisdom tools. Returns the hexagram with judgment, image, and interpretations for love, career, decisions, and practical advice based on ancient Chinese wisdom from the Book of Changes.
- MCP tool
post_iching_daily- Renders with
- Hexagram · No-code widget
Request
Show all 3 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten. seedstring- Optional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token) to give each user their own hexagram for the day. Without a seed every caller receives the same shared hexagram of the day.
datestring (date)- Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
Response
datestring, required- Date this daily hexagram is for (YYYY-MM-DD, UTC).
seedstring, required- Computed seed used for this reading. Same seed always produces the same hexagram.
hexagramobject, requiredShow all 15 fieldsShow fewer fields
numbernumber, required- Hexagram number in King Wen sequence (1-64).
symbolstring, required- Unicode hexagram symbol for display.
chinesestring, required- Original Chinese name.
englishstring, required- English translation of the hexagram name.
pinyinstring, required- Pinyin romanization with tone marks.
upperTrigramstring, required- Upper trigram (lines 4-6).
lowerTrigramstring, required- Lower trigram (lines 1-3).
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal action.
interpretationobject, required- Modern interpretations across life areas based on ancient I-Ching wisdom.
interpretation.generalstring, required- General life situation interpretation.
interpretation.lovestring, required- Love and relationship guidance.
interpretation.careerstring, required- Career and professional interpretation.
interpretation.decisionstring, required- Decision-making guidance for whether to act, wait, or change course.
interpretation.advicestring, required- Practical wisdom and actionable advice.
dailyMessagestring, required- Concise daily message summarizing the hexagram guidance
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/daily/castCast daily reading with changing lines
Cast a complete daily I-Ching reading using the traditional three-coin method with seeded randomness. Unlike the simple daily hexagram, this provides the full casting experience with line values (6-9), changing line positions, and the resulting hexagram if transformation occurs. Same seed + same date = same casting result. Perfect for I-Ching divination apps requiring authentic oracle experience with daily consistency.
- MCP tool
post_iching_daily_cast- Renders with
- Hexagram · No-code widget
Request
Show all 3 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten. seedstring- Optional seed for reproducible readings. Same seed + same date = same hexagram every time. Pass any unique identifier (userId, email hash, session token) to give each user their own hexagram for the day. Without a seed every caller receives the same shared hexagram of the day.
datestring (date)- Date for the reading in YYYY-MM-DD format. Defaults to today (UTC). Useful for viewing past daily readings or pre-generating future ones.
Response
datestring, required- Date this daily casting is for (YYYY-MM-DD, UTC).
seedstring, required- Computed seed for reproducible castings.
hexagramobjectShow all 20 fieldsShow fewer fields
numbernumber, required- Hexagram number in King Wen sequence (1-64).
symbolstring, required- Unicode hexagram symbol for display.
chinesestring, required- Original Chinese name.
englishstring, required- English translation of the hexagram name.
pinyinstring, required- Pinyin romanization with tone marks.
upperTrigramstring, required- Upper trigram (lines 4-6).
lowerTrigramstring, required- Lower trigram (lines 1-3).
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal action.
interpretationobject, required- Modern interpretations across life areas based on ancient I-Ching wisdom.
interpretation.generalstring, required- General life situation interpretation.
interpretation.lovestring, required- Love and relationship guidance.
interpretation.careerstring, required- Career and professional interpretation.
interpretation.decisionstring, required- Decision-making guidance for whether to act, wait, or change course.
interpretation.advicestring, required- Practical wisdom and actionable advice.
binarystring, required- Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
changingLinesarray of object- The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them.
changingLines[].positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
changingLines[].textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
changingLines[].meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
linesarray of number, required- Line values (6-9) from bottom to top. 6=old yin (changing), 7=young yang, 8=young yin, 9=old yang (changing).
changingLinePositionsarray of number, required- Positions of changing lines (1-6, bottom to top). These lines transform yin to yang or vice versa.
changingLinesarray of object- The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them.
Show all 3 fieldsShow fewer fields
positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
resultingHexagramobject- Hexagram after transformation (if changing lines present)
Show all 15 fieldsShow fewer fields
numbernumber, required- Hexagram number in King Wen sequence (1-64).
symbolstring, required- Unicode hexagram symbol for display.
chinesestring, required- Original Chinese name.
englishstring, required- English translation of the hexagram name.
pinyinstring, required- Pinyin romanization with tone marks.
upperTrigramstring, required- Upper trigram (lines 4-6).
lowerTrigramstring, required- Lower trigram (lines 1-3).
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal action.
interpretationobject, required- Modern interpretations across life areas based on ancient I-Ching wisdom.
interpretation.generalstring, required- General life situation interpretation.
interpretation.lovestring, required- Love and relationship guidance.
interpretation.careerstring, required- Career and professional interpretation.
interpretation.decisionstring, required- Decision-making guidance for whether to act, wait, or change course.
interpretation.advicestring, required- Practical wisdom and actionable advice.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/hexagramsList all 64 hexagrams
Browse all 64 I-Ching hexagrams from the Book of Changes with their Chinese names, English translations, and trigram compositions. The hexagrams are ordered by the traditional King Wen sequence used in I-Ching divination for 3,000 years. Each hexagram represents a unique life situation combining two trigrams (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake) into profound wisdom for decision-making and self-understanding.
- MCP tool
get_iching_hexagrams
Request
Show all 3 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten. limitquery, integer- Maximum items to return per page. Range: 1-64, default 20. Default
20. offsetquery, integer- Number of items to skip for pagination. Default 0. Default
0.
Response
totalnumber, required- Total number of I-Ching hexagrams (always 64).
limitnumber, required- Page size used for this response.
offsetnumber, required- Number of hexagrams skipped. Use with limit for pagination.
hexagramsarray of object, required- Hexagrams for the current page. Use /hexagrams/{number} for full details.
Show all 7 fieldsShow fewer fields
numbernumber, required- Hexagram number in King Wen sequence (1-64).
symbolstring, required- Unicode hexagram symbol for display.
chinesestring, required- Original Chinese name of the hexagram.
englishstring, required- English translation of the hexagram name.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks.
upperTrigramstring, required- Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
lowerTrigramstring, required- Lower trigram (lines 1-3). Combines with upper trigram to form the hexagram.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/hexagrams/randomRandom hexagram
Receive a random I-Ching hexagram with full interpretation. Perfect for daily oracle features, meditation prompts, or exploring the Book of Changes. Returns complete hexagram data including judgment, image, interpretations for love/career/decisions, and all six changing line meanings.
- MCP tool
get_iching_hexagrams_random- Renders with
- Hexagram · No-code widget
Request
Show all 1 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten.
Response
numbernumber, required- Hexagram number in the traditional King Wen sequence (1-64), the standard ordering used in I-Ching divination for over 3,000 years.
symbolstring, required- Unicode hexagram symbol (U+4DC0 block) representing all six lines. Use for visual display in I-Ching apps and divination interfaces.
chinesestring, required- Original Chinese character name of the hexagram in traditional script.
englishstring, required- English translation of the hexagram name, conveying the core concept and life situation it represents.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
binarystring, required- Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
upperTrigramstring, required- Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
lowerTrigramstring, required- Lower trigram (lines 1-3). Combines with the upper trigram to form the hexagram and its meaning.
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action.
interpretationobject, requiredShow all 5 fieldsShow fewer fields
generalstring, required- General life situation interpretation of this hexagram.
lovestring, required- Love and relationship guidance from this hexagram.
careerstring, required- Career and professional life interpretation.
decisionstring, required- Decision-making guidance for whether to act, wait, retreat, or advance based on this hexagram.
advicestring, required- Practical wisdom and actionable advice from this hexagram for daily life application.
changingLinesarray of object, required- Changing line interpretations for all 6 lines
Show all 3 fieldsShow fewer fields
positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
404 | No hexagrams available. |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/hexagrams/lookupLookup hexagram by line pattern
Find an I-Ching hexagram by its binary line pattern. Provide 6 digits (0 or 1) representing broken (yin) and solid (yang) lines from bottom to top. Use this for custom divination interfaces where users input their own line configurations, or to find hexagrams matching specific trigram combinations. Example: "111111" returns Hexagram 1 (The Creative), "000000" returns Hexagram 2 (The Receptive).
- MCP tool
get_iching_hexagrams_lookup- Renders with
- Hexagram · No-code widget
Request
linesquery, string, required- Six-digit binary pattern (0=yin/broken, 1=yang/solid) from bottom to top.
Show all 1 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten.
Response
numbernumber, required- Hexagram number in the traditional King Wen sequence (1-64), the standard ordering used in I-Ching divination for over 3,000 years.
symbolstring, required- Unicode hexagram symbol (U+4DC0 block) representing all six lines. Use for visual display in I-Ching apps and divination interfaces.
chinesestring, required- Original Chinese character name of the hexagram in traditional script.
englishstring, required- English translation of the hexagram name, conveying the core concept and life situation it represents.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
binarystring, required- Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
upperTrigramstring, required- Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
lowerTrigramstring, required- Lower trigram (lines 1-3). Combines with the upper trigram to form the hexagram and its meaning.
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action.
interpretationobject, requiredShow all 5 fieldsShow fewer fields
generalstring, required- General life situation interpretation of this hexagram.
lovestring, required- Love and relationship guidance from this hexagram.
careerstring, required- Career and professional life interpretation.
decisionstring, required- Decision-making guidance for whether to act, wait, retreat, or advance based on this hexagram.
advicestring, required- Practical wisdom and actionable advice from this hexagram for daily life application.
changingLinesarray of object, required- Changing line interpretations for all 6 lines
Show all 3 fieldsShow fewer fields
positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
404 | No hexagram found for pattern. |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/hexagrams/{number}Get hexagram by number
Retrieve complete I-Ching hexagram details by King Wen sequence number (1-64). Returns the full hexagram with Chinese name, English translation, judgment text, image text, modern interpretations for general situations, love, career, and decision-making, plus all six changing line meanings. Use this to display detailed hexagram information after casting or for educational reference.
- MCP tool
get_iching_hexagrams_number- Renders with
- Hexagram · No-code widget
Request
numberpath, integer, required- Hexagram number in King Wen sequence (1-64).
Show all 1 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten.
Response
numbernumber, required- Hexagram number in the traditional King Wen sequence (1-64), the standard ordering used in I-Ching divination for over 3,000 years.
symbolstring, required- Unicode hexagram symbol (U+4DC0 block) representing all six lines. Use for visual display in I-Ching apps and divination interfaces.
chinesestring, required- Original Chinese character name of the hexagram in traditional script.
englishstring, required- English translation of the hexagram name, conveying the core concept and life situation it represents.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
binarystring, required- Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
upperTrigramstring, required- Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
lowerTrigramstring, required- Lower trigram (lines 1-3). Combines with the upper trigram to form the hexagram and its meaning.
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action.
interpretationobject, requiredShow all 5 fieldsShow fewer fields
generalstring, required- General life situation interpretation of this hexagram.
lovestring, required- Love and relationship guidance from this hexagram.
careerstring, required- Career and professional life interpretation.
decisionstring, required- Decision-making guidance for whether to act, wait, retreat, or advance based on this hexagram.
advicestring, required- Practical wisdom and actionable advice from this hexagram for daily life application.
changingLinesarray of object, required- Changing line interpretations for all 6 lines
Show all 3 fieldsShow fewer fields
positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
404 | Hexagram not found. |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/castCast an I-Ching reading
Generate an authentic I-Ching reading using the traditional three-coin casting method. Each of the six lines is determined by virtually tossing three coins, producing values 6-9 where 6 (old yin) and 9 (old yang) are changing lines. Returns the primary hexagram with full interpretation, the line values showing which lines are changing, and if any lines change, the resulting hexagram that the primary transforms into. Optionally provide a seed for reproducible castings. Perfect for divination apps, oracle features, and decision-making tools.
- MCP tool
get_iching_cast- Renders with
- Hexagram · No-code widget
Request
Show all 2 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten. seedquery, string- Optional seed for reproducible castings. Same seed = same casting every time. Pass any unique identifier (userId, session token, question hash). Omit for random casting.
Response
seedstring- The seed used for this casting (if provided)
hexagramobjectShow all 20 fieldsShow fewer fields
numbernumber, required- Hexagram number in the traditional King Wen sequence (1-64), the standard ordering used in I-Ching divination for over 3,000 years.
symbolstring, required- Unicode hexagram symbol (U+4DC0 block) representing all six lines. Use for visual display in I-Ching apps and divination interfaces.
chinesestring, required- Original Chinese character name of the hexagram in traditional script.
englishstring, required- English translation of the hexagram name, conveying the core concept and life situation it represents.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
binarystring, required- Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
upperTrigramstring, required- Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
lowerTrigramstring, required- Lower trigram (lines 1-3). Combines with the upper trigram to form the hexagram and its meaning.
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action.
interpretationobject, requiredinterpretation.generalstring, required- General life situation interpretation of this hexagram.
interpretation.lovestring, required- Love and relationship guidance from this hexagram.
interpretation.careerstring, required- Career and professional life interpretation.
interpretation.decisionstring, required- Decision-making guidance for whether to act, wait, retreat, or advance based on this hexagram.
interpretation.advicestring, required- Practical wisdom and actionable advice from this hexagram for daily life application.
changingLinesarray of object, required- Changing line interpretations for all 6 lines
changingLines[].positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
changingLines[].textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
changingLines[].meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
linesarray of number, required- Line values (6-9) from bottom to top. 6=old yin (changing), 7=young yang, 8=young yin, 9=old yang (changing)
changingLinePositionsarray of number, required- Positions of changing lines (1-6, bottom to top)
resultingHexagramobjectShow all 20 fieldsShow fewer fields
numbernumber, required- Hexagram number in the traditional King Wen sequence (1-64), the standard ordering used in I-Ching divination for over 3,000 years.
symbolstring, required- Unicode hexagram symbol (U+4DC0 block) representing all six lines. Use for visual display in I-Ching apps and divination interfaces.
chinesestring, required- Original Chinese character name of the hexagram in traditional script.
englishstring, required- English translation of the hexagram name, conveying the core concept and life situation it represents.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
binarystring, required- Binary line pattern (6 digits, bottom to top). 1 = yang (solid line), 0 = yin (broken line). Lines 1-3 form the lower trigram, lines 4-6 form the upper trigram.
upperTrigramstring, required- Upper trigram (lines 4-6). One of 8 trigrams: Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake.
lowerTrigramstring, required- Lower trigram (lines 1-3). Combines with the upper trigram to form the hexagram and its meaning.
judgmentstring, required- The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome.
imagestring, required- The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action.
interpretationobject, requiredinterpretation.generalstring, required- General life situation interpretation of this hexagram.
interpretation.lovestring, required- Love and relationship guidance from this hexagram.
interpretation.careerstring, required- Career and professional life interpretation.
interpretation.decisionstring, required- Decision-making guidance for whether to act, wait, retreat, or advance based on this hexagram.
interpretation.advicestring, required- Practical wisdom and actionable advice from this hexagram for daily life application.
changingLinesarray of object, required- Changing line interpretations for all 6 lines
changingLines[].positionnumber, required- Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
changingLines[].textstring, required- The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
changingLines[].meaningstring- What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/trigramsList all 8 trigrams
Retrieve all 8 I-Ching trigrams (bagua), the fundamental building blocks of hexagrams. Each trigram consists of three lines and represents a primal force of nature: Heaven (Qian), Earth (Kun), Thunder (Zhen), Wind (Xun), Water (Kan), Fire (Li), Mountain (Gen), and Lake (Dui). Understanding trigrams is essential for interpreting hexagram meanings, as each hexagram combines an upper and lower trigram.
- MCP tool
get_iching_trigrams
Request
Show all 1 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten.
Response
totalnumber, required- Total number of I-Ching trigrams (always 8).
trigramsarray of object, required- All 8 trigrams (bagua) with basic details.
Show all 7 fieldsShow fewer fields
numbernumber, required- Trigram number (1-8)
symbolstring, required- Unicode trigram symbol
chinesestring, required- Chinese name
englishstring, required- English name
pinyinstring, required- Pinyin romanization
binarystring, required- Binary representation (1=Yang solid, 0=Yin broken)
attributestring, required- Core attribute/quality
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |
/api/v2/iching/trigrams/{id}Get trigram by number or name
Retrieve a specific I-Ching trigram by its number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake). Returns complete trigram information including Chinese name, pinyin, element associations, core attributes, and symbolic meaning. Use this to understand the component trigrams of any hexagram.
- MCP tool
get_iching_trigrams_id- Renders with
- Reference card · No-code widget
Request
idpath, string, required- Trigram number (1-8) or English name (Heaven, Earth, Thunder, Wind, Water, Fire, Mountain, Lake).
Show all 1 optional fieldsShow fewer optional fields
langquery, string enum- Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. One of
en,tr,de,es,hi,pt,fr,ru,zh-Hans,zh-Hant. Defaulten.
Response
numbernumber, required- Stable identifier for the trigram, 1 to 8. This is our lookup key, not a canonical sequence: the tradition has several orderings (King Wen, Fu Xi, Earlier and Later Heaven) and they disagree, so do not read ranking or precedence into it.
symbolstring, required- Unicode trigram symbol (three lines) for visual display in I-Ching interfaces and Bagua diagrams.
chinesestring, required- Original Chinese character name of the trigram in traditional script.
englishstring, required- English name representing the natural force or element this trigram embodies.
pinyinstring, required- Pinyin romanization of the Chinese name with tone marks for correct pronunciation.
binarystring, required- Three-digit binary representation of the trigram lines (bottom to top). 1 = yang (solid), 0 = yin (broken).
elementstring, required- Five element (Wu Xing) correspondence: Metal, Wood, Water, Fire, or Earth. Used in Chinese metaphysics and feng shui analysis.
attributestring, required- Core attribute or quality this trigram represents in I-Ching philosophy (e.g., Creative, Receptive, Arousing).
familyMemberstring, required- Family archetype in the Bagua system. Each trigram corresponds to a family role (Father, Mother, First Son, First Daughter, etc.).
directionstring, required- Compass direction in the King Wen (Later Heaven) Bagua arrangement. Used in feng shui spatial analysis.
bodyPartstring, required- Body part associated with this trigram in traditional Chinese medicine and I-Ching body mapping.
animalstring, required- Animal symbol associated with this trigram in classical I-Ching imagery and divination.
seasonstring, required- Season or time period associated with this trigram in the annual cycle of Chinese cosmology.
qualitystring, required- Energetic quality describing the dynamic nature of this trigram (e.g., Strong, Devoted, Joyous, Gentle).
meaningstring, required- Concise interpretation of the trigram covering its symbolic meaning, key associations, and guidance for understanding hexagrams containing this trigram.
Errors
| Status | Meaning |
|---|---|
400 | Validation error. `issues[]` lists every failed field. |
401 | Invalid or missing API key |
404 | Trigram not found. |
405 | Method not allowed. The path exists but only responds to the methods listed in `allow[]` and the `Allow` response header. |
429 | Monthly rate limit exceeded |
500 | Internal server error |