
Open data API
Free JSON listings of Sierra Leone laws and judgments, for study, research and non-commercial use.
Posted By lanbuk.com
Lanbuk's catalogue of laws and judgments can be read as JSON from https://www.lanbuk.com/api/v1. No key or sign-up is needed, and the API can be called from any website. It gives listings and page links only: no PDFs or full texts. To read a law or judgment, open its page on Lanbuk.
Endpoints
GET
/api/v1The list of endpoints.
GET
/api/v1/lawsLaws of Sierra Leone, newest Act year first: title, year, Act number, type, topic, long title, page link and the date it was posted on Lanbuk.
Filters: topic (e.g. finance), year, type (e.g. act), q (words in the title), page, per_page (up to 100)
GET
/api/v1/laws/{slug}One law, with Lanbuk's key principles and the Acts in the collection that it amends or repeals, or that amend or repeal it.
GET
/api/v1/judgmentsJudgments on Lanbuk, newest year first: title, parties, court, year, date, neutral citation, file number, page link, posted date, and Lanbuk's classification (areas of law, doctrines, themes and the principle established) where it exists.
Filters: court (e.g. sierra-leone-supreme-court), place (e.g. sierra-leone, ghana), year, area, doctrine, theme, q, page, per_page (up to 100)
GET
/api/v1/judgments/{slug}One judgment, with the judgments on Lanbuk it cites and that cite it.
Slugs are the last part of a page's address, for example /laws/the-finance-act-2021 has the slug the-finance-act-2021. Topic, court, area, doctrine and theme values are the slugs used in the listings and on RSS feeds and alerts. Dates marked posted are when the item was posted on Lanbuk, not when the law was made or the judgment given.
Example
https://www.lanbuk.com/api/v1/judgments?court=sierra-leone-supreme-court&per_page=50
{
"meta": { "source": "https://www.lanbuk.com", "licence": "Free for study, research and non-commercial use, with credit to lanbuk.com. …", "attribution": "Source: lanbuk.com", … },
"page": 1, "per_page": 50, "total": 725, "pages": 15,
"data": [ { "slug": "…", "title": "…", "court": "Sierra Leone — Supreme Court", "year": 2009, "url": "https://www.lanbuk.com/cases/…", … } ]
}Terms of use
- Free for study, research and non-commercial use. Commercial reuse needs Lanbuk's written permission: email info.lanbuk@gmail.com.
- Credit Lanbuk wherever you show or share the data, with "Source: lanbuk.com" and a link to the item's page where you can.
- Principles and classifications marked
principle_by: "lanbuk.com"are Lanbuk's own statements, not the court's words. - This is not legal advice and not an official legal text. Check the official text before relying on it.
- Keep requests reasonable: responses are cached for an hour, so there is no need to call the same address more often. Do not use the API to download the site's files. The rest of the Terms of Use apply.
