LAW API
Build on intelligence.
The LAW API gives approved platforms access to 1,900,000+ curated legal passages, 530,080 citation references, 87,085 cross-references, source-reader links, law-guide element maps, and citation verification.
Authentication
All API requests require an API key passed via the X-API-Key header. Keys inherit your subscription tier and its rate limits.
Generate a key from your dashboard. Raw keys are shown once — store them securely.
Endpoints
/api/v1/searchFull-text search across 1,900,000+ legal passages with citation-aware ranking, law-guide context, source-reader links, and budget controls.
qstringrequiredSearch querylimitnumberoptionalResults to return (default 10, max 50)/api/v1/breakdownTiered legal analysis of a statute with plain-English explanation and case law.
statutestringrequiredStatute citation (e.g. 42 USC 1983)tierstringoptionalBreakdown depth — follows your subscription tier (essential · practitioner · enterprise)/api/v1/verifyVerify citations in a text block against the Gage primary source library.
textstring (body)requiredText containing citations to verifyCode examples
Search endpoint — replace law_your_key with your actual key
curl -H "X-API-Key: law_your_key" \ "https://law.gagegreengroup.com/api/v1/search?q=habeas+corpus"
const res = await fetch(
'https://law.gagegreengroup.com/api/v1/search?q=habeas+corpus',
{ headers: { 'X-API-Key': 'law_your_key' } }
)
const data = await res.json()
// { results: [{ title, source, excerpt, lawGuide: { answer, elements, proofPath, neuralMap } }] }import requests
r = requests.get(
'https://law.gagegreengroup.com/api/v1/search',
headers={'X-API-Key': 'law_your_key'},
params={'q': 'habeas corpus'}
)
data = r.json() # results may include lawGuide answer, element map, and proof chain contextAccess
| Tier | Access | API rate limit |
|---|---|---|
| Counsel | Dashboard workspace | — |
| Guardian | Dashboard workspace | — |
| Advocate | Dashboard workspace | — |
| Enterprise | Full programmatic API | 20 / min |
Programmatic API access is included with the Enterprise tier. Every key shares a 20-requests-per-minute limit.
Ready to build?
Generate your API key from the dashboard and start integrating in minutes.