API reference · Search
Relevance-ranked search; filter by corpus, state, title
POST /us/statutes/search
Parameters
| Name | In | Description |
|---|---|---|
query | body | Search text |
corpusType | body | Scope, e.g. USC, CFR, STATE |
state | body | Two-letter code, for STATE corpora |
limit | body | Page size |
offset | body | Page offset |
includeBody | body | Return full text with results |
Example request
curl (illustrative)
curl -X POST https://api.lexbharat.example/us/statutes/search \ -H "Authorization: Bearer lb_key_..."
Example response
JSON (mock record)
{
"_mock": true,
"actId": "MOCK_USC_T42_S1983",
"citation": "42 U.S.C. § 1983",
"title": "Civil action for deprivation of rights",
"actStatus": "in_force",
"currentThrough": "2026-09-18"
}Credits: 2. Try this call in the Playground.