curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"actId": "IND_state_20326",
"sectionNumber": "23",
"citation": {
"citation": "The Maharashtra Value Added Tax Act, 2002., s. 23",
"citationShort": "Maharashtra Value Added Tax Act, 2002., s. 23",
"displayPath": "The Maharashtra Value Added Tax Act, 2002. / Chapter V. RETURNS AND ASSESSMENT, ETC. / s. 23",
"breadcrumb": [
{
"type": "chapter",
"num": "V",
"label": "Chapter V",
"name": "RETURNS AND ASSESSMENT, ETC."
}
]
},
"text": "23. Assessment.—[6] [( _1_ ) Where a registered dealer fails to file a return in respect of any period by the prescribed date, the Commissioner may assess the dealer in respect of the said period to the best of his judgment without serving a notice for assess…",
"available": true,
"wordCount": 4449,
"currency": {
"textIs": "as_published",
"amendmentsApplied": false,
"amendmentEventsHeld": 44,
"note": "This is the publisher's published text. We do not apply amendments to it, so it may not reflect changes recorded against this provision. See GET /acts/{actId}/sections/{n}/history."
},
"bodyProvenance": {
"chunksHeld": 16,
"contiguous": true,
"source": "act_document",
"chunkIndexRange": [
120,
135
],
"actTextUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.normalized.txt",
"charStart": 128276,
"charEnd": 149776
},
"provenance": {
"sourceUrl": "https://indiacode.gov.in/handle/123456789/568111",
"textUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.normalized.txt",
"pdfUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.pdf"
},
"meta": {
"processingTimeMs": 606,
"creditsConsumed": 3
}
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "Insufficient API credits."
}A provision's full text
The publisher’s own text for one provision.
Cost: 3 credits. Refunded when we hold the provision and cannot reproduce its text, because you asked for text and did not get it.
The text is sliced out of the act document by the character offsets stored with
each passage. It is never assembled by concatenating search passages: those
carry a retrieval header that we synthesized (Act: ... | India | State | In Force), and serving that as statute would put our words inside a quotation of
the law.
This text is as the publisher published it. We do not apply amendments to
it. GET /acts/{actId}/sections/{n}/history lists every amendment we hold for
the provision, each with an appliedStatus saying whether it is reflected here.
It is not.
curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}/body"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"actId": "IND_state_20326",
"sectionNumber": "23",
"citation": {
"citation": "The Maharashtra Value Added Tax Act, 2002., s. 23",
"citationShort": "Maharashtra Value Added Tax Act, 2002., s. 23",
"displayPath": "The Maharashtra Value Added Tax Act, 2002. / Chapter V. RETURNS AND ASSESSMENT, ETC. / s. 23",
"breadcrumb": [
{
"type": "chapter",
"num": "V",
"label": "Chapter V",
"name": "RETURNS AND ASSESSMENT, ETC."
}
]
},
"text": "23. Assessment.—[6] [( _1_ ) Where a registered dealer fails to file a return in respect of any period by the prescribed date, the Commissioner may assess the dealer in respect of the said period to the best of his judgment without serving a notice for assess…",
"available": true,
"wordCount": 4449,
"currency": {
"textIs": "as_published",
"amendmentsApplied": false,
"amendmentEventsHeld": 44,
"note": "This is the publisher's published text. We do not apply amendments to it, so it may not reflect changes recorded against this provision. See GET /acts/{actId}/sections/{n}/history."
},
"bodyProvenance": {
"chunksHeld": 16,
"contiguous": true,
"source": "act_document",
"chunkIndexRange": [
120,
135
],
"actTextUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.normalized.txt",
"charStart": 128276,
"charEnd": 149776
},
"provenance": {
"sourceUrl": "https://indiacode.gov.in/handle/123456789/568111",
"textUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.normalized.txt",
"pdfUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.pdf"
},
"meta": {
"processingTimeMs": 606,
"creditsConsumed": 3
}
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "Insufficient API credits."
}Authorizations
API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_...
Path Parameters
Act identifier, as returned by search, /list or /resolve.
1 - 200^[a-zA-Z0-9_-]+$"IND_state_20326"
Section number exactly as the publisher writes it. Alphanumeric suffixes are part of the number, not a sub-provision: 498A is one section, not section 498 clause A.
1 - 40^[A-Za-z0-9().\- ]{1,40}$"23"
Response
Successful Response
How to cite the thing this response is about.
Present on 99.90% of served acts. Where the publisher's own title carries a
defect, so does the citation: 10.4% of titles end in a period, which reads
as ... Act., s. 3, and 4.7% carry no year at all. Both are recorded
defects rather than reasons to withhold the field.
Show child attributes
Show child attributes
Whether the provision's text could be reproduced. False with a note when we hold the provision and cannot serve its text; a null text alone cannot be told apart from an empty provision. A false answer here is refunded.
true
What this text is and is not. It is the publisher's published text; we do NOT apply amendments to it. See GET /acts/{actId}/sections/{n}/history.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The publisher's text for this provision, sliced from the act document by the stored character offsets. Never a concatenation of retrieval passages: those carry a synthesized header that is ours, not the publisher's.
Why available is false, when it is.
Was this page helpful?

