30 corpora · Live in production

The canonical text API

Semantic search and AI-powered Q&A over pre-indexed scripture, philosophy, and classical literature. Quran, Bible, Plato, Confucius, and 26 more — no ingestion pipeline, no fine-tuning. One API call.

import requests

r = requests.post(
    "https://api.sourcetruth.io/v1/answer",
    headers={"X-API-Key": "st_..."},
    json={
        "question": "What does the Quran
                   say about patience?",
        "corpus_codes": ["quran",
                           "sahih-bukhari"],
    },
)
print(r.json()["answer"])
# → Grounded answer with Quran citations
const res = await fetch(
  "https://api.sourcetruth.io/v1/answer",
  {
    method: "POST",
    headers: {
      "X-API-Key": "st_...",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      question: "What does the Quran
                say about patience?",
      corpus_codes: ["quran", "sahih-bukhari"],
    }),
  }
);
const { answer } = await res.json();
curl -X POST \
  https://api.sourcetruth.io/v1/answer \
  -H "X-API-Key: st_..." \
  -H "Content-Type: application/json" \
  -d '{
    "question": "What does the Quran
                 say about patience?",
    "corpus_codes": ["quran",
                     "sahih-bukhari"]
  }'
30
Indexed corpora
13
Traditions covered
87k+
Searchable chunks
<100ms
Median search latency
$0
To start

Everything your app needs.
Nothing you don't.

We did the hard part — sourcing, cleaning, chunking, and embedding 30 canonical corpora so you don't have to.

🔍

Hybrid semantic search

Vector + full-text search with reciprocal rank fusion. Returns ranked passages with tradition, language, and citation metadata. Free on all tiers.

💬

Grounded Q&A

Retrieval-augmented generation via Claude. Every factual claim is tied to a specific retrieved passage — no hallucinated scripture references, ever.

📚

30 pre-indexed corpora

Islam, Buddhism, Christianity, Judaism, Hinduism, Sikhism, and more. Arabic Quran, Sanskrit epics, classical Greek philosophy — ready now.

⚡

No ingestion pipeline

Skip the ETL, chunking, embedding, and vector DB setup. One API key and you're querying 87,000+ chunks across 13 traditions in under a minute.

🌐

Multilingual

Query in English and retrieve Arabic Quran text, Classical Chinese, Tibetan, Punjabi/Gurmukhi, and Sanskrit. Cross-lingual retrieval built in.

🔑

Self-serve keys

Issue a free API key in one POST call — no credit card, no dashboard signup. Upgrade to paid tiers in-app via Stripe when you need more volume.

30 corpora across 13 traditions

Every corpus is sourced from authoritative open-access editions and verified for commercial use. Pass corpus_codes to scope any query.

☪️
Islamic Texts
Arabic · English · 5 corpora
quran sahih-bukhari sahih-muslim sunan-abu-dawood rumi-masnavi
✝️
Christian Texts
English · 5 corpora
kjv bible-web bible-asv bible-ylt christian-theology
🕉️
Hindu Scriptures
English · Sanskrit · 6 corpora
bhagavad-gita upanishads mahabharata rigveda yoga-sutras sanskrit-classical
✡️
Jewish Texts
English · 2 corpora
tanakh-jps1917 mishnah-silverstein
🔱
Tibetan Buddhist
English · Tibetan · 3 corpora
tibetan-buddhist 84000 bdrc
🏛️
Greek & Latin Classics
English · 2 corpora
greek-philosophy classical-latin
🪯
Sikh Scriptures
Punjabi · Gurmukhi · 1 corpus
sggs
☯️
Classical Chinese
English · Mahayana · 2 corpora
classical-chinese cbeta
📖
Western Philosophy
English · 2 corpora
political-philosophy western-philosophy
🔥
Zoroastrian Texts
English · 1 corpus
avesta
📜
Sanskrit (GRETIL)
Sanskrit · 1 corpus · opt-in only
gretil

Full corpus list with licence details at GET /v1/corpora

Live in three steps

No infrastructure to provision. No data to prepare. Works with any HTTP client.

1

Get a free API key

One POST /v1/keys call with your name and email. No credit card. Your key arrives in the response — prefix st_.

2

POST your query

Call /v1/search with a natural language query. Optionally scope to a tradition, language, or specific corpus code. Results in under 100ms.

3

Receive ranked passages

Every result includes the passage text, canonical citation (e.g. 2:255, SN 56.11), tradition, language, and relevance score.

Simple, usage-based pricing

Start free. Scale when you need to. Upgrade or cancel in one API call.

Free
$0
No credit card required
  • 100 /search requests/day
  • All 30 corpora accessible
  • Self-issue key via API
  • /answer endpoint
  • Priority support
Get free key
Professional
$149/mo
For production applications
  • 10,000 /search requests/day
  • 300 /answer requests/day
  • All 30 corpora accessible
  • Grounded Q&A with citations
  • Priority support
Go Professional
Open licensing, commercially usable. All corpora are public domain, CC0, or CC BY — no viral or non-commercial restrictions except CBETA (CC BY-NC) and 84000 (CC BY-NC). The Quran corpus (Tanzil, CC BY 3.0) requires attribution. Full licence details at GET /v1/corpora.