What is the Vedika I Ching API?

The Vedika I Ching API casts hexagrams and returns the reading as structured JSON: a cast hexagram, its changing lines, hexagram lookup by number, the trigrams, daily guidance, a reading for a specific question, a compatibility reading and an AI interpretation.

It is part of the Vedika astrology API, so one key and wallet also cover tarot, charts and other divination systems. The cast route accepts an optional seed, so the same seed repeats the same cast.

I Ching API endpoints

EndpointReturns
POST /v2/iching/castCast I Ching Hexagram
POST /v2/iching/changing-linesI Ching Changing Lines
GET /v2/iching/hexagram/{number}Hexagram by Number
GET /v2/iching/trigramsGet Trigrams
GET /v2/iching/dailyDaily I Ching Guidance
POST /v2/iching/questionI Ching Question Reading
POST /v2/iching/interpretationAI I Ching Interpretation
POST /v2/iching/compatibilityI Ching Compatibility

The question and interpretation routes take a question; the cast routes take an optional seed. The API reference lists the exact parameters.

Call it in one request

Send an optional seed for a repeatable cast. Auth is a Bearer API key. The keyless sandbox mirrors the production routes.

curl -X POST https://api.vedika.io/v2/iching/cast \
  -H "Authorization: Bearer vk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"seed":"demo-seed"}'

See the quickstart and the API reference.

Pricing and the 14-day trial

Self-serve plans are Starter $12/month, Professional $60/month, Business $120/month and Enterprise $240/month. Flagship is custom-priced by contract. AI answers are priced per query and vary with the request; each response reports the amount charged. There is no free production tier, and the sandbox is a mock. Accounts that have never paid can start one 14-day Professional trial. Terms are on the pricing page.

Where the I Ching API fits

Use it for I Ching reading apps, daily-guidance features and journaling tools. For tarot see the Tarot API; for other oracle systems the Oracles and Divination API; for embeddable daily feeds the Daily Content API.

Questions

What does the I Ching API return?

It casts hexagrams and returns the primary hexagram, changing lines, hexagram and trigram lookups, daily guidance, a reading for a specific question, a compatibility reading and an AI interpretation, all as structured JSON.

How does casting work?

POST /v2/iching/cast casts a hexagram and POST /v2/iching/changing-lines covers its changing lines. GET /v2/iching/hexagram/{number} looks up any of the 64 hexagrams. An optional seed makes a cast repeatable.

Is there a daily I Ching feed?

Yes. GET /v2/iching/daily returns daily guidance, and the Daily Content API carries a daily I Ching feed at GET /v2/daily/iching.

Can I try the I Ching API before paying?

Yes. A keyless mock sandbox at vedika.io/sandbox mirrors production routes, so you can call it with no API key. There is no free production tier. Accounts that have never paid can start one 14-day Professional trial: you authorise the Professional auto-debit and receive $5 of credit that ends with the trial. Nothing is charged for the plan on day 0, and Professional ($60/month, plus GST in India) is charged on day 14 unless you cancel at least 48 hours before the trial ends.

How much does the I Ching API cost?

Self-serve plans are Starter $12/month, Professional $60/month, Business $120/month and Enterprise $240/month; Flagship is custom-priced by contract. AI answers are priced per query and vary with the request, and every response reports the exact amount charged. Current limits are on vedika.io/pricing.

Astrology API · Tarot API · Oracles and Divination API · Daily Content API · Documentation · API reference · Pricing · Playground