curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}"
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}', 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}"
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))
}{
"section": {
"actId": "IND_state_20326",
"title": "The Maharashtra Value Added Tax Act, 2002.",
"sectionNumber": "23",
"sectionTitle": "Assessment",
"chapter": "V",
"chapterTitle": "RETURNS AND ASSESSMENT, ETC.",
"year": 2002,
"category": "state",
"state": "maharashtra",
"department": "Finance Department",
"ministry": "Govt of Maharashtra",
"actStatus": "in_force",
"sectionStatus": "in_force",
"provisionType": "overriding",
"sectionType": "section",
"legalSubject": [
"tax_law"
],
"isSubordinate": false,
"goodLawStatus": "good_law",
"amendmentCount": 44,
"lastAmendedYear": 2019,
"lastAmendedDate": "2019-03-06",
"amendmentYears": [
2005,
2006
],
"sectionsReferenced": [
"21",
"20"
],
"wordCount": 4449,
"shape": {
"hasProviso": true,
"hasExplanation": false,
"hasIllustration": false,
"hasNonObstante": true,
"hasSavingClause": false,
"hasPenalty": false
},
"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."
}
]
},
"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": 367.4,
"creditsConsumed": 2
}
}{
"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."
}One provision, as a resource
A single provision with its citation, its position in the act, the structural features its text carries, and what it points at.
Cost: 2 credits.
This does not return the provision’s text. GET /acts/{actId}/sections/{n}/body
does, and is priced separately because it reads the act document.
wordCount is summed across every passage of the provision. actsReferenced
is whitespace-normalised before deduplication, because the publisher’s line
breaks otherwise make one cited act look like two.
curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/sections/{section_number}"
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}', 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}"
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))
}{
"section": {
"actId": "IND_state_20326",
"title": "The Maharashtra Value Added Tax Act, 2002.",
"sectionNumber": "23",
"sectionTitle": "Assessment",
"chapter": "V",
"chapterTitle": "RETURNS AND ASSESSMENT, ETC.",
"year": 2002,
"category": "state",
"state": "maharashtra",
"department": "Finance Department",
"ministry": "Govt of Maharashtra",
"actStatus": "in_force",
"sectionStatus": "in_force",
"provisionType": "overriding",
"sectionType": "section",
"legalSubject": [
"tax_law"
],
"isSubordinate": false,
"goodLawStatus": "good_law",
"amendmentCount": 44,
"lastAmendedYear": 2019,
"lastAmendedDate": "2019-03-06",
"amendmentYears": [
2005,
2006
],
"sectionsReferenced": [
"21",
"20"
],
"wordCount": 4449,
"shape": {
"hasProviso": true,
"hasExplanation": false,
"hasIllustration": false,
"hasNonObstante": true,
"hasSavingClause": false,
"hasPenalty": false
},
"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."
}
]
},
"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": 367.4,
"creditsConsumed": 2
}
}{
"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"
Was this page helpful?

