{"uid":"cap_xoJttLZjgRnkWcwUhT-ip","slug":"api-cn402-com-2d5b9876","name":"Six Lines Divination API (六爻占卜)","description":"Six Lines divination, 六爻占卜, Liu Yao, King Wen six-line method, 文王六爻, coin oracle, Yi Jing six-line reading, changing lines analysis, 六爻断卦, Chinese coin divination with detailed interpretation. Cast a Six-Line divination with optional question and date, returns original + transformed hexagram, changing lines, and divinatory interpretation.","url":"https://api.cn402.com/zhanbu/liuyao","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","description":"Seed (optional)"},"question":{"type":"string","description":"Question (optional)"}}},"responseSchema":null,"example":{"request":{"date":"2025-06-15","question":"Will my current project succeed?"},"response":{"shi":{"name":"三爻为世","meaning":"代表问卦者自身","position":3},"meta":{"source":"六爻纳甲法(京房易学)"},"seed":"1781759678668.392","ying":{"name":"上爻为应","meaning":"代表事情对方或外界","position":6},"_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","ben_gua":{"name":"乾","yaos":[{"gan":"戊","zhi":"寅","type":"阴","najia":"戊寅","value":8,"changing":false,"position":"初"},{"gan":"戊","zhi":"辰","type":"阳","najia":"戊辰","value":7,"changing":false,"position":"二"},{"gan":"戊","zhi":"午","type":"阴","najia":"戊午","value":8,"changing":false,"position":"三"},{"gan":"甲","zhi":"午","type":"阳","najia":"甲午","value":7,"changing":false,"position":"四"},{"gan":"甲","zhi":"申","type":"阳","najia":"甲申","value":7,"changing":false,"position":"五"},{"gan":"甲","zhi":"戌","type":"阳","najia":"甲戌","value":7,"changing":false,"position":"上"}],"lower":"坎","upper":"乾","binary":"111010"},"analysis":{"has_change":false,"change_count":0,"primary_focus":"静卦,以本卦卦辞为主"},"bian_gua":null,"question":"Will my current project succeed?","changing_yao":[]}},"exampleRequest":{"date":"2025-06-15","question":"Will my current project succeed?"},"tags":["x402"],"displayCostAmount":"0.16","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.16/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.16","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.16","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_36yhaOLjVrqgG2Bx_LYzO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.16","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a Six-Line (Liu Yao) I Ching divination reading using the King Wen coin oracle method, returning original and transformed hexagrams, changing lines, and detailed divinatory interpretation.","exampleAgentPrompt":"Cast a Six-Line Liu Yao divination for me using the King Wen coin oracle method — my question is 'Should I accept the new job offer?' and today's date is 2025-06-15, and give me the full interpretation including changing lines and the transformed hexagram.","exampleUseCases":null,"resultDescription":"Returns the original hexagram, transformed hexagram (变卦), the specific changing lines triggered, and a detailed divinatory interpretation of the reading in the context of the submitted question, following King Wen six-line methodology.","failureModes":["Missing or malformed date causes invalid reading generation","Question text too long or contains unsupported characters returns 400 error","Payment not attached or insufficient (x402 protocol) returns 402 Payment Required","Server-side divination engine failure returns 500 error","Empty response if question field is omitted and no default is applied"],"whenToPreferThis":"Choose this endpoint when the user wants a traditional Chinese Six-Line (Liu Yao / 六爻) I Ching divination specifically using the King Wen coin method, with full changing lines analysis and contextual interpretation. Prefer over generic I Ching hexagram lookup endpoints when the user wants a full coin-cast oracle reading with transformation analysis rather than simple hexagram reference data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:57:37.259Z","isFirstParty":false}