Skip to content
Get API key

Library · Books

Yoga Sutras of Patanjali

The Yoga Sutras set out classical yoga in 196 short aphorisms across four padas: concentration, practice including the eight limbs, the powers that arise, and liberation. The second sutra defines yoga as the stilling of the mind's activity.

Padas
4
Verses
196
Book id
yogaSutra
Collection
yoga

Traditionally attributed to Patanjali · Yoga Sūtra, Yogasutra, Pātañjala Yoga Sūtra

4 padas, 196 verses

PadaNameVerses
Pada 1Samadhi Pada51
Pada 2Sadhana Pada55
Pada 3Vibhuti Pada56
Pada 4Kaivalya Pada34

Every Pada page shows the Sanskrit in Devanagari, its transliteration and an English rendering, verse by verse.

Sanskrit and transliteration from the source text. English rendering by Mantrilo. The API returns its catalog edition of the Sanskrit and transliteration, so spelling and line breaks can differ from this page.

All books in the Library

Load this book with the API

The book record lists every chapter with its number and verse count. Use the id yogaSutra.

GET /v1/books/yogaSutra
curl "$MANTRILO_API_URL/v1/books/yogaSutra" \
  -H "Authorization: Bearer $MANTRILO_API_KEY"
Illustrative response200 OK
{
  "data": {
    "id": "yogaSutra",
    "title": "…",
    "collection": {
      "id": "yoga",
      "name": "…"
    },
    "description": "…",
    "chapters": [
      {
        "number": 1,
        "title": "…",
        "description": null,
        "verseCount": 51
      },
      {
        "number": 2,
        "title": "…",
        "description": null,
        "verseCount": 55
      },
      {
        "number": 3,
        "title": "…",
        "description": null,
        "verseCount": 56
      }
    ],
    "preview": false
  },
  "requestId": "request-id"
}

A chapter request returns up to 30 verses. Pass nextOffset back as offset to read the rest.

GET /v1/books/yogaSutra/chapters/1
curl "$MANTRILO_API_URL/v1/books/yogaSutra/chapters/1" \
  -H "Authorization: Bearer $MANTRILO_API_KEY"

Each verse has sanskrit and transliteration. translation is null: the English on this page is Mantrilo’s own rendering and is not part of the API response.

Book endpoint · Chapter endpoint · Integration guide

Sandbox keys return sample books only; a live key reads the full Yoga Sutras of Patanjali.