SourceTruth
SourceTruth provides pre-indexed canonical text corpora as a developer API. Query sacred scripture, classical philosophy, and literary texts with semantic search and AI-generated answers —no ingestion pipeline required. **Endpoints** - `/v1/search` —semantic retrieval only. Returns top-k chunks with source citations and relevance scores. No LLM call. ~90% margin, fast response. - `/v1/answer`…
SourceTruth endpoints
| Method | Endpoint | Description |
|---|---|---|
| Search | ||
| POST |
search /v1/search |
Hybrid semantic + keyword search across indexed corpora. Returns ranked passages with source citations, tradition metadata, and relevance scores. No LLM call — fast and low-cost.… |
| Answer | ||
| POST |
answer /v1/answer |
Retrieval-augmented generation. Retrieves the most relevant passages from the corpus, then generates a grounded answer via Claude with numbered inline citations. **Requires a… |
| Corpus | ||
| GET |
getText /v1/text/{uid} |
Returns the full chunked text of a document by its canonical external ID (e.g. `sn56.11`, `mn10`). Use `/v1/search` to discover IDs. |
| GET |
getEntity /v1/entity/{entity_id} |
Returns metadata and all name variants for a canonical entity (Pali, Sanskrit, Chinese, Tibetan, English). Entity IDs are returned in search results via `resolved_entities`. |
| Keys | ||
| POST |
createKey /v1/keys |
Creates a free-tier API key instantly. No credit card required. Free tier: 100 `/search` requests/day. `/answer` requires a paid plan. Upgrade at https://sourcetruth.io/pricing. |
| GET |
health /health |
|
SourceTruth pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $39 / month | — |
|
| ULTRA | $189 / month | — |
|