
AI Astrology Chatbot
Web App / Open Source30 minAI chatbot with real readings across all domains. Not hallucinations.
An I Ching reading that interprets every changing line, not just the hexagram it lands on.
Daily HexagramI Ching ReadingHexagramTrigram
Included with every plan (at no extra cost)
I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career, and decision-making. Cast readings with the authentic three-coin method, get a daily hexagram, and explore the Book of Changes programmatically. Built for divination apps, AI oracle chatbots, fortune-telling platforms, daily wisdom features, and spiritual guidance products. One key covers every RoxyAPI domain, with Remote MCP and typed SDKs.
Every I-Ching calculation is covered by 13,405 automated tests per deploy, 3,620 of them gold-standard tests locked to the named references on our methodology page. See how we test.
Interpretations in English, Deutsch, Español, Français, हिन्दी, Português, Русский, Türkçe, one query parameter away.
Typed SDKs for TypeScript, Python, PHP, C#, and Go, generated from the live spec, each with an AGENTS.md so your coding assistant calls the I-Ching Oracle API correctly.
A Remote MCP server exposes every endpoint as a tool for Claude, ChatGPT, Cursor and any MCP client, with no local install. Opt-in compact responses cut the tokens your agent reads by roughly 40 to 52 percent, and one call stays one request.
Paste a widget into any site builder, install the WordPress plugin, or start from an MIT template you can white-label. Results render from the I-Ching Oracle API with no backend.
The depth behind every line above, written out in full.
Want to try without writing code? Try this domain live in API playground →
npm install @roxyapi/sdkimport { createRoxy } from '@roxyapi/sdk'
const roxy = createRoxy(process.env.ROXY_API_KEY!)
const { data } = await roxy.iching.get(/* ... */)pip install roxy-sdkfrom roxy_sdk import create_roxy
roxy = create_roxy("your-api-key")
result = roxy.iching.get(...) # async: await roxy.iching.get_async(...)composer require roxyapi/sdkuse function RoxyAPI\Sdk\createRoxy;
$roxy = createRoxy(getenv('ROXY_API_KEY'));
$result = $roxy->iching->get(/* ... */);dotnet add package RoxyApi.Sdkusing RoxyApi;
var roxy = new RoxyClient(Environment.GetEnvironmentVariable("ROXY_API_KEY")!);
// await roxy.Iching.<resource>.GetAsync() or .PostAsync(new() { ... })go get github.com/RoxyAPI/sdk-goimport roxyapi "github.com/RoxyAPI/sdk-go"
roxy, _ := roxyapi.NewRoxy(os.Getenv("ROXY_API_KEY"))
// resp, err := roxy.Iching.<Method>(context.Background(), nil)claude mcp add --transport http \
roxy-iching https://roxyapi.com/mcp/iching \
--header "X-API-Key: YOUR_KEY"AI agents auto-discover all endpoints as callable tools. Zero configuration. Responses can come back token-optimized and lossless, cutting the tokens your agent spends per call by roughly 40 to 52 percent.
Full MCP setup guidecurl -H "X-API-Key: YOUR_KEY" \
https://roxyapi.com/api/v2/iching/Want to ship faster? Clone a free template and white-label it as your own app.
Building with Cursor, Claude Code, or Bolt? Use our AI prompts to generate a complete app.
Building on WordPress? Install the RoxyAPI plugin and drop a shortcode, no code required.
{
"hexagram": {
"number": 19,
"symbol": "䷒",
"chinese": "臨",
"english": "Approach",
"pinyin": "Lín",
"binary": "110000",
"upperTrigram": "Earth",
"lowerTrigram": "Lake",
"judgment": "Strength is rising from below and the ground ahead is open, so advance while the season favors it. Nothing expands forever, and the reversal is already scheduled, so use the opening now.",
"image": "The earth stands above the lake, high ground looking down into the depth it contains. Teach without ever running out of patience, and protect people without setting a limit on who counts.",
"interpretation": {
"general": "Favorable conditions are approaching and influence is growing. This is an auspicious time for taking initiative, mentoring others, and expanding your reach. However, remember that every advance eventually turns into retreat. Act now while conditions support you.",
"love": "A favorable time for approaching someone or deepening a connection. Move toward what you desire with confidence and genuine care. Opportunities are opening.",
"career": "Success approaches when you take steps to meet it. This is a favorable time for outreach, expansion, and new beginnings. Act while conditions are supportive.",
"decision": "The time is right to move forward. Approach your goals actively rather than waiting passively. Favorable conditions will not last forever: act now.",
"advice": "Great success comes through perseverance. Use this favorable period wisely, for conditions will shift. Teach and support others while your influence is strong."
},
"changingLines": [
{
"position": 1,
"text": "The approach begins in good company, and correctness makes it fortunate.",
"meaning": "The first line is strong and at the start of the rise, moving upward alongside its partner. Energy is abundant and completely untested, which is exactly when it goes wrong. Advance, but bind the advance to something correct, because at the beginning nobody is checking you."
},
{
"position": 2,
"text": "The approach continues in good company, and every direction is open.",
"meaning": "The second place is inner, central, and supported, and a strong line here has both drive and balance. This is the most favorable moment in the entire rise. Move on it, and do not spend the momentum waiting for a guarantee that will not come."
},
{
"position": 3,
"text": "Approaching for the pleasure of approaching brings no advantage.",
"meaning": "Line three is the exposed threshold, and a yielding line there has climbed on borrowed momentum instead of earned strength. Advancing because it feels good is not the same as advancing because it is correct, and this position cannot carry the difference. Worry about it honestly and the error corrects itself."
},
{
"position": 4,
"text": "The approach is made in the fullest way, and nothing is out of place.",
"meaning": "The fourth line is yielding, properly placed, close to power, and connected to the strength below. It does not compete with the rise, it lets the rise reach it. Meeting capable people directly, without status games, is what makes this line faultless."
},
{
"position": 5,
"text": "This is the approach of intelligence, which is what suits a ruler.",
"meaning": "The fifth place is the seat of authority, and a yielding line here governs by knowing its own limits. Wisdom in this position means putting the strong and capable where they belong and then standing out of their way. The right use of power here is selection, not exertion."
},
{
"position": 6,
"text": "The approach is generous and honest, and it does no harm.",
"meaning": "At the top the momentum is spent, and a yielding line has nothing further to gain from advancing. What remains possible is giving: it turns back toward the beginners below and supports them. Past the peak an open hand carries further than another push."
}
]
},
"lines": [
7,
9,
8,
8,
8,
8
],
"changingLinePositions": [
2
],
"resultingHexagram": {
"number": 24,
"symbol": "䷗",
"chinese": "復",
"english": "Return (The Turning Point)",
"pinyin": "Fù",
"binary": "100000",
"upperTrigram": "Earth",
"lowerTrigram": "Thunder",
"judgment": "The turn has already happened at the bottom, where nothing shows yet, and coming and going meet no obstruction, so allies arrive and nothing goes wrong. Let the cycle return on its own schedule, and have somewhere to go when it does.",
"image": "Thunder is buried inside the earth, the year turning at its coldest point. Close the passes and stay still, because an impulse this new is protected by rest rather than by activity.",
"interpretation": {
"general": "After a period of darkness or decline, the first signs of renewal appear. Like the winter solstice when light begins to return, the turning point has arrived. Allow this natural return of energy to unfold at its own pace. Rest, recover, and let growth resume gradually.",
"love": "A fresh start is possible in love. Return to the authentic feelings that first drew you together. After a period of separation or coldness, warmth can return.",
"career": "Energy returns after a period of decline. New beginnings are favored. This is a turning point where momentum shifts in a positive direction.",
"decision": "After a period of withdrawal, the time to act returns. Begin again with fresh energy. Small steps now lead to great progress later.",
"advice": "After the darkest point, the light returns. Rest during the solstice and let vitality restore itself. The returning energy should not be spent hastily."
},
"changingLines": [
{
"position": 1,
"text": "The return is made after only a few steps, before anything needed repenting.",
"meaning": "The first line is the single strong line and the turning point of the whole hexagram, but it is still hidden at the bottom. You caught the deviation early, which is the only time catching it is free. Go back now, without ceremony and without constructing a story about it."
},
{
"position": 2,
"text": "The return is made willingly, and it is a fine thing to watch.",
"meaning": "Line two is inner, central, and yielding, close enough to the returning line below to be carried by it. Turning back is easier beside someone already doing it, so let that pull work on you. There is no loss of standing in following a correction that is right."
},
{
"position": 3,
"text": "The return is made over and over, which is dangerous but not wrong.",
"meaning": "Line three is the exposed threshold, and a yielding line there is unstable, so it leaves the path, comes back, and leaves again. This is exhausting and it looks unserious, but the returning is the part that counts. Keep coming back, and stop pretending the wandering was deliberate."
},
{
"position": 4,
"text": "You walk in the middle of the crowd and turn back alone.",
"meaning": "The fourth line is surrounded by yielding lines all going the other way, and it alone holds a link to the strong line at the bottom. Nobody around you will validate the turn, and waiting for their approval means never making it. Return alone, and do not explain yourself."
},
{
"position": 5,
"text": "The return is made honestly, and there is nothing to regret.",
"meaning": "The fifth place rules, and a yielding line here has no strength to hide behind, only candor. The right use of authority in a reversal is to own the error plainly, with no theatre and no excuse. Done that way it costs nothing and settles everything."
},
{
"position": 6,
"text": "The moment for returning is missed entirely, and the armies march out to a defeat that lasts ten years.",
"meaning": "The top line is past the peak of the cycle and still refusing to turn. A yielding line here has no strength to justify the persistence, so persistence becomes disaster and takes everyone else down with it. Refusing to reverse after the season has already reversed is the most expensive mistake in this hexagram."
}
]
}
}Structured JSON with documented fields. Not hallucinated text. See all endpoints
Render I-Ching Oracle API responses without building charts yourself. Install the npm package and drop these into Next.js, React, Vue, Svelte, Angular, or plain HTML, or embed the very same component on Squarespace, Wix, or WordPress by pasting one snippet, with no backend and no build step. They belong to one library that covers the entire spiritual stack rather than astrology alone, MIT licensed and included in every plan at no extra cost, never a separate product and never an upsell. The I-Ching Oracle API calculations, the interface that renders them, and the Remote MCP your agent calls, all behind one key, end to end.
| Element | Renders |
|---|---|
| <roxy-hexagram> | Hexagram figure with trigrams, judgment, image, and a reading per line (statement plus meaning); a cast highlights the moving lines and the resulting hexagram |
| <roxy-reference-card> | Symbol, name, description, keyword chips, and an attribute grid for any glossary lookup |
Clone. Edit. Ship. Free and open source by Team Roxy.

