Verify a quotation
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/verify/
GET
/api/verify
const url = 'https://example.com/api/verify?q=example';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/verify?q=example'Is this quotation really in the Granth? Returns a verdict, confidence and the matched line.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”q
required
string
The quotation to verify.
ang
integer
Claimed Ang, checked against the match.
Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
verdict
required
string
confidence
required
number
distance_details
required
object
best_ratio
required
number
second_ratio
required
number
gap
required
number
candidates_scored
required
integer
raag
required
null
Examplegenerated
{ "verdict": "example", "confidence": 1, "matched_line_id": 1, "distance_details": { "best_ratio": 1, "second_ratio": 1, "gap": 1, "candidates_scored": 1 }, "ang": 1, "gurmukhi": "example", "raag": "example", "author": "example", "comp_id": 1, "section": "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/verify/