Skip to content

APIHukamnama referenceHukamnama

One day's Hukamnama

Updated

Page actions

ChatGPT and Claude are third-party services. The link gives them this page's public address and a short instruction. This site records nothing.

GET
/v1/hukamnama/{date}
curl --request GET \
--url https://api.gurbanisoul.com/v1/hukamnama/2026-04-15

One day, by its date in Amritsar. A day with no published Hukamnama answers pending. A date after today in Amritsar, or before the archive begins, is 404.

date
required
string format: date

The day in Amritsar, YYYY-MM-DD: from 2026-11-01 up to today there.

That day’s Hukamnama, or a pending answer.

Media typeapplication/json
One of: discriminator: status
object
amritsar_date
required

The day this Hukamnama belongs to, in Amritsar (UTC+05:30). Show this date, never the reader’s.

string format: date
status
required

Always published here.

string
Allowed values: published
ang
required

The Ang the shabad opens on.

integer
first_line_id
required

The corpus id of the first line of the range.

integer
last_line_id
required

The corpus id of the last line of the range.

integer
comp_id
required

The corpus id of the composition the opening verse belongs to.

integer
opening_line_id
required

The corpus id of the first verse (the line after any heading).

integer
opening_gurmukhi
required

The first verse, verbatim.

string
opening_translit
required

The first verse in the corpus’s rule-based transliteration.

string
line_count
required

How many lines the range holds, headings included.

integer
range_sha256
required

SHA-256 of every line’s gurmukhi joined by a newline (UTF-8). Check it before showing the text.

string
scripture_sha256
required

The fingerprint of the edition of the text the lines were read from.

string
citation
required

The citation to show with the text: “Sri Guru Granth Sahib Ji · Ang N”.

string
published_at
required

When the day was published here, in UTC, without fractional seconds.

string format: date-time
credit
required

How the day was located and where its text is from.

string
ang_end
required

The Ang the shabad ends on.

integer
raag
required

The raag of the opening verse, as the corpus names it.

string
author
required
Any of:
null
url
required

The day’s page on gurbanisoul.com.

string format: uri
attribution
required

The credit to show wherever the Hukamnama appears, with its link.

object
text
required

The words of the credit.

string
url
required

The link the credit carries.

string format: uri
terms_url
required

The terms of use.

string format: uri
lines

Every line of the range, in order.

Array<object>
object
id
required

The corpus id of the line.

integer
ang
required

The Ang the line is on.

integer
gurmukhi
required

The line, verbatim. Never alter, shorten or re-space it.

string
translit
required

A rule-based transliteration: a reading aid, not the text.

string
is_heading
required

True for a heading line (a raag or author heading), false for a verse.

boolean
is_rahao
required

True for the Rahao line.

boolean
author
required

The author of this line.

string
en

Dr. Sant Singh Khalsa’s English translation of the line, when the English layer is included. A separate, labelled layer: never present it as the Gurbani.

string
translation

Present only when the lines carry en: whose translation it is.

object
lang
required

The translation’s language.

string
translator
required

The translator.

string
source
required

The edition it comes from.

string
rahao_gurmukhi

Present only when the shabad has exactly one rahao (refrain): its lines, verbatim, in order. Absent when there is none or more than one; nothing is guessed.

Array<string>
corrected_at

Present only when the day’s range was corrected after it was published: when, in UTC. published_at stays the first publication.

string format: date-time
Example
{
"status": "published"
}
ETag
string

A strong validator. Send it back in If-None-Match; an unchanged answer is 304 with no body.

Cache-Control
string

public, max-age=3600, s-maxage=86400 for a past day; a pending answer is public, max-age=30.

The date is not a real date in YYYY-MM-DD form.

Media typeapplication/json
object
error
required

What went wrong, in a few words.

string
code
required

A stable code: invalid_request, not_found, method_not_allowed, rate_limited or unavailable.

string
request_id
required

An id to quote when reporting a problem.

string
Examplegenerated
{
"error": "example",
"code": "example",
"request_id": "example"
}

The date is after today in Amritsar, or before 2026-11-01.

Media typeapplication/json
object
error
required

What went wrong, in a few words.

string
code
required

A stable code: invalid_request, not_found, method_not_allowed, rate_limited or unavailable.

string
request_id
required

An id to quote when reporting a problem.

string
Examplegenerated
{
"error": "example",
"code": "example",
"request_id": "example"
}

Too many requests from one address. Wait for the seconds in Retry-After.

Media typeapplication/json
object
error
required

What went wrong, in a few words.

string
code
required

A stable code: invalid_request, not_found, method_not_allowed, rate_limited or unavailable.

string
request_id
required

An id to quote when reporting a problem.

string
Examplegenerated
{
"error": "example",
"code": "example",
"request_id": "example"
}
Retry-After
integer

Seconds to wait.

The API cannot read its files right now. Nothing is served rather than something unproved.

Media typeapplication/json
object
error
required

What went wrong, in a few words.

string
code
required

A stable code: invalid_request, not_found, method_not_allowed, rate_limited or unavailable.

string
request_id
required

An id to quote when reporting a problem.

string
Examplegenerated
{
"error": "example",
"code": "example",
"request_id": "example"
}
Retry-After
integer

Seconds to wait.