curl --request GET \
--url https://api.vaquill.ai/api/v1/statutes/section/{act_id}/related \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/statutes/section/{act_id}/related"
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/section/{act_id}/related', 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/section/{act_id}/related"
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": "USC_T42_C21_S1983",
"citation": "42 U.S.C. § 1983 (2024)",
"citationShort": "42 U.S.C. § 1983",
"title": "Civil action for deprivation of rights",
"corpusType": "USC",
"state": "federal",
"year": 2024,
"relevanceScore": 0,
"excerpt": "officer's judicial capacity, injunctive relief shall not be granted unless a declaratory decree was violated or declaratory relief was unavailable\".\n\n1979—Pub. L. 96–170 inserted \"or the District of Columbia\" after \"Territory\", and provisions relating to Acts of Congress applicable solely to the District of Columbia.\n\nStatutory Notes and Related Subsidiaries\n\nEffective Date of 1979 Amendment\n\nAmendment by Pub. L. 96–170 applicable with respect to any deprivation of rights, privileges, or...",
"titleNumber": "42",
"titleName": "THE PUBLIC HEALTH AND WELFARE",
"chapter": "21",
"chapterName": "CIVIL RIGHTS",
"sectionNumber": "1983",
"sectionTitle": "Civil action for deprivation of rights",
"displayPath": "Title 42: THE PUBLIC HEALTH AND WELFARE / Chapter 21: CIVIL RIGHTS / Subchapter I: GENERALLY / Section 1983: Civil action for deprivation of rights",
"breadcrumb": [
{
"type": "title",
"num": "42",
"label": "Title 42",
"name": "THE PUBLIC HEALTH AND WELFARE"
},
{
"type": "chapter",
"num": "21",
"label": "Chapter 21",
"name": "CIVIL RIGHTS"
},
{
"type": "subchapter",
"num": "I",
"label": "Subchapter I",
"name": "GENERALLY"
},
{
"type": "section",
"num": "1983",
"label": "Section 1983",
"name": "Civil action for deprivation of rights"
}
],
"parent": {
"corpusType": "USC",
"titleNumber": 42,
"chapter": "21"
},
"subchapter": "I",
"subchapterName": "GENERALLY",
"popularName": "Public Health and Welfare",
"actStatus": "in_force",
"goodLawStatus": "good_law",
"renumberedTo": "",
"transferredTo": "",
"sourceCredit": "R.S. §1979; Pub. L. 96–170, §1, Dec. 29, 1979, 93 Stat. 1284; Pub. L. 104–317, title III, §309(c), Oct. 19, 1996, 110 Stat. 3853.",
"amendmentYears": [
1996,
1979
],
"lastAmendedYear": 1996,
"amendmentsCount": 2,
"publicLaws": [
"Pub. L. 104-317",
"Pub. L. 96-170"
],
"granuleId": "USCODE-2024-title42-chap21-subchapI-sec1983",
"packageId": "USCODE-2024-title42",
"htmlUrl": "https://statutes-us.vaquill.ai/usc/html/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1983.htm",
"pdfUrl": "https://statutes-us.vaquill.ai/usc/pdf/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1983.pdf",
"govInfoHtmlUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/html/USCODE-2024-title42-chap21-subchapI-sec1983.htm",
"govInfoPdfUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/pdf/USCODE-2024-title42-chap21-subchapI-sec1983.pdf",
"externalUrl": "https://www.govinfo.gov/app/details/USCODE-2024-title42/USCODE-2024-title42-chap21-subchapI-sec1983"
},
"previous": [
{
"actId": "USC_T42_C21_S1981",
"citation": "42 U.S.C. § 1981 (2024)",
"citationShort": "42 U.S.C. § 1981",
"title": "Equal rights under the law",
"corpusType": "USC",
"state": "federal",
"year": 2024,
"relevanceScore": 0,
"excerpt": "Statement of equal rights\n\nAll persons within the jurisdiction of the United States shall have the same right in every State and Territory to make and enforce contracts, to sue, be parties, give evidence, and to the full and equal benefit of all laws and proceedings for the security of persons and property as is enjoyed by white citizens, and shall be subject to like punishment, pains, penalties, taxes, licenses, and exactions of every kind, and to no other.\n\n(b) \"Make and enforce contracts\"...",
"titleNumber": "42",
"titleName": "THE PUBLIC HEALTH AND WELFARE",
"chapter": "21",
"chapterName": "CIVIL RIGHTS",
"sectionNumber": "1981",
"sectionTitle": "Equal rights under the law",
"displayPath": "Title 42: THE PUBLIC HEALTH AND WELFARE / Chapter 21: CIVIL RIGHTS / Subchapter I: GENERALLY / Section 1981: Equal rights under the law",
"breadcrumb": [
{
"type": "title",
"num": "42",
"label": "Title 42",
"name": "THE PUBLIC HEALTH AND WELFARE"
},
{
"type": "chapter",
"num": "21",
"label": "Chapter 21",
"name": "CIVIL RIGHTS"
},
{
"type": "subchapter",
"num": "I",
"label": "Subchapter I",
"name": "GENERALLY"
},
{
"type": "section",
"num": "1981",
"label": "Section 1981",
"name": "Equal rights under the law"
}
],
"parent": {
"corpusType": "USC",
"titleNumber": 42,
"chapter": "21"
},
"subchapter": "I",
"subchapterName": "GENERALLY",
"popularName": "Public Health and Welfare",
"actStatus": "in_force",
"goodLawStatus": "good_law",
"renumberedTo": "",
"transferredTo": "",
"sourceCredit": "R.S. §1977; Pub. L. 102–166, title I, §101, Nov. 21, 1991, 105 Stat. 1071.",
"amendmentYears": [
1991
],
"lastAmendedYear": 1991,
"amendmentsCount": 1,
"publicLaws": [
"Pub. L. 102-166",
"Pub. L. 94-559"
],
"granuleId": "USCODE-2024-title42-chap21-subchapI-sec1981",
"packageId": "USCODE-2024-title42",
"htmlUrl": "https://statutes-us.vaquill.ai/usc/html/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1981.htm",
"pdfUrl": "https://statutes-us.vaquill.ai/usc/pdf/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1981.pdf",
"govInfoHtmlUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/html/USCODE-2024-title42-chap21-subchapI-sec1981.htm",
"govInfoPdfUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/pdf/USCODE-2024-title42-chap21-subchapI-sec1981.pdf",
"externalUrl": "https://www.govinfo.gov/app/details/USCODE-2024-title42/USCODE-2024-title42-chap21-subchapI-sec1981"
}
],
"next": [
{
"actId": "USC_T42_C21_S1984",
"citation": "42 U.S.C. § 1984 (2024)",
"citationShort": "42 U.S.C. § 1984",
"title": "Omitted",
"corpusType": "USC",
"state": "federal",
"year": 2024,
"relevanceScore": 0,
"excerpt": "Editorial Notes\n\nCodification\n\nSection, act Mar. 1, 1875, ch. 114, §5, 18 Stat. 337, which was formerly classified to section 46 of Title 8, Aliens and Nationality, related to Supreme Court review of cases arising under act Mar. 1, 1875. Sections 1 and 2 of act Mar. 1, 1875 were declared unconstitutional in U.S. v. Singleton, 109 U.S. 3, and sections 3 and 4 of such act were repealed by act June 25, 1948, ch. 645, §21, 62 Stat. 862.",
"titleNumber": "42",
"titleName": "THE PUBLIC HEALTH AND WELFARE",
"chapter": "21",
"chapterName": "CIVIL RIGHTS",
"sectionNumber": "1984",
"sectionTitle": "Omitted",
"displayPath": "Title 42: THE PUBLIC HEALTH AND WELFARE / Chapter 21: CIVIL RIGHTS / Subchapter I: GENERALLY / Section 1984: Omitted",
"breadcrumb": [
{
"type": "title",
"num": "42",
"label": "Title 42",
"name": "THE PUBLIC HEALTH AND WELFARE"
},
{
"type": "chapter",
"num": "21",
"label": "Chapter 21",
"name": "CIVIL RIGHTS"
},
{
"type": "subchapter",
"num": "I",
"label": "Subchapter I",
"name": "GENERALLY"
},
{
"type": "section",
"num": "1984",
"label": "Section 1984",
"name": "Omitted"
}
],
"parent": {
"corpusType": "USC",
"titleNumber": 42,
"chapter": "21"
},
"subchapter": "I",
"subchapterName": "GENERALLY",
"popularName": "Public Health and Welfare",
"actStatus": "omitted",
"goodLawStatus": "not_good_law",
"renumberedTo": "",
"transferredTo": "",
"sourceCredit": "",
"amendmentsCount": 0,
"granuleId": "USCODE-2024-title42-chap21-subchapI-sec1984",
"packageId": "USCODE-2024-title42",
"htmlUrl": "https://statutes-us.vaquill.ai/usc/html/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1984.htm",
"pdfUrl": "https://statutes-us.vaquill.ai/usc/pdf/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1984.pdf",
"govInfoHtmlUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/html/USCODE-2024-title42-chap21-subchapI-sec1984.htm",
"govInfoPdfUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/pdf/USCODE-2024-title42-chap21-subchapI-sec1984.pdf",
"externalUrl": "https://www.govinfo.gov/app/details/USCODE-2024-title42/USCODE-2024-title42-chap21-subchapI-sec1984"
}
],
"container": "CIVIL RIGHTS",
"processingTimeMs": 9.5,
"creditsConsumed": 6
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Get the sections around this one
The sections immediately before and after a given section, in statutory order.
Cost: 2 credits. Not-found and failed lookups are not charged.
Reading one section rarely settles a question — the definitions sit a few sections back and the exceptions a few forward. Search cannot answer “what comes next”, because relevance ranking is not statutory order.
Neighbours never cross the containing chapter (or, where a section has no chapter, the containing title or state code), so you get the sections a reader would actually turn to, not the numerically adjacent row from an unrelated part of the corpus.
Ordering is natural, not lexicographic: 9 before 10, 240.9 before
240.10, 1983 before 1983a.
curl --request GET \
--url https://api.vaquill.ai/api/v1/statutes/section/{act_id}/related \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vaquill.ai/api/v1/statutes/section/{act_id}/related"
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/section/{act_id}/related', 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/section/{act_id}/related"
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": "USC_T42_C21_S1983",
"citation": "42 U.S.C. § 1983 (2024)",
"citationShort": "42 U.S.C. § 1983",
"title": "Civil action for deprivation of rights",
"corpusType": "USC",
"state": "federal",
"year": 2024,
"relevanceScore": 0,
"excerpt": "officer's judicial capacity, injunctive relief shall not be granted unless a declaratory decree was violated or declaratory relief was unavailable\".\n\n1979—Pub. L. 96–170 inserted \"or the District of Columbia\" after \"Territory\", and provisions relating to Acts of Congress applicable solely to the District of Columbia.\n\nStatutory Notes and Related Subsidiaries\n\nEffective Date of 1979 Amendment\n\nAmendment by Pub. L. 96–170 applicable with respect to any deprivation of rights, privileges, or...",
"titleNumber": "42",
"titleName": "THE PUBLIC HEALTH AND WELFARE",
"chapter": "21",
"chapterName": "CIVIL RIGHTS",
"sectionNumber": "1983",
"sectionTitle": "Civil action for deprivation of rights",
"displayPath": "Title 42: THE PUBLIC HEALTH AND WELFARE / Chapter 21: CIVIL RIGHTS / Subchapter I: GENERALLY / Section 1983: Civil action for deprivation of rights",
"breadcrumb": [
{
"type": "title",
"num": "42",
"label": "Title 42",
"name": "THE PUBLIC HEALTH AND WELFARE"
},
{
"type": "chapter",
"num": "21",
"label": "Chapter 21",
"name": "CIVIL RIGHTS"
},
{
"type": "subchapter",
"num": "I",
"label": "Subchapter I",
"name": "GENERALLY"
},
{
"type": "section",
"num": "1983",
"label": "Section 1983",
"name": "Civil action for deprivation of rights"
}
],
"parent": {
"corpusType": "USC",
"titleNumber": 42,
"chapter": "21"
},
"subchapter": "I",
"subchapterName": "GENERALLY",
"popularName": "Public Health and Welfare",
"actStatus": "in_force",
"goodLawStatus": "good_law",
"renumberedTo": "",
"transferredTo": "",
"sourceCredit": "R.S. §1979; Pub. L. 96–170, §1, Dec. 29, 1979, 93 Stat. 1284; Pub. L. 104–317, title III, §309(c), Oct. 19, 1996, 110 Stat. 3853.",
"amendmentYears": [
1996,
1979
],
"lastAmendedYear": 1996,
"amendmentsCount": 2,
"publicLaws": [
"Pub. L. 104-317",
"Pub. L. 96-170"
],
"granuleId": "USCODE-2024-title42-chap21-subchapI-sec1983",
"packageId": "USCODE-2024-title42",
"htmlUrl": "https://statutes-us.vaquill.ai/usc/html/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1983.htm",
"pdfUrl": "https://statutes-us.vaquill.ai/usc/pdf/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1983.pdf",
"govInfoHtmlUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/html/USCODE-2024-title42-chap21-subchapI-sec1983.htm",
"govInfoPdfUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/pdf/USCODE-2024-title42-chap21-subchapI-sec1983.pdf",
"externalUrl": "https://www.govinfo.gov/app/details/USCODE-2024-title42/USCODE-2024-title42-chap21-subchapI-sec1983"
},
"previous": [
{
"actId": "USC_T42_C21_S1981",
"citation": "42 U.S.C. § 1981 (2024)",
"citationShort": "42 U.S.C. § 1981",
"title": "Equal rights under the law",
"corpusType": "USC",
"state": "federal",
"year": 2024,
"relevanceScore": 0,
"excerpt": "Statement of equal rights\n\nAll persons within the jurisdiction of the United States shall have the same right in every State and Territory to make and enforce contracts, to sue, be parties, give evidence, and to the full and equal benefit of all laws and proceedings for the security of persons and property as is enjoyed by white citizens, and shall be subject to like punishment, pains, penalties, taxes, licenses, and exactions of every kind, and to no other.\n\n(b) \"Make and enforce contracts\"...",
"titleNumber": "42",
"titleName": "THE PUBLIC HEALTH AND WELFARE",
"chapter": "21",
"chapterName": "CIVIL RIGHTS",
"sectionNumber": "1981",
"sectionTitle": "Equal rights under the law",
"displayPath": "Title 42: THE PUBLIC HEALTH AND WELFARE / Chapter 21: CIVIL RIGHTS / Subchapter I: GENERALLY / Section 1981: Equal rights under the law",
"breadcrumb": [
{
"type": "title",
"num": "42",
"label": "Title 42",
"name": "THE PUBLIC HEALTH AND WELFARE"
},
{
"type": "chapter",
"num": "21",
"label": "Chapter 21",
"name": "CIVIL RIGHTS"
},
{
"type": "subchapter",
"num": "I",
"label": "Subchapter I",
"name": "GENERALLY"
},
{
"type": "section",
"num": "1981",
"label": "Section 1981",
"name": "Equal rights under the law"
}
],
"parent": {
"corpusType": "USC",
"titleNumber": 42,
"chapter": "21"
},
"subchapter": "I",
"subchapterName": "GENERALLY",
"popularName": "Public Health and Welfare",
"actStatus": "in_force",
"goodLawStatus": "good_law",
"renumberedTo": "",
"transferredTo": "",
"sourceCredit": "R.S. §1977; Pub. L. 102–166, title I, §101, Nov. 21, 1991, 105 Stat. 1071.",
"amendmentYears": [
1991
],
"lastAmendedYear": 1991,
"amendmentsCount": 1,
"publicLaws": [
"Pub. L. 102-166",
"Pub. L. 94-559"
],
"granuleId": "USCODE-2024-title42-chap21-subchapI-sec1981",
"packageId": "USCODE-2024-title42",
"htmlUrl": "https://statutes-us.vaquill.ai/usc/html/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1981.htm",
"pdfUrl": "https://statutes-us.vaquill.ai/usc/pdf/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1981.pdf",
"govInfoHtmlUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/html/USCODE-2024-title42-chap21-subchapI-sec1981.htm",
"govInfoPdfUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/pdf/USCODE-2024-title42-chap21-subchapI-sec1981.pdf",
"externalUrl": "https://www.govinfo.gov/app/details/USCODE-2024-title42/USCODE-2024-title42-chap21-subchapI-sec1981"
}
],
"next": [
{
"actId": "USC_T42_C21_S1984",
"citation": "42 U.S.C. § 1984 (2024)",
"citationShort": "42 U.S.C. § 1984",
"title": "Omitted",
"corpusType": "USC",
"state": "federal",
"year": 2024,
"relevanceScore": 0,
"excerpt": "Editorial Notes\n\nCodification\n\nSection, act Mar. 1, 1875, ch. 114, §5, 18 Stat. 337, which was formerly classified to section 46 of Title 8, Aliens and Nationality, related to Supreme Court review of cases arising under act Mar. 1, 1875. Sections 1 and 2 of act Mar. 1, 1875 were declared unconstitutional in U.S. v. Singleton, 109 U.S. 3, and sections 3 and 4 of such act were repealed by act June 25, 1948, ch. 645, §21, 62 Stat. 862.",
"titleNumber": "42",
"titleName": "THE PUBLIC HEALTH AND WELFARE",
"chapter": "21",
"chapterName": "CIVIL RIGHTS",
"sectionNumber": "1984",
"sectionTitle": "Omitted",
"displayPath": "Title 42: THE PUBLIC HEALTH AND WELFARE / Chapter 21: CIVIL RIGHTS / Subchapter I: GENERALLY / Section 1984: Omitted",
"breadcrumb": [
{
"type": "title",
"num": "42",
"label": "Title 42",
"name": "THE PUBLIC HEALTH AND WELFARE"
},
{
"type": "chapter",
"num": "21",
"label": "Chapter 21",
"name": "CIVIL RIGHTS"
},
{
"type": "subchapter",
"num": "I",
"label": "Subchapter I",
"name": "GENERALLY"
},
{
"type": "section",
"num": "1984",
"label": "Section 1984",
"name": "Omitted"
}
],
"parent": {
"corpusType": "USC",
"titleNumber": 42,
"chapter": "21"
},
"subchapter": "I",
"subchapterName": "GENERALLY",
"popularName": "Public Health and Welfare",
"actStatus": "omitted",
"goodLawStatus": "not_good_law",
"renumberedTo": "",
"transferredTo": "",
"sourceCredit": "",
"amendmentsCount": 0,
"granuleId": "USCODE-2024-title42-chap21-subchapI-sec1984",
"packageId": "USCODE-2024-title42",
"htmlUrl": "https://statutes-us.vaquill.ai/usc/html/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1984.htm",
"pdfUrl": "https://statutes-us.vaquill.ai/usc/pdf/2024/title-42/USCODE-2024-title42-chap21-subchapI-sec1984.pdf",
"govInfoHtmlUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/html/USCODE-2024-title42-chap21-subchapI-sec1984.htm",
"govInfoPdfUrl": "https://www.govinfo.gov/content/pkg/USCODE-2024-title42/pdf/USCODE-2024-title42-chap21-subchapI-sec1984.pdf",
"externalUrl": "https://www.govinfo.gov/app/details/USCODE-2024-title42/USCODE-2024-title42-chap21-subchapI-sec1984"
}
],
"container": "CIVIL RIGHTS",
"processingTimeMs": 9.5,
"creditsConsumed": 6
}{
"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_...
Path Parameters
Section identifier. Encodes the citation's hierarchy: USC_T42_C21_S1983 is Title 42, Chapter 21, Section 1983, the section a lawyer writes as 42 U.S.C. § 1983. Take it from a /statutes/search result rather than assembling it: the title and section are derivable from a citation, but the CHAPTER is not, so hand-built ids usually 404.
3 - 200"USC_T42_C21_S1983"
Query Parameters
How many sections to return on EACH side.
1 <= x <= 103
Response
The section plus its neighbours.
Response for GET /statutes/section/{act_id}/related.
The section you asked about.
Show child attributes
Show child attributes
Sections immediately BEFORE this one in the same container, nearest last.
Show child attributes
Show child attributes
Sections immediately AFTER this one, nearest first.
Show child attributes
Show child attributes
Human label for the grouping the neighbours were drawn from, e.g. the chapter name. Neighbours never cross this boundary.
Server-side time for this request in milliseconds, excluding network transit. Useful for spotting a slow query; not billed on.
240.5
Credits actually charged for this call. Read it rather than assuming the list price: failed and refunded work bills 0, and batch endpoints charge per item returned, so a partial result costs less than a full one.
4
Was this page helpful?

