Get an Ang
Page actions
- Open OpenAPI JSON (opens in a new tab)
- Ask ChatGPT (opens in a new tab)
- Ask Claude (opens in a new tab)
ChatGPT and Claude are third-party services. The link gives them this page's public address and a short instruction. This site records nothing.
Preview: the published page may be older or missing.
https://docs.gurbanisoul.com/api/reference/operations/ang_n/
GET
/api/ang/{n}
const url = 'https://example.com/api/ang/1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/ang/1Every verbatim line of one Ang, with its raag, section, authors and the composition it continues.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”n
required
integer
Ang number (clamped to 1–1430).
Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
ang
required
integer
lines
required
Array<object>
object
id
required
integer
ang
required
integer
author
required
string
comp_id
required
integer
line_no
required
integer
is_rahao
required
integer
is_header
required
integer
gurmukhi
required
string
translit
required
string
stanza_index
required
integer
pada_total
required
integer
source_category
required
string
en
string
authors
required
Array<string>
Examplegenerated
{ "ang": 1, "lines": [ { "id": 1, "ang": 1, "raag": "example", "section": "example", "author": "example", "comp_type": "example", "comp_id": 1, "line_no": 1, "is_rahao": 1, "is_header": 1, "gurmukhi": "example", "translit": "example", "stanza_index": 1, "pada_total": 1, "source_category": "example", "en": "example" } ], "continued_from": 1, "raag": "example", "section": "example", "authors": [ "example" ]}Invalid request (bad or out-of-range parameter).
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}Internal error (generic body; details are logged, never returned).
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}Sri Guru Granth Sahib Ji — Knowledge Base wiki. Generated from commit c3d9360. Updated 24 October 2026. This copy may be out of date; the page is at https://docs.gurbanisoul.com/api/reference/operations/ang_n/