rest

Look up a specific beyt by citation

Fetch a beyt by its canonical citation (e.g. 'M3:1278' = Daftar 3 beyt 1278), or by daftar+beyt_in_daftar, or by global index. Optionally include surrounding beyts for context.

get/api/lookup

Request

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

Query parameters

citationstring nullable

Citation, e.g. 'M3:1278' or 'g:7421'.

Example:M1:1
daftarinteger nullable

Daftar number 1-6 (use with beyt_in_daftar).

beyt_in_daftarinteger nullable

1-based beyt index within the daftar.

beyt_globalinteger nullable

Global beyt index 1..25635.

beforeinteger

Beyts of context before.

afterinteger

Beyts of context after.

Response

Successful Response

Changes

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