Skip to main content

New: DOJ Justice Manual, USCIS Policy Manual, USPTO MPEP/TMEP, and DFARS PGI are now in the API. See what's covered.

Get started

Quickstart

Search US statutes and fetch a section in a few minutes.

1. Get an API key#

Create an account and generate a key in the dashboard. Keys start with a fixed prefix so they are easy to spot in logs.

curl (illustrative)
curl -X POST https://api.lexbharat.example/api/v1/us/statutes/search \
  -H "Authorization: Bearer lb_key_..." \
  -H "Content-Type: application/json" \
  -d '{ "query": "security deposit return", "corpusType": "STATE", "state": "ca" }'

Results are ranked sections. Each carries an actId, a citation, a title and an excerpt.

3. Fetch the full text#

curl (illustrative)
curl -G https://api.lexbharat.example/api/v1/us/statutes/section/{actId}/body \
  -H "Authorization: Bearer lb_key_..."

4. Discover coverage#

Call the coverage endpoint to see which corpora exist for which jurisdictions before treating an empty result as an absence of law.

Last modified on October 20, 2026

Was this page helpful?