AI chatbot with real readings across all domains. Not hallucinations.

Talk to the stars. Real readings across every domain, spoken aloud.
Browse all templates or use AI prompts to generate a custom app.
The products teams ship on the I-Ching Oracle API.
Every one is live in the public OpenAPI spec and callable as an MCP tool. Click any endpoint to view detailed documentation, parameters, and response examples.
The receipts are public: the testing methodology, the open MIT benchmark, the transparency report, and the live API playground. Let ChatGPT, Perplexity, or Claude search the web and tell you what they find about RoxyAPI accuracy, MCP, SDKs, and pricing.
Opens a live web search in a new tab.
Your agent uses calculated charts and readings in its replies, with your model and your own voice. Planetary positions are verified against NASA JPL Horizons. No local setup, no AGPL, no hosted-AI markup.
Audit it yourself: every I-Ching endpoint runs live in the API playground
The I Ching API casts a reading with the traditional three-coin method in a single call and returns the primary hexagram, its full interpretation, the six lines read bottom to top, and any changing lines. You can pass an optional seed so a casting can be reproduced exactly, which is ideal for shareable or saved readings. One RoxyAPI key covers I Ching and every other RoxyAPI domain, activation is instant, and the same casting is available to AI agents as a tool on our Remote MCP server with no local setup or Docker.
Yes. Every cast reports which lines are moving and, when one or more change, returns the resulting hexagram the reading transforms into, with its own judgment, image, and interpretation. Each of the six lines carries both its oracle statement and a written meaning, so you can explain exactly what a moving line is asking for rather than handing a user a line of archaic verse and leaving them to guess. That is the depth that turns a simple draw into a real I Ching reading, and it is why an LLM reading our payload does not have to make the interpretation up.
Yes. The full 64-hexagram catalog ships in the traditional King Wen sequence, each with its Chinese name, pinyin with tone marks, Unicode symbol, upper and lower trigram, judgment, image, and layered interpretations for general guidance, love, career, and decisions. You can browse the whole catalog or fetch a single hexagram by its number. The readings are our own editorial content, written from the mechanics of the hexagram and checked against the tradition, so you can build a complete reference without sourcing and licensing the text yourself.
Yes. The I Ching API resolves any six-line yin and yang pattern to its matching hexagram, so interfaces where users enter their own lines work out of the box. You also get all eight trigrams, the bagua building blocks such as Heaven, Earth, Fire, and Water, and every hexagram names its upper and lower trigram. Pair them to explain how two trigrams combine into a single meaning.
The I Ching API offers a daily hexagram and a full daily cast, both stable for the day so a given user sees the same result all day. That is exactly what oracle of the day, mindfulness, and contemplation features need, and it powers AI wisdom chatbots that reflect on one hexagram each morning. Drop it in with our typed SDKs for TypeScript, Python, PHP, C#, and Go, the WordPress plugin, or ready-made UI components.
Pricing is flat and predictable: one subscription unlocks I Ching plus astrology, tarot, numerology, dreams, and the rest of the catalogue, with no per-domain or per-call fees. Activation is instant, so you can start casting hexagrams as soon as you sign up. AI agents connect to our Remote MCP server with no local setup, and an AGENTS.md file plus llms.txt mean coding assistants can wire up the I Ching API for you.
An I Ching reading that interprets every changing line, not just the hexagram it lands on.
All 18 domains included with every plan. Every endpoint, MCP server, SDK, and templates.
Plans from $39/mo, starting at $1.80 per domain on annual billing. No credit card required for testing.
View Pricing & Get API KeyHi, I am Rosie, your guide to the RoxyAPI insight tools.
Ask me to read your birth chart, pull a card, or map your numbers, and I will interpret what it means for you. Unlike most AIs, I never make the numbers up: every reading runs on real, verified calculations. Curious about the API, pricing, or docs instead? Ask me that too.