Skip to main content
The Casebyte API gives you programmatic access to the same Hong Kong case-law corpus that powers casebyte.ai — roughly 157,000 judgments from the HKSAR courts, with full text, neutral citations, and case-to-case citation links. Search judgments, follow citation links and read recent Daily summaries through one REST API with API-key authentication.

Quickstart

Get an API key and make your first request in under five minutes.

API reference

Endpoints, parameters, response shapes, and error codes.

Search syntax

Phrases, boolean operators, field scoping, and fuzzy matching.

Identifiers

Case IDs, neutral citations, and action numbers — and when to use each.

Daily summaries

Seven days of case summaries for news and video integrations.

What you can do

Search case names and judgment text with phrases, AND/OR/NOT operators, field-scoped queries, and fuzzy matching. Filter by court and date range, paginate with offset/limit.
Look up a case by canonical case ID, neutral citation, or action number. Returns metadata plus the full plain-text judgment.
Returns later judgments that cite the case, deduplicated and sorted by publication date. Includes both direct case-to-case citations and citations by action number.

Base URL

All endpoints live under /v1/. The unauthenticated /health endpoint returns { "status": "ok" } and is suitable for uptime checks.

Authentication

Every request to /v1/* must carry a Bearer token:
API keys are issued from your casebyte.ai dashboard. See Quickstart for the full walkthrough.

Coverage

UK and other Commonwealth jurisdictions are not exposed in v1.

Rate limits

10 requests per minute, per API key. Responses include X-RateLimit-Limit and X-RateLimit-Remaining headers so you can pace yourself; over-limit requests return 429. Full details in Rate limits.

Need more?

If you’re hitting rate limits, need bulk export, or want jurisdictions outside Hong Kong, get in touch at support@casebyte.ai.