Discover/Vedabase API
live

Vedabase APIvedabase.io

Access Bhagavad-gita, Srimad-Bhagavatam, and Caitanya-caritamrta verses, purports, transcripts, and letters via the Vedabase.io API.

Endpoint health
verified 4d ago
get_bhagavad_gita_verse
get_verse
get_library
get_chapter
get_caitanya_caritamrta_verse
14/14 passing latest checkself-healing
Endpoints
14
Updated
26d ago

What is the Vedabase API?

The Vedabase.io API gives programmatic access to the full Vedabase library across 14 endpoints, covering Sanskrit verses in Devanagari and IAST transliteration, word-for-word synonym indexes, English translations, and Prabhupada's purports. The get_verse endpoint returns six structured fields per verse — devanagari, verse_text, synonyms, translation, purport, and title — for the three major canonical texts. Separate endpoints cover transcripts and letters with pagination and filtering.

Try it

No input parameters required.

api.parse.bot/scraper/e83a450a-a65b-4a73-98d1-e853df9bb882/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e83a450a-a65b-4a73-98d1-e853df9bb882/get_library' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace vedabase-io-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Vedabase SDK — browse scripture, search, drill into verses."""
from parse_apis.vedabase_api import Vedabase, MatchType, LilaSlug, VerseNotFound

client = Vedabase()

# List available books in the library.
for book in client.books.list(limit=5):
    print(book.title, book.slug)

# Construct a book by slug and browse its table of contents.
bg = client.book("bg")
toc = bg.contents()
print(toc.book, len(toc.chapters) if toc.chapters else 0)

# Get verses in chapter 1 of Bhagavad-gita.
for verse in bg.chapters(chapter_slug="1", limit=3):
    print(verse.title, verse.slug)

# Fetch full verse detail via the convenience shortcut.
detail = client.books.gita_verse(chapter_slug="1", verse_slug="1")
print(detail.title, detail.translation[:80])

# Search the verse index by transliterated text with a match type enum.
for hit in client.verseindexresults.search(text="yoga", match_type=MatchType.CONTAINS, limit=3):
    print(hit.reference, hit.verse_snippet[:60])

# Typed error handling: catch VerseNotFound for a non-existent verse.
try:
    client.book("bg").verse(chapter_slug="99", verse_slug="999")
except VerseNotFound as exc:
    print(f"verse not found: {exc}")

print("exercised: books.list / book.contents / book.chapters / books.gita_verse / verseindexresults.search")
All endpoints · 14 totalmissing one? ·

Returns the full list of books available in the Vedabase library. Each book includes a title, slug identifier, and URL. Use the slug to drill into a book's table of contents via get_book.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "books": "array of book objects with title, slug, and url"
  },
  "sample": {
    "data": {
      "books": [
        {
          "url": "https://vedabase.io/en/library/bg/",
          "slug": "bg",
          "title": "Bhagavad-gītā As It Is"
        },
        {
          "url": "https://vedabase.io/en/library/sb/",
          "slug": "sb",
          "title": "Śrīmad-Bhāgavatam"
        },
        {
          "url": "https://vedabase.io/en/library/cc/",
          "slug": "cc",
          "title": "Śrī Caitanya-caritāmṛta"
        }
      ]
    },
    "status": "success"
  }
}

About the Vedabase API

Verse and Book Navigation

The API is structured around three navigational tiers. get_library returns all available books as slugs and URLs. get_book takes a book_slug (bg, sb, or cc) and returns the table of contents — chapters for Bhagavad-gita, cantos for Srimad-Bhagavatam, or lilas for Caitanya-caritamrta. get_chapter then lists all verses in a given chapter, accepting canto_slug for SB and lila_slug (adi, madhya, antya) for CC.

Verse Content

get_verse is the core endpoint. It returns the devanagari script text, verse_text in IAST transliteration, a synonyms string with word-for-word meanings, an English translation, and purport as an array of paragraph strings. Dedicated shorthand endpoints — get_bhagavad_gita_verse, get_srimad_bhagavatam_verse, and get_caitanya_caritamrta_verse — accept the same fields but omit the book_slug parameter, reducing the number of required inputs for single-text applications.

Search and Indexes

search runs full-text queries across the entire library with optional filters for type (Book, Transcript, Letter) and text_type (Text, Purport), returning paginated results with title, url, and snippet. search_synonyms queries the Word-for-Word Index by Sanskrit word or English translation, returning word, definition, and reference per result. search_verse_index matches IAST transliterated text with match_type options of contains, exact-word, or starts.

Transcripts and Letters

