curl --request GET \
--url https://api.vaquill.ai/api/v1/statutes/laws \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/statutes/laws"
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/statutes/laws', 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/statutes/laws"
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))
}{
"data": {
"jurisdiction": "ca",
"laws": [
{
"key": "ca-STATE",
"jurisdiction": "ca",
"jurisdictionName": "California",
"corpusType": "STATE",
"lawType": "statutes",
"name": "California Statutes",
"sectionCount": 176778
},
{
"key": "ca-REGULATION",
"jurisdiction": "ca",
"jurisdictionName": "California",
"corpusType": "REGULATION",
"lawType": "regulations",
"name": "California Administrative Regulations",
"sectionCount": 51142
}
],
"count": 2
},
"meta": {
"processingTimeMs": 12,
"creditsConsumed": 0
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Catalog the bodies of law available
List the distinct bodies of law available, each a whole corpus within a jurisdiction (a state’s statutes, a state’s regulations, the US Code, the US Constitution, federal court rules, …). Every entry carries a stable key, its corpusType (pass to /statutes/search), a lawType, a human name, and a sectionCount.
Omit jurisdiction to list every jurisdiction, or pass one (a 2-letter state code or federal) to scope the list. To drill a state’s statutes into its individual codes (Penal, Civil, …), call GET /statutes/divisions?corpusType=STATE&state=XX.
Free. Requires an API key and is rate-limited, but costs no credits.
curl --request GET \
--url https://api.vaquill.ai/api/v1/statutes/laws \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/statutes/laws"
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/statutes/laws', 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/statutes/laws"
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))
}{
"data": {
"jurisdiction": "ca",
"laws": [
{
"key": "ca-STATE",
"jurisdiction": "ca",
"jurisdictionName": "California",
"corpusType": "STATE",
"lawType": "statutes",
"name": "California Statutes",
"sectionCount": 176778
},
{
"key": "ca-REGULATION",
"jurisdiction": "ca",
"jurisdictionName": "California",
"corpusType": "REGULATION",
"lawType": "regulations",
"name": "California Administrative Regulations",
"sectionCount": 51142
}
],
"count": 2
},
"meta": {
"processingTimeMs": 12,
"creditsConsumed": 0
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Authorizations
API key issued from the Vaquill developer dashboard. Pass as Authorization: Bearer vq_key_...
Query Parameters
Optional jurisdiction filter: a 2-letter US state code (one of the 52 supported) or federal. Omit to list every jurisdiction.
federal, al, ak, az, ar, ca, co, ct, de, dc, fl, ga, hi, id, il, in, ia, ks, ky, la, me, md, ma, mi, mn, ms, mo, mt, ne, nv, nh, nj, nm, ny, nc, nd, oh, ok, or, pa, pr, ri, sc, sd, tn, tx, ut, vt, va, wa, wv, wi, wy "ca"
Response
The catalog of bodies of law.
Was this page helpful?

