Bhagavad Gita API

A free, read-only JSON API of the Bhagavad Gita in English (en) and Nepali (ne). Every verse has a short version (the plain meaning) and an explained version (context, key terms and the lesson). Every URL also works with .json on the end.

Available now

Examples

/api/v1 · .jsonAPI info
/api/v1/version · .jsonContent hash and counts: poll this, not the data
/api/v1/en · .jsonChapters (en)
/api/v1/en/all · .jsonEverything in one file (en)
/api/v1/en/2 · .jsonChapter 2 with its verses (en)
/api/v1/en/2/47 · .jsonVerse 2.47, short (en)
/api/v1/en/2/47/explained · .jsonVerse 2.47, explained (en)
/api/v1/ne · .jsonChapters (ne)
/api/v1/ne/all · .jsonEverything in one file (ne)
/api/v1/ne/2 · .jsonChapter 2 with its verses (ne)
/api/v1/ne/2/47 · .jsonVerse 2.47, short (ne)
/api/v1/ne/2/47/explained · .jsonVerse 2.47, explained (ne)

English and Nepali texts: CC BY 4.0. Sanskrit: public domain. Code: MIT. Source: github.com/rojinc/BhagavadGita.

Endpoints: /api/v1, /api/v1/version, /api/v1/{lang}, /api/v1/{lang}/all, /api/v1/{lang}/{chapter}, /api/v1/{lang}/{chapter}/{verse}, /api/v1/{lang}/{chapter}/{verse}/explained. A link to something not written yet is null.