rest

Search the Masnavi

Full-text search across all 25,635 beyts of Rumi's Masnavi-ye Maʿnavi. Returns ranked results with canonical citations. Use this to find passages on a theme, word, or phrase.

get/api/search

Request

  • Base URL: https://masnavi.ai
  • URL: https://masnavi.ai/api/search
  • Auth: none declared

Query parameters

qstring required

Persian text to search for. Diacritic-insensitive.

Example:عشق
daftarinteger nullable

Restrict to a single daftar (1-6).

limitinteger

Max results to return.

offsetinteger

Pagination offset.

Response

Successful Response

querystring required
totalinteger required
matchstring

Changes

No recorded changes to this operation across all 1 revision of this API.