Don't have a key? Contact contact@lawyard.org
Keep this key private. To request a new key, contact contact@lawyard.org.
Pass your API key as a request header:
Also accepted as Authorization: Bearer lw_…
| Method | Path | Description | Auth |
|---|---|---|---|
| GET | /api/v1/news | Paginated news feed | Optional |
| GET | /api/v1/news/:id | Single article by ID | Optional |
| GET | /api/v1/jurisdictions | List all countries | Optional |
| GET | /api/v1/jurisdictions/tree | Full Africa → region → country → state hierarchy | Optional |
| GET | /api/v1/categories | List all categories | Optional |
| GET | /api/v1/usage | Your usage stats | Required |
| Parameter | Type | Description |
|---|---|---|
| jurisdiction | string | Filter by country |
| category | string | Filter by category |
| from | YYYY-MM-DD | On or after this date |
| to | YYYY-MM-DD | On or before this date |
| per_page | 1–100 | Results per page (default 20) |
| cursor | string | Pagination cursor |