rest

Search the Divan-e Shams ghazals (full-text)

Full-text search across the 34,603 beyts of the ghazals of Rumi's Divan-e Shams (Divan-e Kabir). Returns beyts with divan citations (G{ghazal}:{beyt}); each links to its whole ghazal at /divan/{ghazal}. Complements /api/search (the Masnavi).

get/api/divan/search

Request

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

Query parameters

qstring required

Persian text to search for.

Example:مرده بدم زنده شدم
limitinteger
offsetinteger

Response

Successful Response

querystring required
totalinteger required
matchstring

Changes

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