Get the verses two themes share
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/analytics_pair/
const url = 'https://example.com/api/analytics/pair?concept=example&alone=1&offset=0&limit=50&rahao=1&min_themes=0&ang_min=1&ang_max=1430';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/analytics/pair?concept=example&alone=1&offset=0&limit=50&rahao=1&min_themes=0&ang_min=1&ang_max=1430'Verses carrying two themes, grouped by shabad, with the matched words.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”First theme.
Second theme (or alone=1).
The theme’s verses that carry no other theme (instead of with).
Verses to skip.
Verses per page.
Lens: only verses by this author.
Lens: only verses in this raag.
Lens: only verses in these raags (comma-separated; the “This hour” lens).
Lens: refrains (Rahao lines) only.
Lens: verses carrying at least this many themes.
Lens: first Ang.
Lens: last Ang.
Responses
Section titled “ Responses ”OK
object
object
Examplegenerated
{ "concept": "example", "with": "example", "alone": true, "lens": { "author": "example", "raag": "example", "raags": [ "example" ], "rahao": true, "min_themes": 1, "ang_min": 1, "ang_max": 1 }, "total": 1, "offset": 1, "limit": 1, "bond": { "ppmi": 1, "jaccard": 1, "shabad_count": 1 }, "shabads": [ { "comp_id": 1, "ang": 1, "raag": "example", "author": "example", "verses": [ { "id": 1, "ang": 1, "is_rahao": 1, "gurmukhi": "example", "translit": "example", "terms": "example" } ] } ], "note": "example"}Invalid request (bad or out-of-range parameter).
object
Examplegenerated
{ "error": "example"}Internal error (generic body; details are logged, never returned).
object
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/analytics_pair/