GET
/api/v1/statutes
Search and filter U.S. federal and state statutes. Returns statute summaries with metadata.
Parameters
| Parameter | Type | Description |
|---|---|---|
jurisdiction | string | Jurisdiction ID or abbreviation |
topic | string | Topic keyword filter |
limit | number | Results per page (default: 20, max: 100) |
offset | number | Skip N results for pagination |
Code Samples
curl
curl "https://federalstatelaw.com/api/v1/statutes?jurisdiction=federal&topic=civil-rights&limit=5"
JavaScript (fetch)
const res = await fetch(
"https://federalstatelaw.com/api/v1/statutes?jurisdiction=federal&topic=civil-rights&limit=5"
);
const { data, meta } = await res.json();
console.log(`Found ${meta.total} statutes`);
data.forEach(s => {
console.log(`${s.sectionNumber} — ${s.title}`);
});Python (requests)
import requests
res = requests.get(
"https://federalstatelaw.com/api/v1/statutes",
params={"jurisdiction": "federal", "topic": "civil-rights", "limit": 5}
)
data = res.json()
print(f"Found {data['meta']['total']} statutes")
for s in data["data"]:
print(f"{s['sectionNumber']} — {s['title']}")Example Response
JSON
{
"data": [
{
"id": "fed-cra-1964",
"jurisdiction": "United States Federal",
"jurisdictionId": "federal",
"title": "Civil Rights Act of 1964 – Title VII",
"titleNumber": "42",
"sectionNumber": "§ 2000e",
"status": "active",
"effectiveDate": "1964-07-02",
"topics": ["civil-rights", "labor"],
"summary": "Employers cannot discriminate..."
}
],
"meta": { "total": 12, "limit": 5, "offset": 0, "hasMore": true }
}Citing this endpoint
If you publish results from this endpoint, see our Citation Guide for correct attribution of public-domain U.S. legal materials.
Related
This is legal information, not legal advice. Laws vary by jurisdiction and change frequently. Always verify current law with official sources and consult a licensed attorney in your jurisdiction for advice on your specific situation.