curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/text \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/text"
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}/text', 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}/text"
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",
"title": "The Maharashtra Value Added Tax Act, 2002.",
"year": 2002,
"category": "state",
"textUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.normalized.txt",
"pdfUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.pdf",
"htmlUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.html",
"chunksCount": 345,
"isSubordinate": false,
"issuedDate": "9-Mar-2005",
"meta": {
"processingTimeMs": 308.8,
"creditsConsumed": 3
},
"currencyStatus": "repeal_tracked"
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}Get act text URLs
Get URLs for the full text, PDF, and HTML versions of an act.
Authentication: API key via Authorization: Bearer vq_key_...
Cost: 3 credits
curl --request GET \
--url https://api.vaquill.ai/api/v1/in/acts/{act_id}/text \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/in/acts/{act_id}/text"
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}/text', 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}/text"
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",
"title": "The Maharashtra Value Added Tax Act, 2002.",
"year": 2002,
"category": "state",
"textUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.normalized.txt",
"pdfUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.pdf",
"htmlUrl": "https://acts-india.vaquill.ai/IND_state_20326/act.html",
"chunksCount": 345,
"isSubordinate": false,
"issuedDate": "9-Mar-2005",
"meta": {
"processingTimeMs": 308.8,
"creditsConsumed": 3
},
"currencyStatus": "repeal_tracked"
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"detail": "Insufficient API credits."
}{
"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 /coverage.
1 - 200^[a-zA-Z0-9_-]+$"IND_state_20326"
Response
Successful Response
True for subordinate legislation: notifications, rules, circulars, orders. False for principal acts.
Date the instrument was issued by the publisher, where known.
What this call cost and how long it took.
🔴 Added 2026-09-06. Five of the six original routes returned NO statement
of what they billed: /text (3 credits), /amendments (5), /list (1),
/filters (0) and /corresponding-provisions (1). The house rule on the
US surface is that creditsConsumed is the CONTRACT and the list price is
not, and it matters most exactly where refunds happen -- /text refunds on
a missing act, /corresponding-provisions refunds when a mapping does not
exist yet. Without this field a caller cannot tell a refunded call from a
charged one, and has to reconcile against the ledger to find out.
Show child attributes
Show child attributes
How far the currency of this document can be vouched for. repeal_tracked: the publisher records a repeal flag for this document, so a repealed instrument is identifiable. as_issued: served as issued on issuedDate, and it MAY HAVE BEEN SUPERSEDED since. India Code publishes no supersession status for subordinate legislation, and a superseding instrument names its predecessor only in prose, so this API cannot tell you whether a notification is still in force. Treat as_issued documents as evidence of what was issued on a date, not as a statement of current law.
Was this page helpful?

