File size: 895 Bytes
0660570
fca3f00
 
 
 
0660570
 
fca3f00
 
 
0660570
 
fca3f00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: LawForge Data API
emoji: ⚖️
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit
datasets:
  - jonathanagustin/courtlistener-1
---

# LawForge Data API

FastAPI service for querying CourtListener legal data via DuckDB.

## Endpoints

- `GET /` - API info
- `GET /health` - Health check
- `GET /rows/{config}` - Get paginated rows
- `GET /search/{config}?q=query` - Full-text search
- `GET /filter/{config}?where=clause` - SQL WHERE filter
- `GET /opinion/{id}` - Get opinion by ID
- `GET /cluster/{id}` - Get cluster by ID
- `GET /docket/{id}` - Get docket by ID

## Available Configs

- `opinions` - Court opinions
- `opinion-clusters` - Opinion metadata
- `dockets` - Case dockets
- `courts` - Court information
- `citations` - Citation data
- `people-db-people` - Judges and people
- `people-db-positions` - Positions held
- `people-db-schools` - Law schools