Search Philippine law the way you think.
Natural language search over Supreme Court decisions and Republic Acts — from a clean dashboard or directly via API. Grounded in real Philippine legal data.
Writ of Amparo habeas corpus
2h ago
right to counsel during custodial investigation
5h ago
just compensation eminent domain
1d ago
illegal dismissal burden of proof
2d ago
Republic Act 9262 VAWC penalties
3d ago
Legal Search
Search Philippine law and jurisprudence using natural language.
The Writ of Amparo is an extraordinary remedy providing protection to persons whose right to life, liberty, and security is violated or threatened by any public official or private individual. It covers situations of enforced disappearances and extrajudicial killings.
Dela Cruz v. Office of the Solicitor General
The writ is a remedy available to any person whose right to life, liberty and security is violated or threatened by an unlawful act or omission of a public official or private individual…
Reyes v. Commission on Human Rights
Petitioner filed for the issuance of the writ on grounds that respondents failed to investigate alleged threats to his life and liberty despite repeated requests for protective measures…
Sub-200ms median latency · Dashboard + API · Hosted in Manila on AWS
What you get
Built for how legal
research actually works.
Whether you're a lawyer, researcher, or developer — one platform, real results, grounded in Philippine law.
Natural Language Search
Ask questions the way you'd ask a lawyer. No Boolean operators, no keywords — the engine understands meaning, not just words.
Dashboard + API
Search from the web dashboard with no code, or integrate via REST API. Both use the same ranked results and AI summary.
Near-Zero Hallucination
Every result is grounded in real SC decisions and Republic Acts. The AI summarizes only what it finds — it never invents cases.
SC Decisions + Statutes
Search across Supreme Court decisions and statute provisions in one place. Filter by document type to narrow your scope.
Search History
Every dashboard search is saved. Revisit previous results instantly — no repeat charges, no re-querying.
Zero-Retention AI
AI queries are never stored or used for model training. Your searches stay private — and your corpus of truth stays fixed.
In legal research,
hallucination is malpractice.
General-purpose AI tools generate plausible-sounding case citations that don't exist. Lawyers have already been sanctioned for submitting fabricated rulings to courts around the world.
BatasDB doesn't generate legal text. It searches a verified corpus of real Supreme Court decisions and Republic Acts, then summarizes only what it finds. Every citation maps to a real document you can verify.
Every result is grounded in real, verified Philippine legal documents.
Disbarment
Lawyers who cite fabricated cases face disciplinary action — including suspension or disbarment — for misleading the court.
Case dismissal
Motions built on hallucinated citations get thrown out. Judges have sanctioned attorneys for filing AI-generated briefs with fake case law.
Client harm
Wrong legal advice based on invented precedent can cost clients their freedom, property, or livelihood. The stakes are not theoretical.
BatasDB: search, not generation
Results come from a curated legal corpus — not from a language model making things up. What you see is what exists.
Getting started
Live in minutes.
Search from the dashboard with no code, or plug the API into your app. Either way, you're up and running fast.
No code required
Create a free account
Sign up at app.batasdb.ph. No credit card required.
Open Search and ask
Type your question in plain Filipino or English. Get ranked SC decisions and statutes with an AI summary — in seconds.
Revisit anytime from history
Every search is saved. Click any past query to load its results instantly — no re-search, no charge.
One API call away
01 · Get your key
export BATASDB_KEY=bb_live_xxxxxxxxxxxxxxxxxx
02 · Search
curl -X POST https://api.batasdb.com/search \ -H "X-API-Key: $BATASDB_KEY" \ -d '{"query":"right to counsel","limit":5}'
03 · Use the results
// result.case.gr_number → G.R. No. // result.match.excerpt → relevant passage // result.source.url → official e-Library // result.score → relevance 0–1
Use cases
Who searches with BatasDB.
From solo practitioners to development teams building the next generation of Philippine legal tools.
Lawyers & Legal Researchers
Find the right case in seconds, not hours.
Skip the manual e-Library browsing. Ask a natural-language question and surface ranked SC decisions and statutes with an AI summary grounded in real jurisprudence — near-zero hallucination.
Get startedAI Legal Assistants
Ground your LLM in real Philippine jurisprudence.
Use BatasDB as the retrieval layer in a RAG pipeline. Feed verified SC decisions and statutes as context before generation — so your AI never invents a case that doesn't exist.
Get startedCompliance & LegalTech
Automate statute lookup at scale.
Filter by statute_provision to find the exact legal text for any business scenario. Build compliance tools, contract checkers, or internal legal portals — all on real, current Philippine law.
Get startedNear-zero hallucination — by design.
General-purpose AI models often fabricate case citations, invent GR numbers, or misstate the law — because they were never trained on the full Philippine legal corpus. BatasDB retrieves real, verified documents first, then summarizes only what it finds. Your answers are grounded in actual jurisprudence, not approximations.
Philippine law, at your
fingertips. For free.
Search from the dashboard — no code, no setup. Or integrate via API. Free tier included, no credit card required.