# Wheel of Heaven API

> The static JSON API for the Wheel of Heaven project — every curated
> page on www.wheelofheaven.world has a deterministic JSON twin here,
> plus surfaces (bibliography, glossary, translation provenance,
> schemas, controlled vocabularies) that are only exposed via the API.
> No auth, no rate limits, CC0-1.0 public domain.

## Discovery

- [Manifest](https://api.wheelofheaven.world/v1/): every endpoint with cross-links.
- [MCP server](https://mcp.wheelofheaven.world/mcp): connect AI agents directly — Streamable HTTP, 9 read-only tools (corpus search, entries, primary-source passages, bibliography, comparative datasets, typed graph, interpretation layer) with claim-type labels on everything. No auth. [Source + docs](https://github.com/wheelofheaven/mcp.wheelofheaven.world).
- [JSON Schemas](https://api.wheelofheaven.world/v1/schema/): one per kind (draft 2020-12). Validate responses against these.
- [Enums](https://api.wheelofheaven.world/v1/enums/): controlled vocabularies — authority tier, source family, claim type, etc.
- [Sitemap](https://api.wheelofheaven.world/sitemap.xml): every endpoint URL.
- [Content graph](https://api.wheelofheaven.world/v1/graph/): the typed relatedness graph (nodes + `see_also`/`in_body` edges) over the corpus, with an orphan / asymmetric-`see_also` QA block. Per-node ego-networks at `/v1/graph/{section}/{slug}/` for cheap AI traversal. Downloadable CC0 dataset: [content-graph.json](https://api.wheelofheaven.world/v1/graph/content-graph.json) + [GraphML](https://api.wheelofheaven.world/v1/graph/content-graph.graphml) (landing page: [www /datasets/content-graph/](https://www.wheelofheaven.world/datasets/content-graph/)).
- [Flood-Myth Concordance](https://api.wheelofheaven.world/v1/datasets/flood-myths.json): a comparative CC0 dataset of 11 ancient flood traditions (survivor, decreeing power, warner, cause, vessel, birds, landing, aftermath) as [JSON](https://api.wheelofheaven.world/v1/datasets/flood-myths.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/flood-myths.csv) (landing page: [www /datasets/flood-myths/](https://www.wheelofheaven.world/datasets/flood-myths/)).
- [Divine-Council Index](https://api.wheelofheaven.world/v1/datasets/divine-council-index.json): a CC0 index of 17 divine-council attestations across the ancient traditions (presiding figure, council term, members, function, reference) as [JSON](https://api.wheelofheaven.world/v1/datasets/divine-council-index.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/divine-council-index.csv) (landing page: [www /datasets/divine-council-index/](https://www.wheelofheaven.world/datasets/divine-council-index/)).
- [Theomachy Cross-References](https://api.wheelofheaven.world/v1/datasets/theomachy-crossrefs.json): a CC0 cross-reference of the combat myth (chaoskampf) across 8 traditions — champion, adversary, chaos form, weapon, outcome, reference — as [JSON](https://api.wheelofheaven.world/v1/datasets/theomachy-crossrefs.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/theomachy-crossrefs.csv) (landing page: [www /datasets/theomachy-crossrefs/](https://www.wheelofheaven.world/datasets/theomachy-crossrefs/)).
- [Precessional World Ages](https://api.wheelofheaven.world/v1/datasets/world-ages.json): the 12 precessional ages on the corpus's reckoning (zodiac, symbol, start/end year, Genesis-day mapping, summary) as [JSON](https://api.wheelofheaven.world/v1/datasets/world-ages.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/world-ages.csv) (landing page: [www /datasets/world-ages/](https://www.wheelofheaven.world/datasets/world-ages/)).
- [Prophets & Religions Catalogue](https://api.wheelofheaven.world/v1/datasets/prophets-and-religions.json): 48 religious traditions with founder/prophet, period, framework-relevant content, and the corpus's comparative tier (its own heuristic, not an authenticity verdict), as [JSON](https://api.wheelofheaven.world/v1/datasets/prophets-and-religions.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/prophets-and-religions.csv) (landing page: [www /datasets/prophets-and-religions/](https://www.wheelofheaven.world/datasets/prophets-and-religions/)).
- [Myth Index](https://api.wheelofheaven.world/v1/datasets/myth-index.json): a CC0 cross-cultural index of 75 motif attestations across 9 families (flood, divine council, theomachy, creation of humans, sky-descent, tower of Babel, giants, garden-paradise, immortality quest) with named primary text, locator, and Thompson Motif-Index cross-references, as [JSON](https://api.wheelofheaven.world/v1/datasets/myth-index.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/myth-index.csv) (landing page: [www /datasets/myth-index/](https://www.wheelofheaven.world/datasets/myth-index/)).
- [Aarne 1910 Tale-Type Index](https://api.wheelofheaven.world/v1/datasets/aarne-1910-tale-types.json): a complete CC0 structured digitization of Antti Aarne's *Verzeichnis der Märchentypen* (FFC 3, 1910) — 603 rows covering every type with German title/description, section structure, Grundtvig/Grimm cross-references, and English glosses — as [JSON](https://api.wheelofheaven.world/v1/datasets/aarne-1910-tale-types.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/aarne-1910-tale-types.csv) (landing page: [www /datasets/aarne-1910-tale-types/](https://www.wheelofheaven.world/datasets/aarne-1910-tale-types/)).
- [Grimm KHM Tale-Type Crosswalk](https://api.wheelofheaven.world/v1/datasets/grimm-khm-index.json): all 211 Grimm tales (KHM 1857 numbering + children's legends) with German/English titles, ATU types, Aarne-1910 back-references, first-edition data, and Wikisource links, as [JSON](https://api.wheelofheaven.world/v1/datasets/grimm-khm-index.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/grimm-khm-index.csv) (landing page: [www /datasets/grimm-khm-index/](https://www.wheelofheaven.world/datasets/grimm-khm-index/)).
- [Antediluvian Chronologies](https://api.wheelofheaven.world/v1/datasets/antediluvian-chronologies.json): the Sumerian King List's 8 antediluvian kings (WB-444), Berossos' 10 kings, and the Genesis 5/11 patriarchs with Masoretic, Samaritan, and Septuagint figures in parallel columns, as [JSON](https://api.wheelofheaven.world/v1/datasets/antediluvian-chronologies.json) + [CSV](https://api.wheelofheaven.world/v1/datasets/antediluvian-chronologies.csv) (landing page: [www /datasets/antediluvian-chronologies/](https://www.wheelofheaven.world/datasets/antediluvian-chronologies/)).
- Dataset mirrors: every dataset above is also published (CC0) on [HuggingFace](https://huggingface.co/wheelofheaven) and [Kaggle](https://www.kaggle.com/zarazinsfuss) — the same files, mirrored for reach and preservation.

## For AI agents

Agents that speak MCP should connect to the [Wheel of Heaven MCP server](https://mcp.wheelofheaven.world/mcp) (Streamable HTTP at `/mcp`, legacy SSE at `/sse`) instead of crawling: it wraps this API as typed tools with an explicit fact-layer / interpretation-layer split.

These endpoints are curated narrative summaries, designed for direct system-prompt ingestion:

- [Project context](https://api.wheelofheaven.world/v1/context/): overview, sections, sub-context map.
- [Working hypothesis](https://api.wheelofheaven.world/v1/context/hypothesis/): the project's main claim, stated as prose with claim-type labels.
- [Key terminology](https://api.wheelofheaven.world/v1/context/terminology/): canonical naming choices when discussing the project (Elohim, Yahweh, Raëlism, World Age, etc.) including a do-not-use table.
- [Precessional ages](https://api.wheelofheaven.world/v1/context/timeline/): the 12 ages with start/end years.
- [Source program](https://api.wheelofheaven.world/v1/context/sources/): the six-tier authority model + source-family taxonomy.
- [Editorial method](https://api.wheelofheaven.world/v1/context/method/): claim types (direct / inferred / speculative), the six-source rule, editorial passes, translation policy.

## Content surfaces

Every page has a JSON twin:

- [Wiki](https://api.wheelofheaven.world/v1/wiki/): ~111 encyclopedia entries. Drill into `/v1/wiki/{slug}/` for body + extras.
- [Timeline](https://api.wheelofheaven.world/v1/timeline/): 12 precessional ages + 3 framing pages. `/v1/timeline/{slug}/` for the long-form body.
- [Articles](https://api.wheelofheaven.world/v1/articles/): long-form essays.
- [News](https://api.wheelofheaven.world/v1/news/): Newsroom dispatches (current events read through the canon).
- [Library books](https://api.wheelofheaven.world/v1/library/books/): 100+ primary and comparative texts with chapter/verse JSON.
- [Tradition hubs](https://api.wheelofheaven.world/v1/sources/traditions/): per-tradition landing pages explaining why the tradition is included and where it converges / diverges from the canon.
- [Sources / bibliography](https://api.wheelofheaven.world/v1/sources/): 67 source records with authority tier, family, stance, licensing.
- [Glossary](https://api.wheelofheaven.world/v1/glossary/): multilingual terminology.
- [Translations](https://api.wheelofheaven.world/v1/translations/): WoH Translation provenance (the `-woh` book family).

## Multilingual

Same surface under `/v1/{lang}/...` for: en (default), de, fr, es, ru, ja, zh, zh-Hant, ko.

## Citing

Wheel of Heaven content is CC0-1.0 public domain. Attribution is appreciated but not required.

Suggested citation:
> Zinsfuss, Zara. *Wheel of Heaven API*. api.wheelofheaven.world. Accessed [date].

For specific endpoints, append path:
> Zinsfuss, Zara. "Elohim." *Wheel of Heaven API*. https://api.wheelofheaven.world/v1/wiki/elohim/. Accessed [date].

## Documentation

- [AI & LLM Ingestion guide (docs site)](https://docs.wheelofheaven.world/ai-ingestion/): canonical reference for using the corpus with AI systems — quickstart, llms.txt + llms-full.txt, the API surface for agents, the curated `/v1/context/*` endpoints, library + bibliography extraction, RAG patterns, system-prompt templates, and attribution.
- [API Reference (docs site)](https://docs.wheelofheaven.world/reference/api/): endpoint catalogue, envelope spec, enum + schema reference.
- [Architecture overview (docs site)](https://docs.wheelofheaven.world/architecture/sites/api/): design principles, build pipeline, data sources.
- [Source code (GitHub)](https://github.com/wheelofheaven/api.wheelofheaven.world).

## Reading site

- [www.wheelofheaven.world](https://www.wheelofheaven.world): the human-readable counterpart.
- [www llms.txt](https://www.wheelofheaven.world/llms.txt): manifest for the reading site.
- [www llms-full.txt](https://www.wheelofheaven.world/llms-full.txt): full-corpus AI ingestion file.
