Skip to content
Get API key

Scripture, served verse by verse.

The Bhagavad Gita, the Upanishads, the Advaita classics, the sutras and the epics, as JSON your reader lays out. Every book has a stable id and comes back chapter by chapter in Devanagari with transliteration.

  • Gita and Isha Upanishad on every sandbox key
  • Devanagari with transliteration

21books

3,911Sanskrit verses

84epic chapters

6collections

The library

From the Upanishads to the epics.

Grouped by collection. List any shelf with one request and open a book by its id.

GET/v1/books?collection=upanishads&limit=3

उपनिषद्Upanishads

Principal Upanishads, including Isha, Kena, Katha, Mundaka and Mandukya.

?collection=upanishads

अद्वैत वेदान्तAdvaita Vedanta & Prakarana Granthas

Introductory and explanatory works such as Atmabodha and Tattvabodha.

?collection=advaita-vedanta-prakarana-granthas

Inside the response

Read the source, not a summary of it.

Every book comes back as structured verses, so your reader decides the layout. Try the switches on this verse.

  • Devanagari as sourced

    sanskrit keeps the original text and its line breaks.

  • Transliteration on every verse

    transliteration gives readers a way to chant along.

  • Chapters that page

    Up to 30 verses per call. Pass nextOffset back as offset for the rest.

  • Nulls you can design for

    Any verse field can be null, and translation is not distributed, so leave out what is missing.

Isha UpanishadishaUpanishad · verse 1

ईशावास्यमिदं सर्वं यत्किञ्च जगत्यां जगत् । तेन त्यक्तेन भुञ्जीथा मा गृधः कस्य स्विद्धनम् ॥ १ ॥

īśāvāsyamidaṃ sarvaṃ yatkiñca jagatyāṃ jagat | tena tyaktena bhuñjīthā mā gṛdhaḥ kasya sviddhanam || 1 ||

translation: null · your app shows its own translation, or none.

GET /v1/books/ishaUpanishad/chapters/1

How an integration flows

Collection, book, chapter. Three calls.

1List a collection

Titles, authors and verse counts, with a cursor for the next page.

GET /v1/books?collection=upanishads
2Open a book

The book record lists every chapter with its number and verse count.

GET /v1/books/bhagavadGita
3Read a chapter

Up to 30 verses per call, in order, ready for your reader.

GET /v1/books/bhagavadGita/chapters/2
reader.mjs · page through a chapter
let offset = 0;
do {
  const res = await fetch(
    `${process.env.MANTRILO_API_URL}/v1/books/bhagavadGita/chapters/2?offset=${offset}`,
    { headers: { Authorization: `Bearer ${process.env.MANTRILO_API_KEY}` } },
  );
  const { data } = await res.json();
  render(data.verses);
  offset = data.nextOffset;
} while (offset != null);

Start free

Start with the Gita in the sandbox.

The Bhagavad Gita and the Isha Upanishad are open on every sandbox key. A live key reads the full catalog.