LitigationWatch for AI agents
Everything an AI agent needs to watch Australian companies for litigation on someone's behalf. It's plain HTTPS and JSON on this website: no SDK, plug-in or MCP server.
For account owners
Give your AI agent this instruction. Any assistant that can use the web works: there's nothing to install.
Use https://litigationwatch.win to watch these companies for litigation in courts and tribunals in Australia, the UK, Hong Kong, Singapore and the Cayman Islands: [company names]. Read https://litigationwatch.win/llms.txt first, then connect to my account (my email is [your email]) and set everything up.
- Paste it into your assistant, with the companies to watch and your email.
- Approve the email we send you. Check the code matches what your agent shows.
- Pay the Stripe link it sends you. Your agent sets up the rest.
Prefer to do it yourself? Start monitoring in your browser; everything an agent can do, you can do in the app.
For developers and agents: how it works
- Get access. Ask the account owner to approve you (OAuth device flow). If they have no account yet, approving creates one.
- Check the account.
GET /api/v1/accountreturns the plan, usage andnext_steps. - Make sure a plan is active. If not, create a payment link and give it to the owner. The owner always pays; agents never pay or change what is charged.
- Look up the company to get its exact legal name. The lookup covers the official ASIC register (every Australian company) plus the 15,340 companies in our directory.
- Add any Australian company by ACN, ABN or full legal name.
- Get alerts: poll
GET /api/v1/alerts?since=<last id>, or create an alert rule that POSTs matching alerts to your URL. The owner keeps getting alert emails either way.
Base URL: https://litigationwatch.win. All API responses are JSON. Every page on this site is also available as Markdown: add .md to the path (/pricing.md, /index.md) or send Accept: text/markdown. Machine-readable: /llms.txt, /openapi.json, OAuth metadata, resource metadata, API catalog.
1. Get access (device flow)
Standard OAuth 2.0 device authorization grant (RFC 8628). No client registration: choose a short client_id for your agent and a client_name the owner will recognise. Add login_hint (the owner's email) and we email them a link to approve; otherwise show them verification_uri_complete.
curl -s https://litigationwatch.win/oauth/device_authorization \
-d client_id=my-agent \
-d client_name="My Agent" \
-d login_hint=owner@example.com
{
"device_code": "kV3...",
"user_code": "BCDF-GHJK",
"verification_uri": "https://litigationwatch.win/activate",
"verification_uri_complete": "https://litigationwatch.win/activate?code=BCDF-GHJK",
"expires_in": 900,
"interval": 5,
"email_sent": true,
"instructions": "We emailed owner@example.com a link to approve this request. ..."
}
The owner signs in, checks the code matches and approves. Poll every interval seconds until you get tokens:
curl -s https://litigationwatch.win/oauth/token \
-d grant_type=urn:ietf:params:oauth:grant-type:device_code \
-d device_code=kV3... \
-d client_id=my-agent
While waiting you get {"error": "authorization_pending"} (keep polling), slow_down (add 5 seconds to your interval), access_denied or expired_token (stop). On approval:
{
"access_token": "lwat_...",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "lwrt_...",
"scope": "account:read companies:read companies:write ..."
}
Send Authorization: Bearer <access_token> on API calls. Access tokens last an hour. Refresh them before or after they expire; each refresh token works once and returns a new one. Reusing an old refresh token revokes your access, so always store the newest.
curl -s https://litigationwatch.win/oauth/token \
-d grant_type=refresh_token \
-d refresh_token=lwrt_...
Optional parameters: scope (space-separated; omit it to ask for everything below). API keys: owners can also create a key at /app/agents and give it to an agent; send it the same way. It doesn't expire until they remove it.
| Scope | Lets the agent |
|---|---|
account:read | See your account email, plan and usage |
companies:read | See your watchlist |
companies:write | Add, edit and remove companies on your watchlist |
alerts:read | Read your litigation alerts |
alerts:write | Mark alerts as read or unread |
rules:read | See alert rules (where alerts are sent) |
rules:write | Create, change and delete alert rules that send your alerts to web addresses |
billing:read | See your plan and billing status |
billing:write | Create payment links for you to open (you always confirm and pay yourself) |
2. Check the account
curl -s https://litigationwatch.win/api/v1/account \
-H "Authorization: Bearer lwat_..."
Returns account, plan (plan, monitoring_active, company_limit, renews_on, ends_on, payment_overdue), usage, alert counts and next_steps: plain sentences telling you what to do next.
3. Make sure a plan is active
Plans: Standard (US$9/month, 10 companies), Pro (US$29/month, 100 companies), Max (US$99/month, 500 companies). Larger watchlists: Corporate. Create a Stripe Checkout link for the owner (it expires in 24 hours). With "email_owner": true we also email it to them.
curl -s https://litigationwatch.win/api/v1/billing/checkout \
-H "Authorization: Bearer lwat_..." \
-H "Content-Type: application/json" \
-d '{"plan": "standard", "email_owner": true}'
Then poll GET /api/v1/account until plan.monitoring_active is true. Plan changes and cancellations are confirmed by the owner in the app; GET /api/v1/billing gives you the links to send them.
4. Look up any Australian company
Courts record parties by their full legal name, so get it exactly. GET /api/v1/lookup (no token needed) searches ASIC's official company register, which has every registered Australian company (including those without an ABN), their former names, and companies deregistered in the past year. Search by name, former name, ACN or ABN:
curl -s "https://litigationwatch.win/api/v1/lookup?q=canva%20pty%20ltd"
{
"query": "canva pty ltd",
"results": [
{
"legal_name": "CANVA PTY LTD",
"acn": "158929938",
"number_type": "ACN",
"abn": "80158929938",
"entity_type": "Australian proprietary company",
"status": "Registered",
"registered_on": "2012-06-12",
"deregistered_on": null,
"former_names": [],
"matched_former_name": null,
"in_directory": false,
"directory_page_url": null,
"official_links": { "asic_connect": "https://connectonline.asic.gov.au/...", "abn_lookup": "https://abr.business.gov.au/ABN/View?abn=80158929938" },
"source": "register"
},
...
],
"complete": true,
"register": { "status": "ok", "as_at": "2026-11-03" },
"attribution": "Company details: Australian Securities and Investments Commission (ASIC), ASIC – Company Dataset, licensed under CC BY 3.0 AU ..."
}
in_directorysays whether the company is also in our directory (our own snapshot of companies);directory_page_urllinks to its case study in our news, or is null when it has none.sourceisregister(official ASIC data) ordirectory(our own snapshot: shown when the register couldn't be searched, or for a company the register no longer lists, such as one deregistered more than a year ago).- If the register can't be searched, you still get a 200 with
"complete": falseandregister.status: "unavailable", with areasonandretry_after.reasoncaller_limitmeans you've used your own lookup allowance (see limits);busymeans the register is busy for everyone; any other reason means the register itself can't be reached. Withsource=registeryou get an error instead: 429rate_limitedforcaller_limit, otherwise 503register_unavailable.source=directorysearches only our directory. - Repeating the same lookup within a day is free: it doesn't count towards the limits.
- Register data is updated weekly (
register.as_at). For real-time detail a person can followofficial_links. - Keep the
attributionwith the data if you show it to anyone (CC BY 3.0 AU).
5. Add companies
Add any Australian company: by acn or abn alone (we fill in the registered legal name), or by legal_name (optionally with its acn or abn, which we check against the register).
curl -s https://litigationwatch.win/api/v1/companies \
-H "Authorization: Bearer lwat_..." \
-H "Content-Type: application/json" \
-d '{"companies": [
{"acn": "158929938"},
{"abn": "88000014675"},
{"legal_name": "Example Holdings Pty Ltd", "acn": "000000019", "note": "Parent company"}
]}'
{
"added": 2,
"results": [
{ "index": 0, "status": "added", "legal_name": "CANVA PTY LTD", "verified": true, "company": { "id": "ent_...", "acn": "158929938", ... } },
{ "index": 1, "status": "added", "legal_name": "WOOLWORTHS GROUP LIMITED", "verified": true, "company": { ... } },
{ "index": 2, "status": "needs_confirmation", "legal_name": "Example Holdings Pty Ltd", "field": "legal_name",
"register_legal_name": "MONAKA PTY LTD",
"error": "ACN 000 000 019 is registered to \"MONAKA PTY LTD\", not \"Example Holdings Pty Ltd\".",
"hint": "Use the registered legal name, or confirm the name you gave (for example if the company is named in court under another name)." }
],
"companies_count": 2,
"company_limit": 30,
"note": "Added companies are included in the next daily check.",
"attribution": "Company details: Australian Securities and Investments Commission (ASIC), ...",
"next": ["Resend those items with \"allow_unusual_names\": true (name without a company suffix) or \"accept_name_mismatch\": true (name differs from the register) once you have checked them."]
}
Each result has a status:
added: with thecompany.verifiedistruewhen the name is the one on the register (checked, or filled in from it);falsewhen it couldn't be checked against the register, or you kept a different name withaccept_name_mismatch(name_mismatch_accepted: true); anotesays which. There is noverifiedwhen you gave no ACN or ABN.needs_confirmation: the name doesn't end like a company name (resend with"allow_unusual_names": trueif it's right), or it differs from the name registered for the number given (register_legal_name; use that, or resend with"accept_name_mismatch": true, for example when the company is named in court under another name).lookup_failed: only for an item with an ACN or ABN and no name, when its name couldn't be looked up just now (the register is unavailable, your lookup allowance is used up, or the request had more than 25 numbers). It isn't added: retry it afterretry_afterseconds, or send it with itslegal_name. An item with a name and a number is added in that case, withverified: false.invalid(withfield),duplicate(by name or number),limit_reached(with ahintto upgrade).
Each number in a request is one register lookup, up to 25 per request; beyond that, or once the register fails during the request, numbers are checked against our directory only. The response's next lists what to do about any items not added.
Litigation is often against a parent, subsidiary or trustee company, so add related entities too. New companies are included in the next daily check.
Each company's status is monitored, paused (over the plan limit after a downgrade) or not_monitored (no active plan).
6. Get alerts
Poll
Alert ids only increase. Keep the highest id you've seen and ask for newer ones:
curl -s "https://litigationwatch.win/api/v1/alerts?since=0&limit=100" \
-H "Authorization: Bearer lwat_..."
Filters: company_id, jurisdiction (comma-separated: CTH, NSW, VIC, QLD, WA, SA, TAS, ACT, NT, HK, SG; HK is Hong Kong and SG is Singapore), min_confidence (low, medium, high, exact), unread (true/false). Paging: since (ascending) or before with order=desc; limit up to 200; follow next while has_more is true. Mark alerts read with POST /api/v1/alerts/read {"ids": [1042]} or {"all": true}.
{
"id": 1042,
"company_id": "ent_...",
"company_name": "Example Holdings Pty Ltd",
"court": "Federal Court of Australia",
"jurisdiction": "CTH",
"case_number": "NSD 1482/2026",
"case_title": "Northbridge Capital Pty Ltd v Example Holdings Pty Ltd",
"party_name": "EXAMPLE HOLDINGS PTY LTD",
"party_role": "Respondent",
"event_type": "Originating application filed",
"event_date": "2026-11-04",
"summary": "Claim for breach of a supply agreement.",
"source_url": "https://www.fedcourt.gov.au/...",
"confidence": "exact",
"detected_at": "2026-11-05T21:14:03.000Z",
"read": false,
"app_url": "https://litigationwatch.win/app/alerts/1042"
}
confidence says how sure the match is: exact (the legal name as recorded), high, medium (possible match) or low.
Alert rules (push)
A rule sends matching alerts to your HTTPS endpoint, as they happen or once a day as a digest. Only alerts found after the rule is created are sent. Up to 20 rules per account.
curl -s https://litigationwatch.win/api/v1/alert-rules \
-H "Authorization: Bearer lwat_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Federal and NSW, high confidence",
"url": "https://agent.example.com/hooks/litigation",
"filter": { "jurisdictions": ["CTH", "NSW"], "min_confidence": "high" },
"schedule": "instant"
}'
filter(all optional, combined with AND):company_ids(fromGET /api/v1/companies),jurisdictions,min_confidence,keywords(any of them, matched in the court, case title, parties, event or summary).schedule:instant(default) ordaily, withdaily_hour_utc0–23 (default 22, which is morning on the Australian east coast).url: a publichttps://address on the default port. Redirects are not followed.
The response includes a secret, shown once. Test the endpoint with POST /api/v1/alert-rules/{id}/test. Each delivery looks like this:
POST https://agent.example.com/hooks/litigation
Content-Type: application/json
LitigationWatch-Signature: t=1794022334,v1=5f2c...
LitigationWatch-Rule: rule_...
LitigationWatch-Delivery: rule_...-881-2
{
"type": "alerts",
"rule": { "id": "rule_...", "name": "Federal and NSW, high confidence" },
"sent_at": "2026-11-05T21:15:00.000Z",
"alerts": [ { "id": 1042, "court": "Federal Court of Australia", ... } ]
}
Verify the signature: HMAC-SHA256 with the secret over <t>.<raw body>, compared with v1. Reject requests more than 5 minutes old.
import crypto from "node:crypto";
function verify(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
if (Math.abs(Date.now() / 1000 - Number(parts.t)) > 300) return false;
const expected = crypto.createHmac("sha256", secret).update(parts.t + "." + rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}
import hashlib, hmac, time
def verify(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
if abs(time.time() - int(parts["t"])) > 300:
return False
expected = hmac.new(secret.encode(), parts["t"].encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts["v1"])
Answer with any 2xx status within 10 seconds. Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes, 2, 6 and 12 hours. After 20 failed deliveries in a row the rule is paused; resume it with POST /api/v1/alert-rules/{id} {"enabled": true}. The owner can see and delete every rule.
All endpoints
| Method | Path | Scope | Purpose |
|---|---|---|---|
| POST | /oauth/device_authorization | — | Ask the owner for access (device flow) |
| POST | /oauth/token | — | Poll for tokens; refresh tokens |
| POST | /oauth/revoke | — | Revoke a token or API key |
| GET | /api/v1/account | account:read | Plan, usage, alert counts and next steps |
| GET | /api/v1/lookup?q= | — | Look up any Australian company by name, ACN or ABN |
| GET | /api/v1/companies | companies:read | List the watchlist |
| POST | /api/v1/companies | companies:write | Add up to 200 companies |
| GET | /api/v1/companies/{id} | companies:read | One company |
| POST | /api/v1/companies/{id} | companies:write | Change legal name, ACN/ABN or note |
| POST | /api/v1/companies/{id}/delete | companies:write | Remove from the watchlist |
| GET | /api/v1/alerts | alerts:read | Alerts, filtered and paged by id |
| GET | /api/v1/alerts/{id} | alerts:read | One alert |
| POST | /api/v1/alerts/read | alerts:write | Mark alerts read or unread |
| GET | /api/v1/alert-rules | rules:read | List alert rules |
| POST | /api/v1/alert-rules | rules:write | Create a rule (webhook) |
| GET | /api/v1/alert-rules/{id} | rules:read | A rule and its recent deliveries |
| POST | /api/v1/alert-rules/{id} | rules:write | Change a rule (any field, or enabled) |
| POST | /api/v1/alert-rules/{id}/test | rules:write | Send a sample alert to the URL now |
| POST | /api/v1/alert-rules/{id}/rotate-secret | rules:write | New signing secret |
| POST | /api/v1/alert-rules/{id}/delete | rules:write | Delete a rule |
| GET | /api/v1/billing | billing:read | Plan, prices and links for the owner |
| POST | /api/v1/billing/checkout | billing:write | Payment link for the owner to open |
Only GET and POST are used. The full schema is at /openapi.json.
Errors and limits
Errors use RFC 9457 problem details with a hint saying what to do next. OAuth endpoints use the standard {"error", "error_description"} form.
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json
{
"type": "https://litigationwatch.win/agents#errors",
"title": "plan_required",
"status": 402,
"detail": "This account has no active plan, so companies can't be added yet.",
"hint": "Create a payment link with POST /api/v1/billing/checkout {\"plan\":\"standard\"} and give it to owner@example.com. Once they pay, retry."
}
Common title values: invalid_token, token_expired (refresh it), insufficient_scope, plan_required, invalid_field (with field), needs_confirmation, not_found, register_unavailable, rate_limited (with retry_after and a Retry-After header).
Limits:
- API requests: 120 a minute per agent; 60 a minute per IP for endpoints without a token.
- Register lookups (repeats of the same lookup within a day are free): 60 a minute and 3,000 a day per account, shared by the owner and all their agents; without a token, 10 a minute and 200 a day per connection. When the register is busy for everyone,
reasonisbusy. - Up to 25 register lookups per add request, and 200 companies per request.
- Test alerts: 10 per 10 minutes per account. Access requests: 10 per 10 minutes per IP.
Acting for the owner
- Act only on the owner's instructions. They approve your access, see everything you set up at /app/agents, and can remove it at any time.
- Never pay or try to get around payment. Send the owner a link; they decide.
- The case studies in our news don't list court cases and don't suggest a company is involved in any. Don't present them as evidence of litigation.
- We can only see what courts and tribunals publish. Suppressed or confidential matters aren't visible to anyone outside the court. Alerts aren't legal advice.
Questions: contact support.