get_transcripts returns paginated listings of Prabhupada's lectures filterable by type, year, and location. get_transcript fetches the full text of a single talk as an array of paragraph strings. get_letters similarly lists letters filterable by year, location, and recipient, with get_letter retrieving full letter content by slug.

Reliability & maintenanceVerified

The Vedabase API is a managed, monitored endpoint for vedabase.io — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when vedabase.io changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official vedabase.io API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
14/14 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Bhagavad-gita study app that displays Devanagari, transliteration, and purport side by side using get_bhagavad_gita_verse
  • Create a Sanskrit vocabulary tool by querying the Word-for-Word Index via search_synonyms with Sanskrit or English terms
  • Generate a daily verse digest by iterating chapters and verses from get_book and get_verse
  • Index all of Prabhupada's letters by recipient and year using get_letters filters for archival or research purposes
  • Build a full-text search interface over the entire Vedabase corpus using the search endpoint with type and text_type filters
  • Locate verses from partial IAST transliterated text using search_verse_index with starts or contains match types
  • Compile transcripts of lectures from a specific city and year using get_transcripts location and year filters
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Vedabase.io have an official developer API?+
Vedabase.io does not publish an official public developer API. This Parse API provides structured programmatic access to the library content.
What does `get_verse` return, and how does it differ from the book-specific shorthand endpoints?+
get_verse returns six fields: devanagari, verse_text (IAST), synonyms, translation, purport (array of paragraphs), and title. It requires book_slug plus either canto_slug (for SB) or lila_slug (for CC). The shorthand endpoints — get_bhagavad_gita_verse, get_srimad_bhagavatam_verse, and get_caitanya_caritamrta_verse — return identical fields but omit book_slug since it is implied.
Does the API cover books other than Bhagavad-gita, Srimad-Bhagavatam, and Caitanya-caritamrta?+
The get_library endpoint lists all books available in the Vedabase library, and get_book accepts any valid slug from that list. The dedicated verse endpoints and their slug parameters are documented for BG, SB, and CC specifically. If the library contains additional titles, you can fork this API on Parse and revise it to add explicit verse endpoints for those books.
Can I filter transcripts by topic or scripture reference?+
get_transcripts supports filtering by type (e.g., Conversation, Walk), year, and location. Filtering by topic keyword or scripture reference is not currently exposed as a parameter. You can fork this API on Parse and revise it to add topic-based filtering if the source supports it.
How does pagination work across endpoints that return lists?+
The search, search_synonyms, search_verse_index, get_transcripts, and get_letters endpoints all accept an integer page parameter. Responses echo back the current page value alongside the results array. There is no total_pages or total_results field in the current response shape, so iterating requires checking whether a page returns an empty results array.
Page content last updated . Spec covers 14 endpoints from vedabase.io.
Related APIs in EducationSee all →
voanews.com API
Access VOA Learning English lessons, programs, and vocabulary across all proficiency levels, search for specific content, and retrieve detailed lesson information with transcripts. Browse featured homepage content and explore lessons by category to find the perfect English learning materials for your level.
biblehub.com API
Search Hebrew and Greek biblical lexicon data, explore word morphology and definitions, and analyze interlinear verse translations to deepen your understanding of biblical text. Look up Strong's numbers and linguistic details across both original language systems in one place.
boslive.icai.org API
Access the ICAI Board of Studies Knowledge Portal, including announcements, examination updates, Live Virtual Class (LVC) and Live Virtual Revisionary Class (LVRC) schedules, and study materials. Browse available courses, languages, and papers, and retrieve direct PDF links for any portal page.
shamela.ws API
Search and browse one of the largest collections of Arabic and Islamic books, exploring thousands of titles by category, author, or full-text content. Access detailed book information, read specific pages, and discover newly added works to build your digital Islamic library.
theodinproject.com API
Access The Odin Project's complete curriculum structure including paths, courses, lessons, resources, and projects, plus search lessons and view detailed changelogs. Browse course outlines, find specific lessons and their learning materials all in one place.
booksrun.com API
Search millions of books and get instant buyback quotes on BooksRun. Browse bestsellers and categories, view detailed book information, and check condition guidelines to understand buyback prices and acceptance criteria.
alibris.com API
Search for books and retrieve seller listings from Alibris. Access detailed book information including title, author, condition, pricing, and seller data across the platform.
openstax.org API
Access learning outcomes, table of contents, and metadata from 60+ free OpenStax textbooks spanning Business, Science, Math, Social Sciences, Humanities, Computer Science, and Nursing. Search and retrieve structured content from any of these textbooks.