# iGregulator — full documentation Every guide page at https://igregulator.io/docs/, as markdown, in sidebar order. Generated 2026-10-30; served at https://igregulator.io/llms-full.txt. Each page is also available on its own at the `Markdown:` URL under its title (or send `Accept: text/markdown` to the page URL). Index: https://igregulator.io/llms.txt. Canonical API schema: https://api.igregulator.io/openapi.json Coverage: ~7,300 licence records read from the fourteen regulators' registers (every status, not only active), ~6,200 operators, and ~10,600 public brand pages (one per domain currently linked to a licence; subdomains fold into their parent). Counted at build time (2026-10-30) from https://app.igregulator.io/sitemap.xml. Figures quoted inside individual pages are approximate and dated where the page says so. Per-register freshness, live: https://igregulator.io/status/ (JSON: https://api.igregulator.io/v1/health/coverage). How we verify — the source of each status per jurisdiction, stored evidence, corrections: https://igregulator.io/methodology/ Only `active` means licensed now; read the status vocabulary in https://igregulator.io/llms.txt before reporting a verdict. ## Public records (no key, no login) Read-only pages on app.igregulator.io, built from the same data as the API. Construct the URL directly, or enumerate the pages from . - `https://app.igregulator.io/brands/` (e.g. ): answers "who owns ?" and "is licensed?" — the operator(s) behind the domain, regulator, licence number, current status, and a "verify on the regulator's own page" link where one exists. `` is the bare lowercase hostname as the register lists it — usually the apex (`bet365.com`); if a `www.` form 404s, try it without. Only domains currently linked to a licence have a page, so a 404 means we publish no brand page for that domain — NOT that it is unlicensed; for a scoped verdict ask `/v1/check` (below). - `https://app.igregulator.io/operators/` (e.g. ): one legal entity — its licences in every jurisdiction, its domains, recent regulatory actions; schema.org Organization JSON-LD. Find a slug with `https://api.igregulator.io/v1/operators/search?q=` or the directory. - `https://app.igregulator.io/licenses/`: one licence by its iGregulator id (a UUID, from `/v1/check`, an operator page or the API) — number, status, the source that published that status, status history. - and : A–Z directories; `?letter=a` … `?letter=z`, or `?letter=0-9`. - : plans and quotas. - `https://app.igregulator.io/badge/.svg`: the same verdict as an embeddable SVG badge, with the domain and our read date on it ([details](https://igregulator.io/docs/badge/)). Machine-readable, also without a key: - `https://api.igregulator.io/v1/check?domain=`: the JSON verdict (`verdict` + a quotable `verdict_detail`), 10 requests/hour per IP — a counter per route, shared with keyless MCP calls from the same IP. On a miss it returns `match_absence_reason` + `checked_jurisdictions` — a miss is scoped to the registers we check, never "unlicensed". - `https://mcp.igregulator.io/mcp`: MCP server (streamable HTTP); `check_domain`, `search_operators`, `list_jurisdictions` and `check_coverage` work without a key; setup at . - `https://mcp.igregulator.io/mcp/account`: the same MCP server, signed in — the URL to add as a custom connector in claude.ai, ChatGPT or Claude Code; the user signs in to their iGregulator account (OAuth 2.1) and all ten tools work on their plan. --- # Introduction URL: https://igregulator.io/docs/ Markdown: https://igregulator.io/docs.md > iGregulator API docs: verify gambling licences by domain, operator or licence number against regulator registers. REST API and MCP, keyless lookups free; every status sourced. > **Legal notice** > > Information provided by iGregulator is sourced from public regulator > records and is intended for **informational purposes only**. License > verification results do not constitute legal advice. Customers are > responsible for their own compliance, KYB, and AML decisions. Always > confirm critical licensing decisions directly with the issuing > regulator. Full terms at [/terms](https://igregulator.io/terms/). iGregulator is a REST API for verifying **iGaming operator licences** against fourteen public registers, each with a short API code — `UKGC` (UK Gambling Commission), `MGA` (Malta Gaming Authority), `CW` (Curaçao Gaming Authority, post-LOK), `KH` (Kahnawake Gaming Commission), `AN` (Anjouan Gaming Authority), `TGC` (Tobique Gaming Commission), `IOM` (Isle of Man Gambling Supervision Commission), `ON` (Ontario — iGaming Ontario's operator directory, the public list of the operators the AGCO registers), `SE` (Sweden — the Swedish Gambling Authority's licence register, Spelinspektionen: commercial online gaming and betting licences only), `ES` (Spain — the Dirección General de Ordenación del Juego, DGOJ: state-level online licences only), `BE` (Belgium — the Belgian Gaming Commission, Kansspelcommissie: online licences A+, B+ and F1+ only), `DE` (Germany — the Gemeinsame Glücksspielbehörde der Länder, GGL: the four internet game types on its official whitelist only), `CO` (Colombia — Coljuegos: its online gaming concessions only) and `UA` (Ukraine — the State Agency PlayCity: its online casino, online poker and bookmaking licences only). Every register is read daily; each status shows when we last read it. Live per-register freshness: [igregulator.io/status](https://igregulator.io/status/) (Tobique's site currently blocks most automated reads). Kahnawake, Tobique, the Isle of Man, Ontario, Sweden, Spain, Belgium, Germany and Ukraine publish **no licence number**. For those nine, the `license_number` we return (`KH/IG/…`, `KH/CSPA/…`, `TGC/B2C/…`, `IOM/OGRA/…`, `ON/IGO/…`, `SE/ONLINE/…`, `SE/BETTING/…`, `ES/APUESTAS/…`, `ES/CONCURSOS/…`, `ES/OTROS-JUEGOS/…`, `BE/APLUS/…`, `BE/BPLUS/…`, `BE/F1PLUS/…`, `DE/SLOTS/…`, `DE/POKER/…`, `DE/SPORTS/…`, `DE/HORSES/…`, `UA/CASINO/…`, `UA/POKER/…`, `UA/BETTING/…`) is an iGregulator reference that identifies the record in our API — not a number the regulator issued, and not something to quote to the regulator. > **Building with AI?** → [/docs/for-ai-agents](https://igregulator.io/docs/for-ai-agents/) > covers MCP, structured errors, `_meta` provenance, and > machine-readable resources (llms.txt, OpenAPI) for LLM integrations. ## What you can do with it - **Verify a domain** — hit `GET /v1/check?domain=X` and get a `verdict` (`licensed`, `licensed_provisional`, or why not), a sentence to quote, and the operator + licence behind it in one round-trip. Dual-licensed brands come back with every (operator, jurisdiction) pair; where the regulator runs a per-domain verification page (Curaçao, Tobique), `verification_url` links straight to the primary source. - **Look up an operator** — search by name, registered name or slug via `GET /v1/operators/search?q=…` and drill into licences, domain portfolios, and regulatory actions. - **Pull a whole jurisdiction** — paginate `GET /v1/jurisdictions/:code/operators` for every operator that has held a licence in that jurisdiction, whatever its status — the list has no status field, so check each operator's licence `status` via `GET /v1/operators/:slug`; only `active` is licensed now. - **Track regulatory actions** — enforcement decisions (fines, warnings, licence revocations) surface via `GET /v1/operators/:slug/regulatory-actions`. ## Data coverage Fourteen registers, each read daily. Live counts per register — licence records, how many `active`, operators, domains — are [`/v1/stats`](https://api.igregulator.io/v1/stats), each with its definition; we do not copy them here, where they would go stale. | Jurisdiction | Source | Cadence | | --- | --- | --- | | `UKGC` (UK Gambling Commission) | Public register ZIP | Daily 03:00 UTC | | `MGA` (Malta Gaming Authority) | Playwright-scraped SPA | Daily 03:15 UTC | | `CW` (Curaçao Gaming Authority) | OGL PDF + `/token` registry | Daily 03:30 UTC | | `KH` (Kahnawake Gaming Commission) | Interactive Gaming + CSPA HTML | Daily 03:45 UTC | | `AN` (Anjouan Gaming Authority) | Embedded JSON on register page | Daily 04:00 UTC | | `TGC` (Tobique Gaming Commission) | Static HTML table (via CF Worker proxy) | Daily 04:15 UTC | | `IOM` (Isle of Man Gambling Supervision Commission) | Register HTML page (+ its .xlsx as a cross-check) | Daily 04:25 UTC | | `SE` (Swedish Gambling Authority, Spelinspektionen) | Register Excel export — online gaming and betting licences only | Daily 04:35 UTC | | `ON` (iGaming Ontario operator directory) | Directory HTML page | Daily 04:50 UTC | | `ES` (Dirección General de Ordenación del Juego, DGOJ) | Operators-with-a-licence list + each operator's page — state-level online licences only | Daily 05:05 UTC | | `BE` (Belgian Gaming Commission, Kansspelcommissie) | The Commission's three published JSON lists of active licences — online classes A+, B+, F1+ only | Daily 05:20 UTC | | `DE` (Gemeinsame Glücksspielbehörde der Länder, GGL) | The GGL's official whitelist page — its four internet game types only | Daily 05:25 UTC | | `CO` (Coljuegos) | Coljuegos' page of authorised online operators — online gaming concessions only | Daily 05:30 UTC | | `UA` (State Agency of Ukraine PlayCity) | PlayCity's register of every licence (a PDF linked from its home page) — online casino, online poker and bookmaking only | Daily 05:35 UTC | **Sweden is two licence types, not the whole register:** commercial online gaming (`Kommersiellt online`) and betting (`Kommersiellt vadhållning`). Software permits, land-based gaming, state gaming machines, ships, and public-benefit and state lotteries are not loaded — some lotteries run websites, and `/v1/check` answers `not_found` for them. That is not a finding that the site is unlicensed. **Spain is the DGOJ's state-level online licences only:** one record per general licence (`Apuestas`, `Concursos`, `Otros juegos`), with the singular licences under it (`Ruleta`, `Póquer`, …) as its `license_types`. The state lotteries (SELAE — Loterías y Apuestas del Estado — and ONCE) are reserved by law and hold no DGOJ licence, and land-based and regional gambling is licensed by the autonomous communities: none of that is in our data, so `not_found` for such a site is not a finding that it is unlicensed. **Belgium is the Gaming Commission's three online licence classes only:** `A+` (online casino games), `B+` (online arcade games) and `F1+` (online betting), each the online extension of a land licence. Land-based licences (`A`, `B`, `C`, `F2`) and the Loterie Nationale are not in our data. A licence the Commission still lists past its expiration date stays `active`, with that date as its `expiry_date`: the list is the Commission's list of active licences, and we do not overrule it. **Germany is the GGL's four internet game types only:** virtual slots (`Virtuelle Automatenspiele`), `Online-Poker`, sports betting (`Sportwetten`) and online horse betting (`Pferdewetten im Internet`). Online casino table games licensed by a Land (Schleswig-Holstein, Bayern), lotteries (the state DLTB lotteries, lottery brokers, charity lotteries) and land casinos are not in our data, so `not_found` for such a site is not a finding that it is unlicensed. **Colombia is Coljuegos' online gaming concessions only:** one record per concession contract (`Juegos operados por internet`), its `license_number` Coljuegos' own contract number (`2182`, `C2261`) — the regulator's, not ours. Land-based gaming (*juegos localizados*) and the lotteries are not in our data, so `not_found` for such a site is not a finding that it is unlicensed. **Ukraine is PlayCity's online licences only:** online casino, online poker and bookmaking, one record per issuing decision. PlayCity prints no licence number, so `license_number` is our reference (`UA/CASINO/…`). The register is in Ukrainian; licence types, operator names (transliterated) and `upstream_status` are English. PlayCity prints revocations, expiries and its own terminations on the licence's row: `revoked`, `expired`, and a licence it terminated by its own decision with no grounds printed is also `revoked`, its wording kept in `upstream_status`; a licence whose last entry is a court's ruling is `unknown`. Land casinos, slot halls and the state lotteries are not in our data, so `not_found` for such a site is not a finding that it is unlicensed. **Ontario, Sweden, Spain, Belgium, Germany and Colombia publish no revocations in a form we read**, so a licence there is only ever `active` or `not_in_register` (Sweden also `unknown`, for a status word other than `Aktiv`). iGaming Ontario's directory states an "accurate as of" date of its own and is served through a long cache; the time we report is when we read it. The regulator's own per-domain verification pages (Curaçao certificate / Tobique seal) back a large share of the domain links; they are re-read on a rolling schedule (every Tobique seal nightly, each Curaçao certificate every 2–3 days) and surfaced as `verification_url` on [`/v1/check`](https://igregulator.io/docs/confidence/). The current figures, each with its definition, are [`/v1/stats`](https://api.igregulator.io/v1/stats). Live freshness per register at [`/v1/health/coverage`](https://api.igregulator.io/v1/health/coverage); how coverage is measured at [coverage methodology](https://igregulator.io/docs/coverage-methodology/). Which regulator page sets each status, the evidence we keep and how we correct mistakes: our [methodology](https://igregulator.io/methodology/). ## Who it's for Five buyer profiles drive the product today: - **Affiliate sites** — verify that a brand they're promoting is still licensed before writing reviews and paying out referral payments. - **Compliance + AML teams** — weekly sweeps of their operator counterparties for status changes and enforcement actions. - **Payment providers** — merchant onboarding checks + ongoing KYB. - **Investment intelligence** — correlate licence churn, enforcement fines, and domain-expiry signals into early-warning scores. - **Game providers and aggregators** — check that the casinos carrying their games hold a licence, follow those licences for changes, and (Business) see where the sites open: a supplier answers for supplying an unlicensed operator in its own licence's markets. ## Start here 1. [Getting started](https://igregulator.io/docs/getting-started/) — first curl call in under a minute. 2. [Authentication](https://igregulator.io/docs/authentication/) — when you graduate from the public 10 req/hr limit. 3. [Confidence scoring](https://igregulator.io/docs/confidence/) — how the `/v1/check` endpoint picks between `high`, `medium`, and `low`. 4. [API playground](https://igregulator.io/docs/playground/) — try any endpoint interactively. 5. [Full endpoint reference](https://igregulator.io/docs/api/) — detailed schemas for every route. --- # Getting started URL: https://igregulator.io/docs/getting-started/ Markdown: https://igregulator.io/docs/getting-started.md > Make your first iGregulator API call in under a minute: check a casino domain's gambling licence with curl, no API key needed, then read status and source. The fastest path to a working integration. You won't need an API key for this walk-through — the `/v1/check` endpoint is public at 10 requests per IP per hour. ## 1. Send your first request ```bash curl https://api.igregulator.io/v1/check?domain=bet365.com ``` Response: ```json { "query": { "domain": "bet365.com" }, "verdict": "licensed", "verdict_detail": "bet365.com is listed, as of our read on 2026-09-30, on an active UK Gambling Commission licence held by Hillside (UK Gaming) ENC (licence 055149-R-331499-004); see jurisdictions[] for this domain's 2 other operator links.", "match": { "confidence": "high", "match_type": "domain_exact", "operator": "Hillside (UK Gaming) ENC", "operator_slug": "hillside-uk-gaming-enc", "jurisdiction": "UKGC", "regulator_name": "UK Gambling Commission", "license_id": "ea65fd0a-7434-45db-9ac5-8ae5de967423", "license_number": "055149-R-331499-004", "license_reference_is_ours": false, "status": "active", "status_source_url": "https://www.gamblingcommission.gov.uk/downloads/business-licence-data.zip", "status_observed_at": "2026-09-30T03:00:24.581Z", "expires_at": null, "domain_association": "direct", "domain_status": "active", "matched_domain": "bet365.com", "domain_last_listed_at": "2026-09-30T03:00:24.582Z", "upstream_status": "Active", "status_qualifier": null, "verification_url": null, "verification_page_kind": null, "verification_page_status": null, "verification_page_read_at": null }, "alternatives": [], "jurisdictions": [ { "operator": "Hillside (UK Gaming) ENC", "jurisdiction": "UKGC", "license_reference_is_ours": false, "status": "active", "status_qualifier": null, "domain_status": "active", "verification_url": null, "register": { "jurisdiction": "UKGC", "last_read_at": "2026-09-30T03:00:26.364Z", "fresh": true, "sla_hours": 24 } }, { "operator": "Hillside (UK Sports) ENC", "jurisdiction": "UKGC", "license_reference_is_ours": false, "status": "active", "status_qualifier": null, "domain_status": "active", "verification_url": null, "register": { "jurisdiction": "UKGC", "last_read_at": "2026-09-30T03:00:26.364Z", "fresh": true, "sla_hours": 24 } }, { "operator": "Hillside (New Media Malta) Plc", "jurisdiction": "MGA", "license_reference_is_ours": false, "status": "expired", "status_qualifier": null, "domain_status": "active", "verification_url": null, "register": { "jurisdiction": "MGA", "last_read_at": "2026-09-30T03:34:21.577Z", "fresh": true, "sla_hours": 48 } } ], "confidence": "high", "_meta": { "scraped_at": "2026-09-30T03:00:24.581Z", "source_modified_at": null, "source_url": "https://www.gamblingcommission.gov.uk/downloads/business-licence-data.zip", "confidence_hint": "authoritative", "checked_at": "2026-09-30T18:48:03.561Z", "register": { "jurisdiction": "UKGC", "last_read_at": "2026-09-30T03:00:26.364Z", "fresh": true, "sla_hours": 24 } } } ``` That's it — no signup, no key. (`jurisdictions[]` rows are trimmed here; each also carries `operator_slug`, `license_number`, `domain_association`, `matched_domain`, `verification_page_kind` and `verification_page_status` / `verification_page_read_at`.) **Read `verdict` first**: it puts `status`, `domain_status`, `status_qualifier` and `confidence` together into one answer — `licensed`, `licensed_provisional`, `licence_not_active`, `domain_not_listed`, `related_host_listed`, `name_match_only`, `not_found` or `generic_term` — and `verdict_detail` says it in one sentence you can quote as it stands (it names the regulator, never calls anything "unlicensed", and scopes a miss to the registers we cover). Only `licensed` and `licensed_provisional` mean licensed now; treat every other value as "not confirmed as licensed" and show the sentence: ```js const { verdict, verdict_detail } = await ( await fetch('https://api.igregulator.io/v1/check?domain=bet365.com') ).json(); const ok = verdict === 'licensed' || verdict === 'licensed_provisional'; // licensed_provisional: in force, provisionally — say so, and check again later. console.log(ok ? 'licensed' : `not confirmed (${verdict})`, '—', verdict_detail); ``` The `match` object is the detail behind the verdict; `alternatives[]` populates when we're not 100% sure, and the optional `jurisdictions[]` array appears when more than one (operator, jurisdiction) pair licenses the domain — bet365.com is held by several Hillside entities at once, each row with its own licence status and the freshness of its own register (`register`). Where the regulator publishes a per-domain verification page (Curaçao certificate, Tobique seal), `match.verification_url` links straight to it. See [confidence scoring](https://igregulator.io/docs/confidence/) for the semantics. `www.bet365.com` gets the same answer: a host and its `www.` counterpart are the same site, and `match.matched_domain` names the one the register lists. Any other subdomain (`sports.bet365.com`) is not the listed host — it answers `related_host_listed`, with the hosts that are listed in `related_hosts[]` ([which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain)). **`confidence` is about the match, not the licence.** `confidence: high` means we are sure *which* licence this domain belongs to — read `status` for whether that licence is any good, and `domain_status` for whether it still covers this site (`delisted` = the regulator no longer lists the domain on it). Only `active` means licensed now: the third row above is a high-confidence match to an `expired` MGA licence. `verdict` does this reading for you, for `match`. To cite the answer: `match.regulator_name` names the regulator, `match.status_source_url` is the page that published the status and `match.status_observed_at` the latest read of it that still said so; `match.domain_last_listed_at` is when a regulator source last listed the domain on that licence (`null` once it is de-listed — we keep no "de-listed since" time). `_meta.register` says when we last read that register and whether the read is inside its freshness window (24 h or 48 h, as on `/v1/health/coverage`); on a miss, `_meta.stale_jurisdictions` lists the registers past theirs. For since when a licence has been unlisted (`not_listed_since`, `last_listed_at`) and its history, pass `match.license_id` to `GET /v1/licenses/{id}`. `_meta.checked_at` is when the answer was computed. ## 2. Verify by licence number Compliance teams often receive a licence number from a regulator and need the reverse lookup — who holds it and what's its status? Same endpoint, different query param: ```bash curl "https://api.igregulator.io/v1/check?license_number=055148-R-331498-002" ``` Returns the same `{ query, verdict, verdict_detail, match, alternatives, confidence }` shape, with `match.match_type: "license_number"`; `confidence: high` when the licence number is in a register we cover, and `verdict` is about the licence alone (`licensed`, `licensed_provisional` or `licence_not_active` — there is no domain to be listed). On a miss `confidence` is absent (treat it as `none`): `verdict` is `not_found`, `match` is `null`, with `match_absence_reason: "no_record_found"` and the `checked_jurisdictions` we searched. Pass `?domain=` **or** `?license_number=`, not both. The number is matched on its letters and digits alone — case, spaces and separators don't matter, so `mga/b2c/775/2019` and `MGA B2C 775 2019` both find `MGA/B2C/775/2019`. The UK Gambling Commission steps the last part of a number when it varies a licence (`055148-R-331498-001` became `…-002`), and its register prints only the latest. An **earlier** number of a licence we hold still finds it: `match` is the licence as the register lists it now, `superseded_number` says so — `{ "requested": "055148-R-331498-001", "current": "055148-R-331498-002", "note": "…" }` — and `verdict_detail` opens with that note. A number *later* than the one we hold is not resolved: the register has not shown it to us. Kahnawake, Tobique, the Isle of Man, Ontario, Sweden, Spain, Belgium, Germany and Ukraine publish no licence number. For their licences, `license_number` is an iGregulator reference (`KH/IG/…`, `KH/CSPA/…`, `TGC/B2C/…`, `IOM/OGRA/…`, `ON/IGO/…`, `SE/ONLINE/…`, `SE/BETTING/…`, `ES/APUESTAS/…`, `ES/CONCURSOS/…`, `ES/OTROS-JUEGOS/…`, `BE/APLUS/…`, `BE/BPLUS/…`, `BE/F1PLUS/…`, `DE/SLOTS/…`, `DE/POKER/…`, `DE/SPORTS/…`, `DE/HORSES/…`, `UA/CASINO/…`, `UA/POKER/…`, `UA/BETTING/…`) and `match.license_reference_is_ours` is `true` — it round-trips through this endpoint, but it is not a number the regulator issued; look those operators up by domain or name. ## 3. Try a name match ```bash curl https://api.igregulator.io/v1/check?domain=coral.com ``` No register we cover lists `coral.com` or any other host on it, but its name is a trading name in the UKGC register, so the trading-name fallback finds an operator — and says that is all it is: ```json { "query": { "domain": "coral.com" }, "verdict": "name_match_only", "verdict_detail": "We hold no licence that lists coral.com; its name closely resembles a trading name of Ladbrokes Betting & Gaming Limited, whose UK Gambling Commission licence is active — a name match, not evidence that this domain is theirs.", "match": { "confidence": "medium", "match_type": "trading_name_fuzzy", "operator": "Ladbrokes Betting & Gaming Limited", "license_number": "001611-R-319348-018", "status": "active", "domain_status": null }, "alternatives": [ { "operator": "LC International Limited", "matched_name": "coral", "similarity": 1 } ], "confidence": "medium" } ``` (Trimmed.) `status: active` here is Ladbrokes Betting & Gaming Limited's licence, not a finding about `coral.com` — which is why the verdict is `name_match_only`, not `licensed`. Both entities carry the trading name "Coral" at similarity `1.0`, so the primary pick falls through a documented tiebreaker cascade — see [confidence scoring → Tiebreaking](https://igregulator.io/docs/confidence/#tiebreaking-for-equal-similarity). ## 4. Graduate to authenticated requests When you hit the 10-per-hour ceiling, or you need: - Higher volume (10k / 100k / unlimited depending on tier) - The authenticated endpoints: `/v1/operators/:slug`, `/v1/licenses/*` - Full search results (unauthenticated search caps at 3 rows) [Create an account](https://app.igregulator.io/signup) and confirm your email address, then start a plan on [Billing](https://app.igregulator.io/billing) — Starter's first 14 days are free, with a card required (charged on day 15 unless you cancel). Then generate a key at [app.igregulator.io/api-keys](https://app.igregulator.io/api-keys) and attach it with a Bearer header: ```bash curl -H "Authorization: Bearer YOUR_KEY" \ https://api.igregulator.io/v1/operators/search?q=paddy ``` ## 5. Explore interactively Paste any endpoint into the **[API playground](https://igregulator.io/docs/playground/)** on this site — it's a Scalar-powered try-it-out that runs against the live production API. For authenticated endpoints, paste your key into the Authorize dialog and execute without leaving the page. ## Stability guarantees All `/v1/*` endpoints are **maintained indefinitely**. When `/v2/*` lands, both versions will run in parallel for a minimum of 12 months. Individual fields inside v1 get at least **90 days notice** before removal, surfaced via the `Deprecation` ([RFC 9745](https://www.rfc-editor.org/rfc/rfc9745)) and `Sunset` ([RFC 8594](https://www.rfc-editor.org/rfc/rfc8594)) response headers. No field is deprecated today, so neither header is sent. Full policy in the [changelog](https://igregulator.io/docs/changelog/). ## Next - [Authentication](https://igregulator.io/docs/authentication/) — how to create + rotate keys. - [Rate limits](https://igregulator.io/docs/rate-limits/) — quotas, headers, 429 handling. - [Code examples](https://igregulator.io/docs/code-examples/) — JS/Python snippets. --- # Authentication URL: https://igregulator.io/docs/authentication/ Markdown: https://igregulator.io/docs/authentication.md > Create, use, rotate and revoke iGregulator API keys: Bearer tokens, plans, endpoints that work without a key, and 401, 402 and 429 responses. iGregulator uses **Bearer tokens**: a single opaque API key sent in the `Authorization` header. No JWTs, no per-request signatures. Every authenticated endpoint on `api.igregulator.io` uses the same scheme. The one exception is the MCP server's **signed-in endpoint**, `https://mcp.igregulator.io/mcp/account`: connectors in claude.ai, ChatGPT and Claude Code sign in with your iGregulator account there (OAuth 2.1) instead of taking a key. See [MCP server → Connect from claude.ai, ChatGPT or Claude Code](https://igregulator.io/docs/mcp/#connect-from-claudeai-chatgpt-or-claude-code-sign-in--no-key). ## 1. Overview | | Public | Authenticated | | --- | --- | --- | | Needs a key | — | ✓ | | Rate limit | 10 req / IP / hour | per-plan quota (Starter 10k/mo, Pro 100k/mo, Business fair-use) | | Example endpoints | `/v1/check`, `/v1/jurisdictions`, `/v1/operators/search` | `/v1/operators/:slug`, `/v1/licenses/:id`, `/v1/jurisdictions/:code` | | Who it's for | quick lookup, demo, embed in a landing page | production integrations, bulk jobs, compliance sweeps | See [pricing](https://igregulator.io/#pricing) for the full plan comparison. Create an account at [app.igregulator.io/signup](https://app.igregulator.io/signup) and confirm your email address — sign-in waits for it. A new account has no plan until it starts one on its [Billing](https://app.igregulator.io/billing) page: Starter (€45 a month) begins with a 14-day free trial that needs a card, charged on day 15 unless you cancel. Pro and Business are paid by card through Paddle, monthly or yearly, or by invoice for three months or more. Prices are in euros, excluding VAT. ## 2. Generating keys 1. Sign in at [app.igregulator.io](https://app.igregulator.io/login). 2. Go to **[API keys](https://app.igregulator.io/api-keys)** in the nav. 3. Click **+ generate new key**. Give it a descriptive label ("Production server", "Local dev", "Staging job"). 4. The raw key is displayed **once** — copy it now. We store a SHA-256 hash only and cannot recover the plaintext. Lose it → rotate. Key format: `igk_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX` (36 chars total). ## 3. Using keys **curl** ```bash curl -H "Authorization: Bearer igk_yourkeyhere" \ https://api.igregulator.io/v1/operators/paddy-power-holdings-limited ``` **JavaScript** ```js const res = await fetch( 'https://api.igregulator.io/v1/operators/paddy-power-holdings-limited', { headers: { Authorization: `Bearer ${process.env.IGREGULATOR_API_KEY}` } }, ); if (!res.ok) throw new Error(`${res.status} ${await res.text()}`); const operator = await res.json(); ``` **Python** ```python import os, requests r = requests.get( 'https://api.igregulator.io/v1/operators/paddy-power-holdings-limited', headers={'Authorization': f'Bearer {os.environ["IGREGULATOR_API_KEY"]}'}, timeout=10, ) r.raise_for_status() operator = r.json() ``` Public endpoints work without a key too, but attaching one **skips the 10/hour IP cap** and uses your plan quota instead — useful when serving dashboards that can burst past the public ceiling. ## 4. Key rotation Rotation is overlap-based — create the new key, deploy it, then revoke the old one. No grace period is needed at our end; old keys stay valid until you explicitly revoke them. 1. Generate a new key. Label with the rotation reason. 2. Deploy the new key to every consumer (CI variables, running services, teammates' `.env` files). 3. Verify traffic shifted — check the *Last used* column on the [API keys](https://app.igregulator.io/api-keys) page; the old key should show no recent usage. 4. Click **Revoke** on the old key in the dashboard. Confirmation is required. Revocation is immediate — the next request carrying the old key returns `401 auth_revoked`. > **If a key is compromised** > > Don't wait to rotate. Revoke immediately, generate a replacement, then > investigate the leak — the damage window closes at revocation, not at > replacement. ## 5. Security - **Never commit keys to version control.** We don't scan public repos for you, and don't count on a secret scanner to catch an `igk_` key; a leaked key is your risk. - **Use environment variables.** `process.env.IGREGULATOR_API_KEY` in Node, `os.environ['IGREGULATOR_API_KEY']` in Python, Docker secrets in containerised deploys. - **One key per client.** Separate keys per environment (prod / staging / dev / CI) make revocation surgical — you kill the leaked instance without affecting every consumer. - **Keys are stored hashed.** SHA-256, never plaintext. If the DB is ever read out, the keys themselves don't leak — only their prefixes (displayed in the UI anyway). - **HTTPS only.** The API doesn't listen on port 80; HTTP would leak the key in plain text. - **Report compromises** to founder@igregulator.io. We'll help triage and can check for anomalous usage patterns on our side. ## 6. Rate limits and quotas Two independent ceilings enforced on every authenticated request, both counted per account (all your keys share them): - **Per-second rate limit** — your plan's ceiling (Starter 5/s, Pro 20/s, Business 100/s, Enterprise unlimited). Breach → `429 rate_limited` with `Retry-After: 1`. - **Monthly request quota** — plan quota per calendar month, UTC reset at the first of the month. Breach → `429 quota_exceeded`. Every successful authenticated response carries headers you can read to stay ahead of the monthly quota: | Header | Meaning | | --- | --- | | `X-Monthly-Quota-Limit` | Your plan's monthly ceiling, or `unlimited` | | `X-Monthly-Quota-Used` | Count so far this month (omitted when `unlimited`) | | `X-Monthly-Quota-Remaining` | Quota minus used (omitted when `unlimited`) | | `X-Monthly-Quota-Reset` | ISO-8601 timestamp when the counter rolls over (omitted when `unlimited`) | | `X-Monthly-Quota-Warning` | Present when usage ≥ 80%: `80% of monthly limit used` | | `X-RateLimit-Limit` | The same **monthly** ceiling (not the per-second one). Omitted when `unlimited`. | | `X-RateLimit-Remaining` | Monthly calls left. Omitted when `unlimited`. | | `X-RateLimit-Reset` | Unix epoch seconds of the monthly reset. Omitted when `unlimited`. | | `X-RateLimit-Policy` | Only `tier=unlimited` (plans with no monthly cap), or `tier=authenticated` when the key is used on a public endpoint. Otherwise absent. | | `X-Upgrade-URL` | `https://igregulator.io/pricing` | The per-second limit has no header on a successful response; a per-second 429 reports it (`X-RateLimit-Limit` = the per-second limit, `X-RateLimit-Reset` = the next second). `RateLimit-Policy` and the `tier=public;…` policy string are sent on keyless calls only. See the [rate limits guide](https://igregulator.io/docs/rate-limits/) for the full tier table and every kind of 429. ## 7. Errors Authenticated endpoints return structured JSON on every non-2xx. Branch on `code` for behaviour, `details.reason` for refinement, and use `details.suggestion` verbatim in user-facing messaging when present. | Status | code | When | | --- | --- | --- | | 401 | `auth_required` | No `Authorization` header. | | 401 | `auth_invalid` | Header malformed or key not recognised. | | 401 | `auth_revoked` | Key was revoked via the dashboard. | | 402 | `payment_required` | `details.reason: plan_inactive` — the account has no plan or a `canceled` one; `plan_ended` — its plan's end date has passed (keys and settings are kept until it is renewed). | | 429 | `rate_limited` | Per-second ceiling breached (`details.reason: per_second_limit_exceeded`). Sleep 1 s, retry once. | | 429 | `quota_exceeded` | Monthly quota exhausted (`details.reason: monthly_request_limit_reached`). Wait for `details.reset_at`, or email founder@igregulator.io. | Full code reference lives in the [error handling guide](https://igregulator.io/docs/errors/). Example body (401): ```json { "error": "API key has been revoked", "code": "auth_revoked", "details": { "reason": "api_key_revoked", "suggestion": "Generate a new API key at https://app.igregulator.io/api-keys. Revoked keys cannot be restored." } } ``` --- # Rate limits URL: https://igregulator.io/docs/rate-limits/ Markdown: https://igregulator.io/docs/rate-limits.md > iGregulator API limits: 10 requests per IP per hour without a key, monthly and per-second quotas per plan with one, the rate-limit headers, and handling 429s. Two independent systems: **keyless calls** are capped per IP, and **keyed calls** are metered per account against your plan. A valid key on a public endpoint takes that call off the IP cap and onto your plan. ## Public endpoints (no key) | Endpoint | Limit | | --- | --- | | `GET /v1/check` | 10 req / IP / hour | | `GET /v1/jurisdictions` | 10 req / IP / hour | | `GET /v1/operators/search` | 10 req / IP / hour (+ 3-row cap on `limit`) | | `GET /v1/health/coverage` | 10 req / IP / hour | `GET /v1/health` and `GET /v1/stats` (the headline counts the homepage shows) are keyless and on no per-IP cap. `/v1/stats` answers everyone with one payload, recounted at most every 10 minutes, so calling it costs the database nothing and a homepage visit never spends your lookups. A key sent with it is ignored and not charged. The counters are **per route, per IP**: ten `/v1/check` calls don't use up your `/v1/operators/search` allowance. A route's counter counts every keyless call to it from your IP, whatever made the call — including the [MCP server](https://igregulator.io/docs/mcp/#rate-limits), which forwards your IP: a keyless `check_domain` counts against `/v1/check` exactly like a direct request, `search_operators` against `/v1/operators/search`, `list_jurisdictions` against `/v1/jurisdictions` and `check_coverage` against `/v1/health/coverage`. A `domain` check and a `license_number` check share the one `/v1/check` counter. The counter counts requests, not answers: a keyless call refused with a `400` (a malformed `domain`, say) still spends one. The window is clock-aligned: every counter resets at the top of each UTC hour. A caller that burns 10 requests at 14:58 waits two minutes, not sixty. ## Authenticated endpoints | Plan | Monthly quota | Per-second limit | | --- | --- | --- | | Starter | 10,000 calls | 5 req/sec | | Pro | 100,000 calls | 20 req/sec | | Business | Fair use — no monthly cap enforced | 100 req/sec | | Enterprise | No monthly cap | No per-second limit | Both limits are enforced today, on every keyed request, before the request reaches the endpoint. Both are **per account**: every key on the account shares one monthly counter and one per-second counter. The monthly counter resets at 00:00 UTC on the 1st; the per-second counter is a fixed one-second window. **Only answers count against the monthly quota.** A request we refuse (any 4xx: an invalid parameter, an unknown slug) or fail (5xx) is not charged, and its `X-Monthly-Quota-Used` / `X-RateLimit-Remaining` headers say so. It still counts toward the per-second limit. ### Exports [CSV/JSON export](https://igregulator.io/docs/export/) (`GET /v1/export/:dataset`, Pro and above) has its own daily cap on top of these: 10 exports per UTC day on Pro, 100 on Business, no cap on Enterprise — per account, shared with the dashboard's Export button. Each export counts as **one** request against the monthly quota, whatever its size. Starter has no exports (`402 payment_required`, `details.reason: export_requires_pro`). ## Legacy `trial` keys Accounts created today are on Starter. A few older accounts are still marked `trial`; since API 1.23.0 they are served exactly as Starter — the same endpoints, the same monthly quota and per-second limit, no separate daily cap. (Before that a trial key was refused with `402 endpoint_requires_paid_plan` on everything but `/v1/check` and the keyless endpoints, and capped at 1,000 requests a day.) ## Response headers ### Keyless calls Every response to a call made without a key on the four public endpoints includes: | Header | Meaning | | --- | --- | | `X-RateLimit-Limit` | Ceiling for this IP on this endpoint in the current window: `10`. | | `X-RateLimit-Remaining` | Requests left. Never negative. | | `X-RateLimit-Reset` | Unix epoch seconds when the window rolls over (the top of the next UTC hour). | | `X-RateLimit-Policy` | Human-friendly policy string: `tier=public;limit=10;window=hour`. Hand-readable, easy to `awk`. | | `RateLimit-Policy` | IETF draft format ([draft-ietf-httpapi-ratelimit-headers](https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/)): `"default";q=10;w=3600`. Modern HTTP clients (Cloudflare SDK, Kong, etc.) auto-parse this. | | `X-Upgrade-URL` | `https://igregulator.io/pricing` — the header's value today. To keep going past a limit: without a key, start Starter's 14-day free trial (card required) at [app.igregulator.io/signup](https://app.igregulator.io/signup) for one; with a key, move to a larger plan on [Billing](https://app.igregulator.io/billing) or email founder@igregulator.io. | The two policy headers in this form are sent **only on keyless calls**. ### Keyed calls A keyed call reports your **monthly** quota — the number you budget against — not the per-second limit: | Header | Meaning | | --- | --- | | `X-RateLimit-Limit` | Your plan's monthly quota (e.g. `10000`). | | `X-RateLimit-Remaining` | Monthly calls left. | | `X-RateLimit-Reset` | Unix epoch seconds of the monthly reset (00:00 UTC on the 1st). | | `X-Monthly-Quota-Limit` / `-Used` / `-Remaining` / `-Reset` / `-Warning` | The same monthly view, with an ISO-8601 reset and an 80 % warning — see [authentication](https://igregulator.io/docs/authentication/#6-rate-limits-and-quotas). | | `X-RateLimit-Policy` | Sent in two cases only: `tier=unlimited` on plans with no monthly cap (Business, Enterprise — which get no `X-RateLimit-Limit` / `-Remaining` / `-Reset`), and `tier=authenticated` when the key is used on one of the four public endpoints. | | `X-Upgrade-URL` | As above. | There is no `RateLimit-Policy` on keyed calls, and the per-second limit is not advertised on a successful response. Only a per-second 429 describes it: there `X-RateLimit-Limit` is the per-second limit and `X-RateLimit-Reset` is the next second. ### Parsing the policy headers (keyless calls) ```js // X-RateLimit-Policy — custom: tier=public;limit=10;window=hour const policyCustom = Object.fromEntries( res.headers.get('X-RateLimit-Policy').split(';').map((kv) => kv.split('=')), ); // { tier: 'public', limit: '10', window: 'hour' } // RateLimit-Policy — IETF: "default";q=10;w=3600 const policyIetf = res.headers.get('RateLimit-Policy'); const q = policyIetf.match(/q=(\d+)/)?.[1]; // quota const w = policyIetf.match(/w=(\d+)/)?.[1]; // window in seconds ``` ## Handling 429 Six different limits answer 429. `code` alone does not tell them apart — branch on `code` **and** `details.reason`: | `code` | `details.reason` | Cause | Wait until | | --- | --- | --- | --- | | `rate_limited` | `quota_exceeded` | Keyless 10 / hour / IP cap. Here `quota_exceeded` means the hourly IP allowance, not your monthly quota. | `details.reset_at` / `X-RateLimit-Reset` — the top of the next UTC hour (no `Retry-After`) | | `rate_limited` | `per_second_limit_exceeded` | Your plan's per-second limit. | `Retry-After: 1` | | `quota_exceeded` | `monthly_request_limit_reached` | Your plan's monthly quota is used up. | `details.reset_at` / `X-Monthly-Quota-Reset` — the 1st of next month (no `Retry-After`) | | `rate_limited` | `watchlist_events_poll_limit` | `GET /v1/watchlist/events` over your plan's polls per hour ([watchlist](https://igregulator.io/docs/watchlist/)). | `details.reset_at` | | `rate_limited` | `export_daily_limit_reached` | `GET /v1/export/:dataset` over your plan's exports per UTC day ([export](https://igregulator.io/docs/export/#limits)). | `Retry-After` — 00:00 UTC | | `quota_exceeded` | `geo_check_quota_exceeded` | `POST /v1/geo-checks` over your plan's geo-checks per UTC month ([geo-checks](https://igregulator.io/docs/geo-checks/)). | The 1st of next month (no `Retry-After`) | The keyless 429, in full: ```http HTTP/2 429 X-RateLimit-Limit: 10 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1790694000 X-RateLimit-Policy: tier=public;limit=10;window=hour RateLimit-Policy: "default";q=10;w=3600 X-Upgrade-URL: https://igregulator.io/pricing { "error": "Public rate limit reached (10/hour/IP).", "code": "rate_limited", "details": { "reason": "quota_exceeded", "suggestion": "Start a 14-day free trial of Starter (card required) at https://app.igregulator.io/signup for an API key — 10,000 requests/month, no per-IP cap — and send it as \"Authorization: Bearer \". Or wait until reset_at, the top of the next hour (UTC; also the X-RateLimit-Reset header).", "limit": 10, "reset_at": "2026-09-29T15:00:00.000Z" } } ``` `details.reset_at` and `X-RateLimit-Reset` name the same instant — the top of the next UTC hour, when this hour's counter stops counting — one as ISO-8601, the other as Unix epoch seconds (`1790694000` above). Recommended client behaviour: 1. Check `X-RateLimit-Remaining` before every call. 2. On 429, wait until the time in the table above, then retry once. 3. If the same caller keeps hitting 429, that's a signal to change something — not to back-off-and-retry indefinitely. Without a key: start Starter's 14-day free trial (card required) at [app.igregulator.io/signup](https://app.igregulator.io/signup) for one. With a key: move to a larger plan on [Billing](https://app.igregulator.io/billing) or email founder@igregulator.io. ## Tips - **Don't scrape the public endpoint.** Paginate the authenticated `/v1/jurisdictions/:code/operators` list once a day and cache — every register is read once a day, so polling more often buys nothing. - **Front-ends that surface check results to end-users** — apply the 10/hour IP limit on *your* server and call the API with a single authenticated key; don't let every browser session hit us directly or the shared IP will burn out your quota. - **Bulk re-verification** (weekly AML sweep of 2,000 domains) — use [`POST /v1/check/batch`](https://igregulator.io/docs/batch/): 100 domains per request, each request one call against your quota. Use the operator / licence endpoints for the detail behind a verdict. --- # Endpoints URL: https://igregulator.io/docs/endpoints/ Markdown: https://igregulator.io/docs/endpoints.md > Every iGregulator REST endpoint on one page: which work without a key, what each returns, and where to read more — check, batch, operators, licences, webhooks. Every endpoint has full schemas in the [API reference](https://igregulator.io/docs/api/) and an interactive executor in the [playground](https://igregulator.io/docs/playground/). This page is a map, not a reference — use it to pick which surface you need. ## Public (no key) 10 requests per IP per hour on each of these without a key; with a valid key, your plan's quota applies instead ([rate limits](https://igregulator.io/docs/rate-limits/)). | Endpoint | Use | | --- | --- | | `GET /v1/check` | Verify a domain or licence number in one round trip. Answers with a `verdict` (`licensed`, `licensed_provisional`, `licence_not_active`, `domain_not_listed`, `related_host_listed`, `name_match_only`, `not_found`, `generic_term`) and a quotable `verdict_detail`; a host and its `www.` counterpart are the same site, other subdomains are not (`related_hosts[]`); `match` names the regulator (`regulator_name`), the licence (`license_id` for `/v1/licenses/{id}`) and where its status was published (`status_source_url`, `status_observed_at`); `_meta.register` / `_meta.stale_jurisdictions` say how fresh the registers behind it are. Dual-licensed domains carry a `jurisdictions[]` array, and `match.verification_url` links to the regulator's own verification page where one exists (CW cert / TGC seal). A `domain` query also carries `domain_registration` when we have read the domain's registry record over RDAP — `registered_at`, `expires_at`, `registrar`, EPP `status`, `source_url`, `read_at`: facts about the domain, never part of the verdict. See the [confidence guide](https://igregulator.io/docs/confidence/#verdict--the-answer-in-one-field). | | `GET /v1/jurisdictions` | List the fourteen jurisdictions we cover, with name / country / currency / licence types. | | `GET /v1/operators/search?q=…` | Search operators by display name, slug or registered (legal) name — a case-insensitive substring match. Trading names and domains are not searched; use `/v1/check` for a domain. Unauthenticated: capped at 3 rows. | | `GET /v1/health/coverage` | Per-jurisdiction scraper freshness — last successful scrape, age in hours, fresh vs stale flag per our SLA (UKGC / AN / TGC / IOM / ON / SE / ES / BE / DE / CO / UA 24 h, MGA / CW / KH 48 h) — plus `domain_coverage` ([methodology](https://igregulator.io/docs/coverage-methodology/)). | ## Authenticated (Bearer token) | Endpoint | Use | | --- | --- | | `POST /v1/check/batch` | Up to 100 domains in one request, resolved like `/v1/check` — `verdict`, `verdict_detail`, `match`, `confidence` on every row, but no `jurisdictions[]`, `alternatives[]` or `as_of`; an entry we can't look up is a per-row `error` with no verdict; `checked_jurisdictions` and `_meta.stale_jurisdictions` once at the top. POST only: any other method is `405 method_not_allowed` with `Allow: POST`, key or no key. See [batch](https://igregulator.io/docs/batch/). | | `GET /v1/jurisdictions/:code` | Single jurisdiction detail. The code is case-insensitive. | | `GET /v1/jurisdictions/:code/operators` | Paginated operators holding at least one licence (any status) in that jurisdiction. `?limit=` 1–200 (default 50), `?offset=`. Ordered by internal operator id — stable across pages, not alphabetical. The code is case-insensitive (`ukgc`); an unknown code is `404 jurisdiction_not_found`, as on `/v1/jurisdictions/:code`, not an empty list. | | `GET /v1/operators/:slug` | Full operator detail — metadata + licences + domains. Each licence carries `status_qualifier` and `license_reference_is_ours` (`true` for KH, TGC, IOM, ON, SE, ES, BE, DE, UA: `license_number` is our reference), with `issued_date` / `expiry_date` as `YYYY-MM-DD`. Each domain carries `verification_url` (the regulator's own page, where one exists) and `verification_page_status` / `verification_page_read_at` — what that page printed about the licence at our latest read, verbatim, and when; a word that isn't "in force" means the page is not proof ([verification_url](https://igregulator.io/docs/confidence/#verification_url--check-us-against-the-regulator)). The slug is case-insensitive. Supports `?as_of=`. | | `GET /v1/operators/:slug/licenses` | Every licence for one operator (not paginated), with the same `status_qualifier` and `license_reference_is_ours`. Append `?include_history=true` for each licence's status-change log. | | `GET /v1/operators/:slug/regulatory-actions` | Enforcement actions linked to one operator — fines, warnings, suspensions, revocations. `?limit=` 1–100 (default 20), `?offset=`, `?sort=date_desc` (default) / `date_asc` / `amount_desc` / `type_asc`. An empty list means none is *linked* to this operator, not a clean record: many published actions aren't matched to an operator yet (UKGC 107 of 107 linked, MGA 2 of 160, CW 0 of 18 on 2026-09-28). The response says so itself: `_meta.note` says what the list does and doesn't mean (on an empty list: that it is not a clean record), and `_meta.sources_read` lists the regulator publications we read. | | `GET /v1/licenses/:license_id` | Licence by uuid. Useful when you want a pinned detail page. Carries the status's own provenance: `status_source_url`, `status_observed_at`, `last_listed_at`, `not_listed_since`; `status_qualifier`; `license_reference_is_ours`; `issued_date` / `expiry_date` as `YYYY-MM-DD`. Supports `?as_of=`. | | `GET /v1/licenses/:license_id/history` | Status-change timeline for a single licence (the whole timeline, not paginated). Each event has a `note` and the evidence hash (`snapshot_sha256`, `snapshot_fetched_at`) — events are never deleted. **Only `corrected_at` means an event was withdrawn**: it is set, with `correction_note` saying why, when we later found the event wrong. A `correction_note` without `corrected_at` is a reworded note on an event that stands. | | `GET /v1/export/:dataset` | **Pro and above.** A whole dataset — `licences`, `operators` or `domains` (links) — as one CSV or NDJSON file (`?format=csv\|json`), optionally sliced by `?jurisdiction=` / `?status=`; each row carries its status provenance. 10 exports a day on Pro, 100 on Business; below Pro → `402 payment_required` (`details.reason: export_requires_pro`). No `as_of`. See [export](https://igregulator.io/docs/export/). | ### Watchlist | Endpoint | Use | | --- | --- | | `GET /v1/watchlist` | Summary: `{ count, limit, operators }` — your plan's cap and the 50 most recently added operators. | | `GET /v1/watchlist/operators` | Your watched operators with a current licence status each. `?limit=` 1–200 (default 50), `?offset=`. | | `POST /v1/watchlist/operators` | Add `{ "operator_slug": "…" }` → `201`. Already watched → `409`. | | `DELETE /v1/watchlist/operators/:slug` | Remove → `204`, whether or not it was on the list. | | `GET /v1/watchlist/events` | Poll for events (the webhook envelope, pulled). `?since=` or `?cursor=`, `?limit=` 1–500 (default 100); a per-hour poll ceiling per plan. See [watchlist](https://igregulator.io/docs/watchlist/). | ### Geo-checks Business and Enterprise. See [geo-checks](https://igregulator.io/docs/geo-checks/). | Endpoint | Use | | --- | --- | | `POST /v1/geo-checks` | Request `{ "domain": "…", "countries": [ … ] }` (all ten when left out) → `202`. One request = one domain against the monthly allowance. | | `GET /v1/geo-checks?domain=` | The latest shown check per country: `result`, `reason`, `checked_at`, `reviewed`, `stale`. | | `GET /v1/geo-check-requests` | Your requests and their per-country status (`queued` … `in_review` … `done`). | ### Webhooks | Endpoint | Use | | --- | --- | | `POST /v1/webhooks` | Create `{ url, events, watchlist_only?, jurisdictions?, description? }` → `201` with the signing `secret`, shown once. | | `GET /v1/webhooks` | List your endpoints (no secrets). | | `PATCH /v1/webhooks/:id` | Change `url`, `events`, `active`, `watchlist_only`, `jurisdictions` or `description`. | | `DELETE /v1/webhooks/:id` | Delete the endpoint → `204`. Its secrets and delivery history, pending deliveries included, go with it. | | `POST /v1/webhooks/:id/rotate_secret` | Issue a new secret; the old one keeps signing for 7 days. | | `GET /v1/webhooks/:id/deliveries` | Recent deliveries, newest first. `?status=all` / `pending` / `delivered` / `failed` / `abandoned`, `?limit=` 1–200 (default 100). | | `POST /v1/webhooks/:id/test` | Send a signed `test.ping` now; returns `{ delivered, http_status, response_body, latency_ms, error }`. | See [webhooks](https://igregulator.io/docs/webhooks/). ## System | Endpoint | Use | | --- | --- | | `GET /v1/health` | Liveness probe. 200 if postgres + redis are reachable, 503 otherwise. | | `GET /v1/stats` | Headline counts — licence records by status, per-jurisdiction licences and last register read (with the same fresh/stale rule as `/v1/health/coverage`), operators, linked domains and how many carry the regulator's own certificate or seal, brand pages, status changes read in the last 30 days, the last 7 days of them (by new status, and up to six named with the regulator page each was read from), withdrawn events, each register's licence records by status, and a geo-check summary — each with its definition in the body (`definitions`). No key and no per-IP cap: one payload for everyone, recounted at most every 10 minutes. The igregulator.io homepage prints it. | | `GET /openapi.json` | Canonical OpenAPI 3.1 spec. Consume it, generate a client, etc. | ## Response shape conventions - **Paginated lists** take `?limit=` + `?offset=` and return `total`, `limit`, `offset` next to the rows: - `GET /v1/operators/search` → `{ q, total, limit, offset, operators, _meta }` - `GET /v1/jurisdictions/:code/operators` → `{ jurisdiction_code, total, limit, offset, operators }` - `GET /v1/operators/:slug/regulatory-actions` → `{ operator_slug, total, limit, offset, sort, regulatory_actions, _meta }` - `GET /v1/watchlist/operators` → `{ total, limit, offset, operators }` Defaults and maxima differ per endpoint — see [pagination](https://igregulator.io/docs/pagination/). - **Unpaginated lists** return everything in one envelope: - `GET /v1/operators/:slug/licenses` → `{ operator_slug, licenses }` - `GET /v1/licenses/:license_id/history` → `{ license_id, license_number, history, _meta }` - `GET /v1/jurisdictions` → `{ jurisdictions }`; `GET /v1/webhooks` → `{ endpoints }` - **`GET /v1/watchlist/events`** is cursor-paginated: `{ events, next_cursor, has_more }`. - **Detail endpoints**: `GET /v1/jurisdictions/:code` and `GET /v1/licenses/:license_id` return the row itself (the licence with a `_meta` block). `GET /v1/operators/:slug` returns `{ operator, licenses, domains, _meta }` — its `licenses[]` and `domains[]` are complete, bare arrays; `/licenses` returns the same licences, plus optional history. - Timestamps are ISO-8601 UTC (`2026-04-19T12:00:00.000Z`). - Dates — a licence's `issued_date` and `expiry_date`, `/v1/check`'s `match.expires_at`, a regulatory action's `decision_date` — are `YYYY-MM-DD` strings: the register publishes a day, not an instant. - `as_of` takes a `YYYY-MM-DD` date or an ISO-8601 datetime with a UTC offset, nothing else ([point-in-time](https://igregulator.io/docs/point-in-time/#date-semantics)). - UUIDs are lowercase, hyphenated, v4. - Operator slugs are lowercase; `/v1/operators/:slug…` resolves one in any case (`Flutter-UK-Limited` finds `flutter-uk-limited`). Jurisdiction codes are uppercase and resolve in any case too. --- # Confidence scoring URL: https://igregulator.io/docs/confidence/ Markdown: https://igregulator.io/docs/confidence.md > How /v1/check decides its verdict and confidence: which host answers, domain or name match, why confidence is not validity, and when it refuses to guess. The `/v1/check` endpoint returns a `match` object with a `confidence` field. This page explains what each level means, how we pick it, and how UIs should render it. **`confidence` is about the match, not the licence.** It says how sure we are *which* licence the domain belongs to — never whether that licence is in force. Only `match.status: "active"` means licensed now, and `match.domain_status: "delisted"` means the regulator no longer lists this domain on that licence. The top-level `verdict` puts these together for you. ## verdict — the answer in one field Every `/v1/check` response (and every [batch](https://igregulator.io/docs/batch/) row that is not an `error`) carries a `verdict` and a `verdict_detail`. The verdict is derived by fixed rules, checked in this order — the first that applies is the answer: | `verdict` | When | What it means | | --- | --- | --- | | `generic_term` | `match` is `null`, `match_absence_reason: generic_term` | A generic gambling label we won't map to one operator. The domain is on no licence we hold — it would have matched `domain_exact` otherwise. | | `related_host_listed` | `match` is `null`, `match_absence_reason: shared_registrable`, and at least one host in [`related_hosts[]`](https://igregulator.io/docs/confidence/#related_hosts--hosts-a-register-does-list) is listed now | Your host — and its `www.` counterpart — is on no licence we hold; other hosts on the same registrable domain are, under more than one operator, so we tie your host to none of them. | | `not_found` | `match` is `null`, `match_absence_reason: no_record_found` — or `shared_registrable` with no related host listed now | In none of the registers we cover. Not a finding that the site is unlicensed. | | `name_match_only` | `confidence` is `medium` or `low` | A name resembled an operator's; no licence we hold lists this domain. `status` is that operator's, not this site's. | | `licence_not_active` | `status` is not `active` — whether or not the regulator still lists the domain on it | `verdict_detail` names the status: `surrendered`, `expired`, `revoked`, `suspended`, `pending`, `not_in_register` or `unknown` — and, if the regulator no longer lists the domain on that licence either, says that too. Only `revoked`/`suspended` are enforcement decisions. | | `domain_not_listed` | `status: active`, `domain_status` is not `active` (`delisted`) | The regulator no longer lists this domain on the matched licence, which is itself active — that licence does not cover this site. | | `related_host_listed` | `match.match_type: related_host` — `status: active`, that host listed | Your host is on no licence we hold; `match` describes another host on the same registrable domain (`match.matched_domain`), the only operator's there. Never `licensed`: a listing covers the host the regulator names. | | `licensed_provisional` | `status: active`, domain listed, a `status_qualifier` is set | Licensed now, provisionally — today a Curaçao licence the CGA keeps in force pending its final assessment. | | `licensed` | `status: active`, `domain_status: active`, no qualifier | The regulator lists this domain — or its `www.` counterpart, the same site — on an active licence. | `related_host_listed` appears twice because the related-host stage has two outcomes ([which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain)): one operator's host stands in as `match`, or several operators' hosts are listed in `related_hosts[]` with no `match`. Either way it is not an answer about your host. The licence comes before the listing: a revoked, suspended or expired licence is `licence_not_active` even when the domain has also been de-listed, so the revocation is never hidden behind "no longer listed". Only `licensed` and `licensed_provisional` mean "licensed now". Every other value is "not confirmed as licensed by the registers we cover" — and none of them is a finding that the site is unlicensed. For a `?license_number=` query there is no domain, so the verdict is about the licence alone: `licensed`, `licensed_provisional`, `licence_not_active` or `not_found`. `verdict` describes `match` — the link the regulator lists now. A dual-licensed domain keeps its other links, each with its own `status` and `domain_status`, in [`jurisdictions[]`](https://igregulator.io/docs/confidence/#jurisdictions--dual-licensed-domains), and `verdict_detail` says how many there are. The verdict is about the licence *today*, even when you pass [`as_of`](https://igregulator.io/docs/point-in-time/): then `verdict_detail` leads with the answer for your date ("On 2026-03-01 we were not yet tracking … licence …, so its status then is unknown. Today: …") and `as_of` carries it in fields. `verdict_detail` is one sentence written to be quoted as it stands: > The Anjouan Gaming Authority no longer lists spinlu.com on the licence held by > 3-102-947207 SRL (licence ALSI-202602010-FI1), which is itself active — that > licence does not cover this site. It names the regulator (`match.regulator_name`), the operator and the licence — but never our Kahnawake / Tobique / Isle of Man / Ontario / Sweden / Spain / Belgium / Germany / Ukraine reference as if the regulator had issued it (`match.license_reference_is_ours`); dates the read that listed the domain ("as of our read on …" — for a Curaçao or Tobique link that can be the certificate or seal read, not the register read), and when the register behind the answer was last read outside its freshness window, names that register and the date of that read (`_meta.register`); scopes every miss to the registers we cover and names the stale ones (`_meta.stale_jurisdictions`); and never calls anything "unlicensed". Branch on `verdict`; quote `verdict_detail`. The wording may improve over time; a verdict value, once published, keeps its meaning. ```js const body = await (await fetch( 'https://api.igregulator.io/v1/check?domain=bet365.com', )).json(); switch (body.verdict) { case 'licensed': approve(body.verdict_detail); break; case 'licensed_provisional': // in force, provisionally — accept per your policy, and re-check approveProvisionally(body.verdict_detail); break; default: // everything else is "not confirmed as licensed": review it, quote the sentence review(body.verdict, body.verdict_detail); } ``` Treat a `verdict` value you don't know like the `default` branch: values can be added (`related_host_listed` was, after the first seven), and no new one will ever mean "licensed". ## The three levels | `confidence` | What it means | Render as | | --- | --- | --- | | `high` | A register lists this host — or its `www.` counterpart — on a licence (or, for `?license_number=`, the register has that licence). | We're sure which licence this domain belongs to. Read `status` (only `active` = licensed now) and `domain_status` before saying anything about the site. | | `medium` | Domain root matched a trading name or operator name. We can identify the operator but can't *prove* this domain is theirs. | Amber / neutral. "Likely operated by X" phrasing — and `status` is X's licence, not this site's. | | `low` | A weak fuzzy match: an operator is returned, but below the strong-similarity bar. | Gray / warning. "We can't confirm this domain." | On a miss (`match: null`) the top-level `confidence` is **absent** — treat it as `none` — or `low` when the domain root is a generic gambling term (`casino.org`, `poker.com`) that too many operators share to pick one. [Batch](https://igregulator.io/docs/batch/) rows always carry `confidence`, with `none` spelled out on a miss. ## Why a query missed: `match_absence_reason` When `match` is `null`, `confidence` on its own is ambiguous — it used to conflate "generic term" with "we checked and it isn't there". So on a miss the response says why, in `match_absence_reason` (present **only** when `match` is `null`), and which registers it checked, in `checked_jurisdictions`, so you can phrase the answer precisely instead of guessing: | `match_absence_reason` | Meaning | Say to your user | | --- | --- | --- | | `generic_term` | The label is an ultra-generic gambling word (`casino.org`); we can't map it to one operator. | "Can't identify a specific operator from this domain." | | `no_record_found` | A specific query we checked against **every** covered register and did not find. | "Not found in any of the N jurisdictions iGregulator covers." — **never** an unqualified "unlicensed". | | `shared_registrable` | Your host is on no licence; other hosts on its registrable domain are stored, linked to more than one operator — so we tie your host to none of them. Comes with `related_hosts[]`; the verdict is `related_host_listed` when one of them is listed now, else `not_found`. | "This exact host isn't listed; these other hosts on the same domain are, under different operators." | `checked_jurisdictions` — the exact register codes we checked (e.g. `["AN","BE","CO","CW","DE","ES","IOM","KH","MGA","ON","SE","TGC","UA","UKGC"]`) — accompanies every answer that does not tie your host itself to a licence: a miss, a name match (`name_match_only`), and a related-host answer. A "not licensed" claim is always scoped to our coverage, never stated as an absolute. ```json { "query": { "domain": "some-unknown-site.com" }, "verdict": "not_found", "verdict_detail": "some-unknown-site.com was not found in the registers of the 14 jurisdictions we cover (AN, BE, CO, CW, DE, ES, IOM, KH, MGA, ON, SE, TGC, UA, UKGC) — not a finding that it is unlicensed; our last read of TGC (2026-09-21) is past its freshness window, so a recent listing there may be missing.", "match": null, "alternatives": [], "match_absence_reason": "no_record_found", "checked_jurisdictions": ["AN", "BE", "CO", "CW", "DE", "ES", "IOM", "KH", "MGA", "ON", "SE", "TGC", "UA", "UKGC"], "_meta": { "checked_at": "2026-09-30T18:40:00.000Z", "stale_jurisdictions": [{ "code": "TGC", "last_read_at": "2026-09-21T04:15:08.476Z" }] } } ``` (`_meta` trimmed to the fields that matter here.) `stale_jurisdictions` lists the covered registers whose last read is past its freshness window — a domain a regulator listed since then is not in our data yet, so each entry weakens the "not found". It is `[]` when every register is fresh. A generic label is the one miss that carries a `confidence`: ```json { "query": { "domain": "casino.org" }, "verdict": "generic_term", "verdict_detail": "casino.org is on no licence we hold in the 14 jurisdictions we cover (AN, BE, CO, CW, DE, ES, IOM, KH, MGA, ON, SE, TGC, UA, UKGC), and its name contains the generic gambling term \"casino\", so we will not guess an operator from it — not a finding that it is unlicensed.", "match": null, "alternatives": [], "confidence": "low", "match_absence_reason": "generic_term", "checked_jurisdictions": ["AN", "BE", "CO", "CW", "DE", "ES", "IOM", "KH", "MGA", "ON", "SE", "TGC", "UA", "UKGC"] } ``` `match_absence_reason` is **absent** when there's a match — check `match === null` first, then branch on `match_absence_reason` (or simply branch on `verdict`, which already did). ## Which host answers — exact, `www.`, then the rest of the domain A register lists hosts, and `/v1/check` answers for the host you send. It looks, in this order, for: 1. **The site: the exact host and its `www.` counterpart.** `www.example.com` and `example.com` are the same site, and registers list either spelling (the UKGC lists `www.betfair.com`, Anjouan `spinsup.com`). The links of both are ranked together, so both spellings get the same answer — a full `domain_exact` match, with `match.matched_domain` naming the host the register lists (`paddypower.com` answers for `www.paddypower.com`). Only a leading `www.` is dropped or added this way. 2. **Other hosts on the same registrable domain** — the domain under its public suffix: `bet365.com` for `sports.bet365.com`, `example.co.uk` for `m.example.co.uk`. These are **never** taken as the host you asked about: a listing covers the host the regulator names, not every subdomain someone can make up, and a subdomain can be a different site run by a different company. So the answer is never `licensed`, and `related_hosts[]` names those hosts: - **One operator** holds them: `match` describes that operator's best host there (`match.match_type: related_host`, `match.matched_domain`), so you can see which licence it is. The verdict is `related_host_listed` — or `licence_not_active` / `domain_not_listed` when that licence is not active or that host is de-listed. - **Several operators** hold them: no `match`, `match_absence_reason: shared_registrable`. The verdict is `related_host_listed` when at least one of them is listed now (an `active` link under a licence we hold), else `not_found`. The public suffix list we use includes its private section, so on a shared hosting platform (`*.raffleentry.org.uk`, `*.it.com`) each customer's host is its own registrable domain — one customer's listing says nothing about a neighbour's. 3. **A name match** — only when step 2 had nothing to answer with (no other host on the registrable domain is stored, or the one operator holding them has no licence we hold): the domain's label against operators' trading and company names (`name_match_only`), unless the label is a generic gambling word (`generic_term`). Any other label shorter than four characters (`888`) is not name-matched at all — too short to mean one operator — and answers `not_found`. Hosts shared by several operators never fall through to a name match. 4. Otherwise, `not_found`. ## related_hosts[] — hosts a register does list Whenever step 2 answered, the response (and the [batch](https://igregulator.io/docs/batch/) row) carries `related_hosts[]`: up to 10 hosts on your host's registrable domain, best first, each with the operator it is linked to. ```json { "query": { "domain": "sports.bet365.com" }, "verdict": "related_host_listed", "match": null, "match_absence_reason": "shared_registrable", "checked_jurisdictions": ["AN", "BE", "CO", "CW", "DE", "ES", "IOM", "KH", "MGA", "ON", "SE", "TGC", "UA", "UKGC"], "related_hosts": [ { "host": "bet365.com", "operator": "Hillside (New Media Malta) Plc", "operator_slug": "hillside-new-media-malta-plc", "jurisdiction": "MGA", "domain_status": "active" }, { "host": "bet365.com", "operator": "Hillside (UK Gaming) ENC", "operator_slug": "hillside-uk-gaming-enc", "jurisdiction": "UKGC", "domain_status": "active" }, { "host": "bet365.com", "operator": "Hillside (UK Sports) ENC", "operator_slug": "hillside-uk-sports-enc", "jurisdiction": "UKGC", "domain_status": "active" } ] } ``` (Trimmed to the fields that matter here.) Each entry is a fact about *that* host: `domain_status` is its listing under that operator, and `jurisdiction` the regulator of the licence that host's link reports ([which one](https://igregulator.io/docs/confidence/#which-licence-a-domain-link-reports)) — not a licence status. If one of them is the site you meant, check that host: its own answer carries the licence and its status. If none is, report your host as not listed in the registers we cover; never carry a related host's licence over to it. `checked_jurisdictions` and `_meta.stale_jurisdictions` come with every related-host answer, as with a miss. ## Hostnames we accept `domain` is a hostname, not a URL. Before it is looked up it is trimmed, lowercased, stripped of one trailing dot (`bet365.com.`, the fully-qualified form, is `bet365.com`), and an internationalised name is converted to the punycode form registers and DNS use (`bücher.example` → `xn--bcher-kva.example`). What is left must be at least two labels of letters, digits and hyphens (no underscores), each 1–63 characters, 253 in all. Nothing else is repaired: a scheme, path or port (`https://bet365.com/`) is `400 not_a_valid_hostname` on `GET /v1/check`, and more than 253 characters `400 hostname_too_long`; in a batch, either is an `error` row. - **`query.input`** — when what you sent differs from what we looked up (capitals, a trailing dot, a Unicode name), `query.input` is your string and `query.domain` the hostname. A batch row always carries both. - **IP addresses** — no register lists one. An IPv4 address passes the syntax check and answers `not_found`; an IPv6 address is not a valid hostname. ## match_type Tells you *how* we arrived at the match, useful for debugging and UX differentiation. | `match_type` | Source | | --- | --- | | `domain_exact` | A regulator source lists the host — or its `www.` counterpart (`matched_domain` says which) — on the licence. Carries `domain_association` (`direct` or `white_label`). | | `related_host` | Your host is not stored; one operator's other host on the same registrable domain is, and `match` describes that host (`matched_domain`). The verdict is never `licensed` — see [which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain). | | `license_number` | A `?license_number=` query found the licence in a register we cover. No domain, so `domain_association`, `domain_status` and `matched_domain` are `null`. | | `trading_name_fuzzy` | Trigram similarity ≥ 0.55 against `operators.trading_names[]` after stripping the TLD. Used when the domain isn't registered but the brand exists. 0.55 was picked empirically against the UKGC register: it catches legitimate variants (`paddypower` ↔ `paddy-power`, `skybet` ↔ `sky-bet`) while rejecting the long tail of single-syllable collisions (`gold`, `star`, `royal`) where the label is too generic to mean one operator. Below 0.55 we land in `low`-confidence territory either way; above it the trigger is stable. | | `name_similarity` | Last-chance similarity against `operators.display_name` — rarely fires for B2C domains, useful when no trading name was populated upstream. | ## domain_association When `match_type = domain_exact`, we differentiate: - **`direct`** — the licensee runs the site themselves. The `operator` field is the company your end-user is gambling with. - **`white_label`** — the licensee has authorised a third-party brand to trade on the domain under their permit. The `operator` field is the *licensee*, not the brand. UK-licensed white-label arrangements are legal and common; surfacing the relationship lets you show "operated by Brand X under ProgressPlay's UKGC permit". Fuzzy matches (`trading_name_fuzzy`, `name_similarity`) don't populate `domain_association` — we don't have a domain row to read it from, so the field is `null`. ## domain_status vs status `status` is the **licence**; `domain_status` is the **domain**. They move independently: a regulator can withdraw one site from a licensee's permitted surface while the licence itself stays active. `domain_status: "delisted"` means exactly that — check it before treating `status: "active"` as a green light for the site you were asked about. ## verification_url — check us against the regulator Where the regulator publishes a verification page of its own that names the domain, `match.verification_url` links straight to it: - **Curaçao** — the CGA certificate portal (`cert.cga.cw`), including `/token` cluster certificates listing every approved domain under the licence. A link stored on the CGA's legacy host `cert.gcb.cw` is served on `cert.cga.cw` (same path; the old host redirects there). - **Tobique** — the TGC validation seal (`validate.thetgc.ca`), which lists the seal holder's main domain and the domain queried — not the licence's whole website cluster. - **Malta** — the MGA verification page for the licensee company (`authorisation.mga.org.mt`), which lists the domain among its websites. `match.verification_page_kind` says what that page is — what you hold as evidence: | `verification_page_kind` | The page | | --- | --- | | `domain_certificate` | Issued for this domain alone: a CGA Certificate of Operation (`cert.cga.cw/certificate`), a Tobique seal. | | `licence_certificate` | The CGA certificate for the licence (`cert.cga.cw/token`), listing this domain among its "Approved domains". | | `licensee_page` | The MGA verification page for the licensee, listing this domain among its websites. | | `other` | A regulator page we have not classified. | | `null` | There is no page (`verification_url` is `null`). | `verification_url` is `null` for regulators with no such page (UKGC, KH, AN, IOM, ON, SE, ES, BE, DE, CO, UA) and for fuzzy matches. A nightly pass re-reads the stored Curaçao and Tobique pages oldest-first (every Tobique seal each night; each Curaçao certificate every 2–3 days) and updates `domain_status` only from a clean read of the regulator's own words — so the URL is not just a citation, it's the mechanism that keeps the row fresh. **What the page itself says.** Next to the link, `match.verification_page_status` is the licence status that page printed at our latest read of it, verbatim — a CGA page's `Active` or `Revoked`, a Tobique seal's `VALID` — and `match.verification_page_read_at` is when we read it (`null` for both while we hold no reading). When the word is not one that says "in force", the page is **not** confirmation of anything: say what it reads and when, and don't present the link as proof. It moves no status by itself — the link's `domain_status` comes from the register or the page's domain list, and a revocation only from a regulator publication (`status_source_url`). With an in-force word, surface the link next to the verdict: "verify on the regulator's own page" is the strongest trust signal we can hand you. ## jurisdictions[] — dual-licensed domains A brand can be licensed by **different legal entities in different jurisdictions at the same time** (spinsup.com: Anjouan + Tobique; me88.com: Anjouan + Curaçao). When the matched domain has more than one (operator, jurisdiction) pair, the response carries a best-first `jurisdictions[]` array — `jurisdictions[0]` is the pair `match` reports — each entry with its own fields (below). **Best first** means, each rule only breaking ties left by the ones before: a link with a licence; a link the regulator lists now (`domain_status: active`); an `active` licence; then **the link we have known longest**. So `match` stays the same from one day to the next, whichever register we happened to read last — how fresh each read is, is each entry's own `register.last_read_at`. Each entry carries: | Field | Meaning | | --- | --- | | `operator`, `operator_slug`, `jurisdiction` | The licensee and its regulator. | | `license_number`, `license_reference_is_ours` | The licence number — or, when `license_reference_is_ours` is `true` (KH, TGC, IOM, ON, SE, ES, BE, DE, UA), our reference, never to be quoted as the regulator's. | | `status`, `status_qualifier` | That licence's status, and the qualifier when `active` is not the whole truth (`provisional_under_assessment`). | | `domain_status`, `domain_association` | This domain's listing under this operator (`active` / `delisted`), and `direct` / `white_label`. | | `matched_domain` | The host this link is on: your host or its `www.` counterpart (the links of both spellings are one list). | | `verification_url`, `verification_page_kind`, `verification_page_status`, `verification_page_read_at` | The regulator's own page naming this domain, where one exists, what kind of page it is, and what it printed about the licence at our latest read, verbatim, with when — [as on `match`](https://igregulator.io/docs/confidence/#verification_url--check-us-against-the-regulator). | | `register` | `{ jurisdiction, last_read_at, fresh, sla_hours }` — when we last read the register behind this link, and whether that read is inside its freshness window (`null` when the link has no licence — see below). A secondary link can rest on a stale register while `match` rests on a fresh one. | Per-link status matters: the same domain can be `active` under one register and `delisted` under another — both true at once. Before phrasing a single-jurisdiction verdict ("licensed in Anjouan"), check whether the array is present and report the full picture. Absent for ordinary single-licence domains. ### Which licence a domain link reports A register links a domain to an **operator**, not to one of its licences, and an operator can hold several in one jurisdiction (a UKGC licensee holds one per activity). The licence on a link — on `match` and on every `jurisdictions[]` entry — is the operator's best licence **that can cover a website**, `active` first, then the most recently verified: - **UKGC** — Remote or Ancillary Remote (the register's licence type); a Non-Remote licence is land-based and never covers a website. - **MGA** — B2C only (`MGA/B2C/…`); B2B and corporate (CRP) licences never do. - **Curaçao** — the licence the link's `cert.cga.cw` certificate names (the certificate id is the licence number's last segment); any of the operator's licences when it names none of them. - **Anjouan, Kahnawake, Tobique, Isle of Man, Ontario, Sweden, Spain, Belgium, Germany, Colombia, Ukraine** — any of the operator's licences. (Ontario has one per operator; for Sweden we load only the two licence types that can cover a website — commercial online gaming and betting; every DGOJ licence in Spain is an online one; for Belgium we load only the three online classes A+, B+ and F1+, and for Germany only the four internet game types the GGL permits; every Coljuegos concession we load in Colombia is an online one, and in Ukraine we load only PlayCity's online casino, online poker and bookmaking licences.) An operator that holds no such licence gives the link **no licence** — never a licence that could not cover the site. The listing still stands: `match` names the operator and the regulator (`jurisdiction`, `regulator_name`, `domain_status`, `matched_domain`) with `license_number`, `license_id` and `status` null, and the verdict is `licence_not_active` — "brc-uk.com is listed … by the UK Gambling Commission under BRC Promotions Ltd, which holds no licence that can cover a website (its UK Gambling Commission licences are non-remote only)". Never `not_found`: the register does list the domain. And a site whose remote licence is suspended reads `licence_not_active` too, even when the same company's betting shops hold an active non-remote licence. ## Tiebreaking for equal similarity Brand names like *Paddy Power* trigram-match several sister companies (PPB Counterparty, PPB Entertainment, PPB GE, Power Leisure Bookmakers) at similarity `1.0`. To keep the primary match **stable across DB reindex and VACUUM**, `/v1/check` applies a documented tiebreaker cascade whenever the top candidates are tied on similarity: 1. **similarity DESC** — closeness wins first, as ever. 2. **has_active DESC** — operators with at least one `active` licence are preferred over operators whose licences are all in a non-active state (expired, revoked, suspended, surrendered, or no longer listed in the register). 3. **oldest_active_issued ASC** — among active-licence candidates, the one whose *oldest* active licence issued first wins. Stability signal: a parent entity that has been licensed longest is the most useful "who actually runs this brand" answer. 4. **total_licenses DESC** — more licences across the register → more likely a parent entity rather than a single-purpose subsidiary. 5. **operator_slug ASC** — lexicographic final fallback. Always deterministic even when every previous rank is tied. Clients that cache domain → operator mappings can rely on the primary result remaining stable between index rebuilds; any change in primary reflects a change in the underlying registry data, not PG query randomness. ## alternatives[] Up to 3 runner-up candidates, sorted by similarity descending. - On `confidence: medium` or `low` (a fuzzy match), these are operators with the same or similar trading name that we ranked below the primary match. - On a generic label (`match: null`, `match_absence_reason: generic_term`), this is always `[]` — we refuse to guess when the label is ambiguous. - On `confidence: high` and on a `no_record_found` miss, also `[]`. ## Why the generic-label filter exists Without it, `GET /v1/check?domain=casino.org` would return "Casino MK Limited" with `confidence: medium` — deterministically, because "casino" matches that trading name at similarity 1.0. But casino.org is on no licence we read, and "Casino MK runs it" would be a guess dressed up as an answer. The blocklist is a substring regex over the normalised label — `casino`, `poker`, `bingo`, `gambling`, `bet`, `slot`/`slots`, `sportsbook`, `roulette`, `blackjack`, `wager`, `lottery`, `gaming`. Matches anywhere in the label, so `casino.org`, `bestcasino.com`, and `casino-bonus.com` all return `match: null`, `confidence: low`, `match_absence_reason: generic_term` and empty `alternatives[]`. Domains we read on a licence still resolve even when they contain one of these keywords (`bet365.com`, `pokerstars.com`, `casino.com`) because the domain-exact match runs before the generic gate — and then, as always, `status` and `domain_status` say whether that licence covers the site today. The related-hosts check runs before it too: `sports.bet365.com` is `related_host_listed`, not `generic_term`. --- # Coverage methodology URL: https://igregulator.io/docs/coverage-methodology/ Markdown: https://igregulator.io/docs/coverage-methodology.md > How iGregulator measures domain coverage per jurisdiction: what counts in the numerator and denominator of /v1/health/coverage domain_coverage, and its limits. `/v1/health/coverage` returns a `domain_coverage` object per jurisdiction: ```json "MGA": { "domain_coverage": { "operators_with_domain": 106, "normative_operators": 114, "coverage_pct": 93 } } ``` This page explains what those three numbers mean — because the honest answer depends on which question you're asking. It covers domain coverage only; how we read each register and which regulator page sets each licence status is in our [methodology](https://igregulator.io/methodology/). ## The numbers | Field | Meaning | | --- | --- | | `normative_operators` | Operators in this jurisdiction whose license type is one where **domain disclosure is normative** — i.e., the operator is consumer-facing and the regulator publishes (or could publish) a website field. | | `operators_with_domain` | Subset of those operators that have **≥1 linked domain** (a row in `domain_operators`) in our DB. | | `coverage_pct` | `operators_with_domain / normative_operators` × 100. The honest "what fraction of operators we *should* have a domain for, do we?" number. | ## Why exclude non-consumer license types Different regulators license different activities. A B2B software supplier or a non-remote arcade operator can hold a perfectly valid license without ever running a consumer website. Including them in the denominator deflates coverage in a way that has nothing to do with our scraper quality — it just measures the regulator's mix of consumer-facing vs. supplier licenses. The normative subset filters them out. What's left is operators where a missing domain is *interesting* — either we missed it (scraper bug we can fix) or the regulator didn't publish it (upstream ceiling, defer to enrichment). ## Per-jurisdiction filter | Jur | Normative subset | Excluded | | --- | --- | --- | | **UKGC** | `license_type_raw = 'Remote'` | `Non-Remote` (physical premises), `Ancillary Remote` (B2B suppliers, game studios) | | **MGA** | `license_number LIKE 'MGA/B2C/%'` | `MGA/B2B/*` (suppliers), `MGA/CRP/*` (Critical Gaming Supply / Recognition / Personal) | | **CW** | `license_type_raw ILIKE 'b2c%'` | `b2b` (suppliers post-LOK) | | **KH** | `license_type_raw = 'Interactive Gaming Permit'` | `CSPA` (Casino Software Provider Authorisation, B2B suppliers) | | **AN** | `'B2C' = ANY(license_types)` | pure-B2B and pure-White-Labeling-only operators | | **TGC** | `license_type_raw = 'B2C'` | `B2B` (suppliers) | | **IOM** | `license_type_raw = 'Full'` | `Network Services`, `Software Supply` (B2B — networks and game suppliers) | | **ON** | every operator in the directory | nothing — iGaming Ontario's operator directory lists operators of player-facing sites only, and prints no licence type | | **SE** | `license_type_raw IN ('Kommersiellt online', 'Kommersiellt vadhållning')` | nothing we hold — but see below: every other Swedish licence type is not loaded at all | | **ES** | every licence | nothing — every DGOJ licence is an online one; but see below: lotteries and land-based gambling are not DGOJ licences at all | | **BE** | every licence | nothing we hold — only the three online classes (`A+`, `B+`, `F1+`) are loaded; but see below: land-based licences are not loaded at all | | **DE** | every licence | nothing we hold — only the GGL's four internet game types are loaded; but see below: a Land's online casino permits, lotteries and land casinos are not loaded at all | | **CO** | every licence | nothing — every Coljuegos concession we load is an online one; but see below: land-based gaming and the lotteries are not loaded at all | | **UA** | every licence | nothing we hold — only PlayCity's three online types (`Online casino`, `Online poker`, `Bookmaking`) are loaded; but see below: land casinos, slot halls and the lotteries are not loaded at all | For MGA we filter on the license-number prefix because `license_type_raw` carries the gaming-service breakdown (`Type 1, Type 2, Type 3, Type 4`), not the B2B/B2C class distinction. For AN, operators with mixed `license_types` (e.g., `["B2C","B2B"]`) **are included** — having any B2C component makes the operator consumer-facing. For IOM, `Full` is the Online Gambling Regulation Act licence to offer gambling to the public; the Isle of Man Gambling Supervision Commission lists a website in a licensee's profile only "where a licence holder is actively offering services to the public". A `Network Services` licensee (a poker network, say) can run a consumer site and still falls outside the subset — the filter follows the licence type the Commission names. For ON, what we read is iGaming Ontario's operator directory — the public list of the operators the Alcohol and Gaming Commission of Ontario (AGCO) registers; the AGCO's own list page points at it. Each entry names the operator's gaming sites, so every operator is in the subset. A site is linked by its host; a host the directory lists under two operators is linked to both, and a look-up names each of them. For SE, we load two of the licence types in Spelinspektionen's register — `Kommersiellt online` (commercial online gaming) and `Kommersiellt vadhållning` (betting), the two the register lists web addresses for. **Not loaded:** B2B software permits (`Spelprogramvara`), land-based casino and card games, state gaming machines, ships, and public-benefit and state lotteries. Some of those lotteries run websites (bingolotto.se is one), and `/v1/check` answers `not_found` for them: that is a limit of our coverage, **not a finding that the site is unlicensed**. The register lists some addresses with a market section (`betsson.com/sv`); we link the host, and keep the address as listed in the licence's `raw_data`. For ES, we load the Dirección General de Ordenación del Juego's (DGOJ) state-level online licences: one record per general licence (`Apuestas`, `Concursos`, `Otros juegos`) of each operator on the DGOJ's "Operadores con licencia" list, and the domains its operator page lists ("Lista de dominios"). Every one can cover a website, so every operator is in the subset. **Not in our data:** the state lotteries (SELAE — Loterías y Apuestas del Estado — and ONCE), which are reserved by law and hold no DGOJ licence, and land-based and regional gambling, which the autonomous communities license. `/v1/check` answers `not_found` for such a site: a limit of our coverage, **not a finding that the site is unlicensed**. For BE, we load the Belgian Gaming Commission's (Kansspelcommissie) three online licence classes, each the online extension of a land licence: `A+` (online casino games), `B+` (online arcade games) and `F1+` (online betting), read from the Commission's published lists of active licences. Each row names the sites it licenses; we link the host, and a site the Commission lists for two operators is linked to both. **Not in our data:** the land-based classes (`A`, `B`, `C`, `F2`) and the Loterie Nationale. `/v1/check` answers `not_found` for such a site: a limit of our coverage, **not a finding that the site is unlicensed**. For DE, we load the four internet game types the Gemeinsame Glücksspielbehörde der Länder (GGL) itself permits, from its official whitelist: `Virtuelle Automatenspiele` (virtual slots), `Online-Poker`, `Sportwetten` (sports betting) and `Pferdewetten im Internet` (online horse betting); a retail-only betting permit is not loaded. The whitelist lists each permit's websites, sometimes with a section (`pokerstars.de/sports`); we link the host, and keep the listing as printed in the licence's `raw_data`. **Not in our data:** online casino table games licensed by a Land (Schleswig-Holstein, Bayern), lotteries (the state DLTB lotteries, lottery brokers, charity lotteries) and land casinos, though the whitelist names them. `/v1/check` answers `not_found` for such a site: a limit of our coverage, **not a finding that the site is unlicensed**. For CO, we load Coljuegos' online gaming concessions — *juegos novedosos* of the *juegos operados por internet* kind — from its page of authorised online operators: one record per concession contract, its `license_number` Coljuegos' own contract number (`2182`, `C2261`). The page names each operator's website; we link the host. **Not in our data:** land-based gaming (*juegos localizados*) and the lotteries. `/v1/check` answers `not_found` for such a site: a limit of our coverage, **not a finding that the site is unlicensed**. For UA, we load PlayCity's online casino, online poker and bookmaking licences from its register of every licence (a PDF linked from playcity.gov.ua): one record per issuing decision, `license_number` our reference (PlayCity prints none). The register names each licensee's websites and apps; we link every website host. **Not in our data:** land casinos, slot halls, per-machine and per-table licences, bookmaker shops and the state lotteries. `/v1/check` answers `not_found` for such a site: a limit of our coverage, **not a finding that the site is unlicensed**. ## Reading the numbers For a given jurisdiction, `coverage_pct` is the most useful single indicator of "how complete is iGregulator on this regulator?" **relative to what's recoverable**. It's not the same as "% of all licensees that have a domain" — that older framing mixed B2B and consumer-facing operators and obscured the real ceiling. Two consequences worth flagging: - A `coverage_pct` of 0 means either (a) the upstream regulator doesn't publish website data at all, or (b) our scraper hasn't started picking up the field yet. - A `coverage_pct` near 100 means we're at the upstream ceiling — any remaining gap is operators who haven't disclosed a domain to the regulator, not a scraper bug. ## Regulator-verified domains (Curaçao, Tobique) Curaçao and Tobique publish **no bulk domain list** — but both run a per-domain verification surface of their own: the CGA certificate portal (`cert.cga.cw`, including the `/token` registry that lists each licence's complete approved-domain cluster) and the Tobique validation seal (`validate.thetgc.ca`). Our coverage for these two jurisdictions is built directly on those pages: - Every CW/TGC domain we hold carries the regulator's own `verification_url` — surfaced on `/v1/check` so you can confirm the verdict against the primary source yourself. - A **nightly re-verification pass** re-reads up to 500 stored pages per jurisdiction, oldest first — every Tobique seal each night, each Curaçao certificate every 2–3 days — and moves `domain_status` only on a clean read of the regulator's own words — in both directions (`active` ↔ `delisted`), never on a guess. A page we cannot fetch or parse changes nothing. - **Weekly discovery** finds what's new: a CGA `/token` registry sweep (more complete than the published OGL PDF) and a Tobique headless-render pass over candidate casino sites (the seal is JS-injected in site footers, so a plain fetch can't see it). This makes CW/TGC domain rows *stronger* than a register listing: each one is backed by a regulator page we re-checked within the last three days. ## Numbers can shift when methodology changes The `1.4.0` changelog (2026-04-28) introduced this metric. Prior versions reported coverage as `total_domains / total_licenses` per jurisdiction, which inflated KH (3+ domains per IGL holder average made it read 91% even though only 42 of 61 holders had any domain disclosed) and deflated UKGC (the 17.3% denominator was 2,660 total ops including 1,594 non-remote licensees, dragging the rate down). If you compare numbers in a `1.3.x` response to numbers in `≥1.4.0`, expect movement. The DB hasn't changed — only the question we're asking it. ## Current per-jurisdiction status As of 2026-09-30 (read from [`/v1/health/coverage`](https://api.igregulator.io/v1/health/coverage), where the live numbers always are): | Jur | `coverage_pct` | With domain / normative | Reading | | --- | --- | --- | --- | | AN | 99% | 1,394 / 1,405 | Near-ceiling — the remaining AN operators chose not to disclose a domain upstream | | CW | 93% | 566 / 607 | Was 0% until 1.9.0 — built from the CGA's own verification portal (`/token` clusters + certificates), ~4,850 domain links, each re-verified against its certificate every 2–3 days | | MGA | 93% | 106 / 114 | Post-enrichment ceiling (a handful of B2C operators omit the Website Urls section upstream) | | KH | 73% | 46 / 63 | Matches the upstream ceiling — the missing IGL holders chose not to disclose | | UKGC | 55% | 520 / 937 | Upstream ceiling — only Remote-license holders in `domain-names.csv` can be covered | | TGC | 16% | 28 / 171 | Seal-discovery live (weekly headless-render pass) — growing run by run; the register itself publishes no website column | | IOM | 88% | 14 / 16 | At the upstream ceiling — the two `Full` licensees without a domain (PlaySmart IOM, Premier Gateway International) have no website in their register profile. 50 domain links across 27 licensees in all, suppliers included | | ON | — | — | New on 2026-10-08; the live endpoint has the figures. The directory listed 49 operators and 84 gaming sites on 2026-10-07 | | SE | — | — | New on 2026-10-08; the live endpoint has the figures. On 2026-10-07 the register held 139 online-gaming and betting licences over 80 holders, listing 197 hosts on 137 of them (two licences list no website) | | ES | — | — | New on 2026-10-15; the live endpoint has the figures. 78 licensed operators, 135 general licences and 126 `.es` domains at the first read | | BE | — | — | New on 2026-10-15; the live endpoint has the figures. 81 licences (A+ 9, B+ 48, F1+ 24) over 76 operators and 79 hosts at the first read | | DE | — | — | New on 2026-10-15; the live endpoint has the figures. 72 licences over 50 operators and 123 hosts at the first read | | CO | — | — | New on 2026-10-16; the live endpoint has the figures. 14 concessions over 14 operators and ~15 hosts (all `.co` / `.com.co`) at the first read | | UA | — | — | New on 2026-10-21; the live endpoint has the figures | Questions about a specific jurisdiction's upstream behaviour — [founder@igregulator.io](mailto:founder@igregulator.io). --- # Batch domain check URL: https://igregulator.io/docs/batch/ Markdown: https://igregulator.io/docs/batch.md > Verify up to 100 domains in one call with POST /v1/check/batch — a KYB sweep or affiliate-list audit without N sequential requests, same verdict per row. `POST /v1/check/batch` resolves up to **100 domains in one request**, so a KYB sweep or affiliate-list audit is one round trip instead of N. 200 merchants = 2 calls, not 200. Authenticated (the single `GET /v1/check` stays keyless); domains only. ## Request ```bash curl -s -X POST https://api.igregulator.io/v1/check/batch \ -H "Authorization: Bearer $IGREGULATOR_KEY" \ -H "Content-Type: application/json" \ -d '{"domains":["bet365.com","www.virginbet.com","casino.org"]}' ``` ## Response ```json { "count": 3, "checked_jurisdictions": ["AN", "BE", "CO", "CW", "DE", "ES", "IOM", "KH", "MGA", "ON", "SE", "TGC", "UA", "UKGC"], "results": [ { "query": { "domain": "bet365.com", "input": "bet365.com" }, "verdict": "licensed", "verdict_detail": "bet365.com is listed, as of our read on 2026-09-30, on an active UK Gambling Commission licence held by Hillside (UK Gaming) ENC (licence 055149-R-331499-004); see GET /v1/check for this domain's 2 other operator links.", "match": { "operator": "Hillside (UK Gaming) ENC", "status": "active", "domain_status": "active", "...": "…" }, "confidence": "high", "_meta": { "register": { "jurisdiction": "UKGC", "last_read_at": "2026-09-30T03:00:26.364Z", "fresh": true, "sla_hours": 24 } } }, { "query": { "domain": "www.virginbet.com", "input": "www.virginbet.com" }, "verdict": "licensed", "verdict_detail": "www.virginbet.com is listed, as of our read on 2026-09-30, on an active UK Gambling Commission licence held by Virgin Bet Limited (licence 054310-R-330640-007, white label).", "match": { "operator": "Virgin Bet Limited", "domain_association": "white_label", "...": "…" }, "confidence": "high", "_meta": { "register": { "...": "…" } } }, { "query": { "domain": "casino.org", "input": "casino.org" }, "verdict": "generic_term", "verdict_detail": "casino.org is on no licence we hold in the 14 jurisdictions we cover (AN, BE, CO, CW, DE, ES, IOM, KH, MGA, ON, SE, TGC, UA, UKGC), and its name contains the generic gambling term \"casino\", so we will not guess an operator from it — not a finding that it is unlicensed.", "match": null, "confidence": "low", "match_absence_reason": "generic_term" } ], "_meta": { "checked_at": "2026-09-30T18:48:03.561Z", "stale_jurisdictions": [{ "code": "TGC", "last_read_at": "2026-09-21T04:15:08.476Z" }] } } ``` Said once, at the top, because it is the same for every row: `checked_jurisdictions` (the registers every row was checked against) and `_meta` — `checked_at`, and `stale_jurisdictions`, the covered registers past their freshness window, which weaken every "not found" in the batch. ### What a row carries — and what it leaves out A row is resolved exactly like `GET /v1/check` (same matching, same verdict rules), but it is not the whole single-check response. Every row that is not an error carries: - `query` — `domain`, the hostname we looked up, and `input`, the string you sent ([hostnames](https://igregulator.io/docs/batch/#hostnames)). - `verdict` and `verdict_detail` — branch on the first, quote the second ([confidence scoring](https://igregulator.io/docs/confidence/#verdict--the-answer-in-one-field)). - `match` — the same object as on `GET /v1/check`, or `null`. - `confidence` — always present; `none` on a miss (`low` when the miss is a `generic_term`). - `match_absence_reason` — only when `match` is `null`. - `related_hosts[]` — only when your host (and its `www.` counterpart) isn't stored but other hosts on its registrable domain are ([related hosts](https://igregulator.io/docs/confidence/#related_hosts--hosts-a-register-does-list)). - `_meta.register` — when there is a matched jurisdiction: when we last read its register and whether that read is inside its freshness window. A row does **not** carry: - `jurisdictions[]` — a dual-licensed domain's other operator links. `verdict_detail` says how many there are; `GET /v1/check` on that domain lists them. - `as_of` — the batch takes no `as_of`. Ask `GET /v1/check?as_of=` per domain. - `alternatives[]`, a per-row `checked_jurisdictions` (it is at the top), or the rest of the single check's `_meta` (`source_url`, `scraped_at`, …). ## Partial success One bad entry doesn't fail the batch. An entry we can't look up — not a string, longer than 253 characters, or not a hostname even after [normalising](https://igregulator.io/docs/batch/#hostnames) — comes back in its place as an error row, and every other domain still resolves: ```json { "query": { "input": "https://bet365.com/" }, "match": null, "confidence": "none", "error": "invalid_hostname", "error_detail": "Not a hostname: pass a bare hostname — no scheme, path, port or underscores." } ``` `error` is `invalid_hostname` for a string that isn't a hostname (or is longer than 253 characters) and `invalid_input` for an entry that isn't a string at all; `error_detail` says which. `query` carries only `input` — what you sent — since there is no hostname to report. An error row has **no `verdict`** and no `verdict_detail`: we did not check it, so there is nothing to say about it — report it as unchecked, never as not found. The whole request is refused (`400 invalid_query`) only when the body itself is wrong: not JSON, no `domains` array, an empty array, more than 100 entries, or a body larger than 64 KB. ## Hostnames Each entry is normalised before it is looked up, and `query.domain` is the result: - lowercased, surrounding whitespace trimmed; - a trailing dot dropped (`bet365.com.` → `bet365.com`); - an internationalised (Unicode) name converted to punycode, the form registers list (`bücher.example` → `xn--bcher-kva.example`). `query.input` is what you sent, as you sent it, so you can join a row back to your own list. A URL (`https://bet365.com/`) is not a hostname — strip the scheme and path yourself. A host and its `www.` counterpart are the same site; any other subdomain is a different host ([which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain)). ## Limits & semantics - **`POST` only.** `GET /v1/check/batch` (or any other method) answers `405 method_not_allowed` with `Allow: POST`, key or no key; for one domain without a key, use `GET /v1/check?domain=`. - **Max 100 domains** per request; paginate beyond. - Domains are resolved with bounded concurrency server-side — order of `results` follows the order you sent. - Counts as **one request** against your plan quota today. - Each result uses the same matching as `GET /v1/check`: the host and its `www.` counterpart (one site), then other hosts on the registrable domain (never taken as your host), then a name match. ## Clients Branch on `verdict` — only `licensed` and `licensed_provisional` mean licensed now — and keep `verdict_detail` with the result: ```python import requests r = requests.post( "https://api.igregulator.io/v1/check/batch", headers={"Authorization": f"Bearer {KEY}"}, json={"domains": domains[:100]}, ) r.raise_for_status() for row in r.json()["results"]: sent = row["query"]["input"] # every row has it; an error row has no "domain" if row.get("error"): # Not checked at all — no verdict. Fix the entry and send it again. print(sent, "→ not checked:", row["error"]) elif row["verdict"] == "licensed": print(sent, "→ licensed:", row["verdict_detail"]) elif row["verdict"] == "licensed_provisional": # In force, provisionally: accept per your policy, and recheck later. print(sent, "→ licensed, provisionally (recheck):", row["verdict_detail"]) else: # Not confirmed as licensed by the registers we cover. Not "unlicensed": # review it, with the sentence. print(sent, f"→ review ({row['verdict']}):", row["verdict_detail"]) ``` ```javascript const res = await fetch('https://api.igregulator.io/v1/check/batch', { method: 'POST', headers: { Authorization: `Bearer ${KEY}`, 'Content-Type': 'application/json' }, body: JSON.stringify({ domains: domains.slice(0, 100) }), }); if (!res.ok) throw new Error(`HTTP ${res.status}`); const { results } = await res.json(); for (const row of results) { const sent = row.query.input ?? row.query.domain; if (row.error) { // Not checked at all — no verdict. Fix the entry and send it again. console.log(sent, '→ not checked:', row.error); } else if (row.verdict === 'licensed' || row.verdict === 'licensed_provisional') { // licensed_provisional: in force, provisionally — recheck later. console.log(sent, `→ ${row.verdict}:`, row.verdict_detail); } else { // Not confirmed as licensed by the registers we cover — review, never "unlicensed". console.log(sent, `→ review (${row.verdict}):`, row.verdict_detail); } } ``` --- # Export (CSV / JSON) URL: https://igregulator.io/docs/export/ Markdown: https://igregulator.io/docs/export.md > Download every licence, operator or domain link as CSV or NDJSON, from the dashboard or GET /v1/export. Pro and above; every row keeps its status provenance. Export gives you a whole dataset — or the slice you filtered to — as one file: every licence, every operator, or every domain ↔ operator link we hold. The rows are the same records the rest of the API serves, and each one carries its own provenance, so a spreadsheet you hand to an auditor still says where every status came from and when we read it. **Export is part of Pro** (and Business and Enterprise). On Starter the Export button and the endpoint are there, but they answer with what Pro includes, never with data — not even a sample. Pro is paid by card, or by invoice for three months or more — both from your account's [Billing](https://app.igregulator.io/billing) page. ## From the dashboard Signed in, both Explore views carry an **export: csv · json** control beside the sort: - **Operators / Licenses** (`app.igregulator.io/`) exports the licences the current filters match — search, jurisdiction, status, category, licence type, enforcement flags — every page of them, in the table's sort. - **Domains** (`app.igregulator.io/domains`) exports the domain links of the domains the current filters match. A domain is exported with **every** link it has, as its table row shows it, so a brand licensed by two entities never comes out half-way. The file has the same columns as the API export below. ## From the API ```bash curl -s -OJ "https://api.igregulator.io/v1/export/licences?format=csv&jurisdiction=UKGC,MGA" \ -H "Authorization: Bearer $IGREGULATOR_KEY" # → igregulator-licences-2026-09-30.csv ``` `GET /v1/export/{dataset}` — a key is required (no anonymous exports). | Dataset | One row per | Joins on | | --- | --- | --- | | `licences` | licence (`licenses` is accepted too) | `operator_slug` | | `operators` | legal entity | `operator_slug` | | `domains` | domain ↔ operator link | `operator_slug`, `license_id` | | Parameter | Values | | --- | --- | | `format` | `csv` (default) or `json` — NDJSON, one object per line (`ndjson` works too). | | `jurisdiction` | Comma-separated codes (`UKGC,MGA`), case-insensitive; repeating the parameter works too. `licences`: the licence's jurisdiction. `operators`: holds a licence there. `domains`: the jurisdiction of the licence the link's status comes from. An unknown code is a `400`. | | `status` | Comma-separated licence statuses (`active`, `suspended`, `revoked`, `expired`, `pending`, `unknown`, `surrendered`, `not_in_register`). `operators`: holds a licence with that status (in the `jurisdiction` given, when both are). `domains`: the status of the licence the link answers to. | Any other parameter is a `400` rather than being silently ignored — a filter we dropped would hand you more rows than you asked for. `as_of` is not supported (`400`, `details.reason: "as_of_not_supported"`): an export is the current state. For a status on a past date, use `?as_of=` on `/v1/licenses/{id}`, `/v1/operators/{slug}` or `/v1/check` ([point-in-time](https://igregulator.io/docs/point-in-time/)). ### Response headers | Header | Meaning | | --- | --- | | `Content-Disposition` | `attachment; filename="igregulator--."` | | `X-Dataset-Generated-At` | When the rows were read (ISO-8601 UTC). | | `X-Export-Row-Count` | Rows in the file (the CSV header / NDJSON `_meta` line not counted). | | `X-Export-Dataset` | The dataset served: `licences`, `operators` or `domains`. | | `X-Export-Daily-Limit` / `-Used` / `-Remaining` / `-Reset` | Your export allowance today — see [limits](https://igregulator.io/docs/export/#limits). On a plan with no daily cap: `X-Export-Daily-Limit: unlimited` and `-Reset` only. | The body is streamed. The row count and the rows come from one database statement, so they describe the same moment; if the lines you received are fewer than `X-Export-Row-Count`, the download was cut off — fetch it again. `HEAD` runs the same checks and answers with the same status and no body, without reading the dataset and without using one of today's exports — a way to ask "may I, and how many are left" (`X-Export-Daily-*` show the allowance as it stands). Its `200` has no `X-Export-Row-Count` and no `X-Dataset-Generated-At`: nothing was read. It counts as one request against your monthly quota, like any answered request. ## Formats **CSV** — RFC 4180: UTF-8 without a byte-order mark, CRLF line ends, a header row, a field quoted when it contains a comma, quote or line break. A list (`license_types`, `jurisdictions`) is `|`-joined; an object (`upstream_ids`) is its JSON text; null is an empty cell. A text value that starts with `=`, `+`, `-` or `@` gets a leading `'` so a spreadsheet shows it instead of running it as a formula — a UKGC trading name really is `@gamingfun`. In Excel, open the file with Data → From Text/CSV so accented names come through as UTF-8. **JSON** (`format=json`) — NDJSON. Line 1 is a metadata object; every other line is one row, keys in the column order below, values untouched (lists as arrays, nulls as `null`, no formula guard): ```json {"_meta":{"dataset":"licences","generated_at":"2026-09-30T18:00:00.000Z","row_count":6664,"filters":{"jurisdiction":null,"status":null},"source":"api","format":"ndjson","columns":["license_id","license_number","…"],"as_of":null,"note":"…"}} {"license_id":"d29fbc19-…","license_number":"039028-R-319297-014","license_number_kind":"regulator","jurisdiction_code":"UKGC","status":"active","status_source_url":"https://www.gamblingcommission.gov.uk/downloads/business-licence-data.zip","status_observed_at":"2026-09-30T03:10:12.000Z","…":"…"} ``` No row has a `_meta` key, so skip the line that has one: ```bash tail -n +2 igregulator-licences-2026-09-30.ndjson | jq -r 'select(.status != "active") | [.license_number, .status, .status_source_url] | @tsv' ``` ```python import pandas as pd df = pd.read_json("igregulator-domains-2026-09-30.ndjson", lines=True).iloc[1:] ``` ## What a row says Every row carries the same truth the API serves — and no more: - **A status comes with where and when we read it.** `status_source_url` is the page that published THIS status (an enforcement register, a revoked-licences list, an advisory notice), which is often not the register the licence is listed in (`source_url`); `status_observed_at` is when we read it. Cite `status_source_url`. - **Only `active` means licensed now.** `not_in_register` means the register stopped listing the licence and published no reason — `not_listed_since` says since when and `last_listed_at` when we last saw it. It is not a revocation, and neither are `surrendered` or `unknown`. [How we verify](https://igregulator.io/methodology/) says which regulator page sets which status. - **Kahnawake, Tobique, the Isle of Man, Ontario, Sweden, Spain, Belgium, Germany and Ukraine publish no licence number.** For KH, TGC, IOM, ON, SE, ES, BE, DE and UA the `license_number` is a reference we assigned (`KH/IG/…`, `KH/CSPA/…`, `TGC/B2C/…`, `IOM/OGRA/…`, `ON/IGO/…`, `SE/ONLINE/…`, `SE/BETTING/…`, `ES/APUESTAS/…`, `ES/CONCURSOS/…`, `ES/OTROS-JUEGOS/…`, `BE/APLUS/…`, `BE/BPLUS/…`, `BE/F1PLUS/…`, `DE/SLOTS/…`, `DE/POKER/…`, `DE/SPORTS/…`, `DE/HORSES/…`, `UA/CASINO/…`, `UA/POKER/…`, `UA/BETTING/…`), and `license_number_kind` says so: `igregulator_reference`, not `regulator`. Never quote it as the regulator's number. - **A domain row is a link, with the link's own status.** `domain_status` is the domain's status under THAT operator (`delisted` = the regulator removed it from that licensee); the same domain can be `active` on one row and `delisted` on another. The licence columns are the link's licence — the same one `/v1/check` reports: the operator's best licence that can cover a website (UKGC remote or ancillary remote, MGA B2C, the Curaçao licence the row's certificate names), `active` first, then the most recently verified. When it holds none, the licence columns are empty, `jurisdiction_code` still names the regulator that lists the link, and `standing` is `licence_not_active` ([which licence](https://igregulator.io/docs/confidence/#which-licence-a-domain-link-reports)). - `upstream_status` is the register's own word, left out where it would contradict the status, exactly as on `/v1/check`. ### `licences` columns | Column | Meaning | | --- | --- | | `license_id` | Our licence id — what `/v1/licenses/{id}` takes. | | `license_number` | The licence number; for KH, TGC, IOM, ON, SE, ES, BE, DE and UA our reference. | | `license_number_kind` | `regulator` or `igregulator_reference`. | | `jurisdiction_code` | `UKGC`, `MGA`, `CW`, `KH`, `AN`, `TGC`, `IOM`, `ON`, `SE`, `ES`, `BE`, `DE`, `CO`, `UA`. | | `operator_slug`, `operator_name` | The licensee. | | `status` | The licence status. | | `status_qualifier` | `provisional_under_assessment` for a Curaçao licence under the CGA's final assessment; else empty. | | `upstream_status` | The register's own word, where it doesn't contradict `status`. | | `status_source_url`, `status_observed_at` | Where and when this status was read. | | `last_listed_at` | When we last saw the licence listed. | | `not_listed_since` | When the register stopped listing it; empty while listed. | | `license_types`, `license_type_raw`, `license_category` | Types as named, the raw string, and our cross-jurisdiction category. | | `issued_date`, `expiry_date` | Where the register publishes them. | | `last_verified_at` | When we last read the register for it. | | `source_url` | The register it is listed in. | ### `operators` columns | Column | Meaning | | --- | --- | | `operator_id`, `operator_slug`, `operator_name` | The legal entity. | | `registered_name` | The name the register gives next to it (UKGC: often a trading name). | | `country` | ISO country code, where known. | | `upstream_ids` | Its id per register; for KH, TGC, IOM, SE, BE and DE a key made from the name; for ON, iGaming Ontario's directory id; for ES, the DGOJ's profile slug; for CO, Coljuegos' concession contract number; for UA, the company's EDRPOU code. | | `jurisdictions` | Where we hold a licence record for it, any status. | | `active_jurisdictions` | Where it holds an `active` licence. | | `licences_total`, `licences_active` | Licence records; those `active`. | | `licences_last_verified_at` | When we last read a register about it. | | `domains_total`, `domains_active` | Domain links; those whose own status is `active` (says nothing about the licence). | | `created_at`, `updated_at` | When we first recorded it; when its own record last changed. | There is no operator-level status: an operator licensed in two jurisdictions is never collapsed into one. The `licences` export has each licence. ### `domains` columns | Column | Meaning | | --- | --- | | `domain` | As the register lists it. | | `operator_slug`, `operator_name` | The operator this link is to. | | `domain_status` | The link's own status: `active`, `delisted`, … | | `domain_association` | `direct` (the licensee runs it) or `white_label`. | | `verification_url` | The regulator's own page that names this domain, where we hold one (a Curaçao certificate, a Tobique seal, an MGA verification page). A legacy `cert.gcb.cw` link is given on `cert.cga.cw`, which it redirects to. | | `verification_page_kind` | What that page is: `domain_certificate` (a page for this domain alone: a CGA Certificate of Operation, a Tobique seal), `licence_certificate` (the CGA certificate for the licence, listing this domain among its "Approved domains"), `licensee_page` (the MGA page for the licensee, listing this domain among its websites), `other`, or empty when there is no page. | | `standing` | `licensed` (link and licence both `active`, no qualifier), `licensed_provisional` (link and licence both `active`, with a `status_qualifier` — in force provisionally), `licence_not_active` (including a listed link whose operator holds no licence that can cover a website), `delisted`, or `other` (parked / expired / redirecting, or an operator we hold no licence for) — derived from `domain_status`, `license_status` and `status_qualifier` on the same row. Only `licensed` and `licensed_provisional` mean licensed now. | | `link_first_seen`, `link_last_verified` | When we first saw the link; when a source last confirmed it. | | `license_id`, `jurisdiction_code`, `license_number`, `license_number_kind` | The licence the link's status comes from. | | `license_status`, `status_qualifier`, `upstream_status` | That licence's status, as in `licences`. | | `status_source_url`, `status_observed_at` | Where and when that status was read. | | `license_last_verified_at` | When we last read that licence's register. | | `domain_registered_at` | When the domain was registered, from its registry's RDAP record (the registered name: `stake.com` for `www.stake.com`). A fact about the domain, not the licence. Null when we have no record: the TLD publishes no RDAP (e.g. `.de`, `.es`, `.se`, `.be`), or it is not read yet. | | `domain_expires_at` | When the domain's current registration period ends, from the same record. | | `domain_registrar` | The sponsoring registrar, as the registry names it. | ## Limits | Plan | Exports per UTC day | | --- | --- | | Starter | None — `402` | | Pro | 10 | | Business | 100 | | Enterprise | Unlimited | - The allowance is **per account**, and the dashboard and the API share it. - An API export counts as **one** request against your monthly quota, whatever its size. A dashboard export doesn't touch the API quota. - A refused request (`400`, `402`, `429`) uses neither. An export whose query failed before the first byte is given back. - Today's counter resets at 00:00 UTC. ## Errors Below Pro — `402`, with `X-Upgrade-URL`: ```json { "error": "CSV/JSON export is a Pro feature", "code": "payment_required", "details": { "reason": "export_requires_pro", "plan_tier": "starter", "required_plan": "pro", "suggestion": "CSV/JSON export is part of Pro. Pro is paid by card, or by invoice for three months or more — https://app.igregulator.io/billing." } } ``` Over today's allowance — `429`, with `Retry-After` (seconds to 00:00 UTC): ```json { "error": "Daily export limit reached", "code": "rate_limited", "details": { "reason": "export_daily_limit_reached", "current_usage": 10, "limit": 10, "reset_at": "2026-10-01T00:00:00.000Z", "plan_tier": "pro", "suggestion": "…" } } ``` `400 invalid_query` for a bad `format`, `jurisdiction`, `status` or an unknown parameter (`details.field` names it), `400` `as_of_not_supported`, and `404` `dataset_not_found` for a dataset other than the three. The full list is on [error handling](https://igregulator.io/docs/errors/). ## Not included - **`as_of`** — exports are the current state (see above). - **Licence history** — use `/v1/licenses/{id}/history`, or `/v1/operators/{slug}/licenses?include_history=true`. - **Regulatory actions** — `/v1/operators/{slug}/regulatory-actions`. - **MCP** — there is no export tool on the [MCP server](https://igregulator.io/docs/mcp/); a file download isn't a tool call. Use the API. --- # Point-in-time lookups (as_of) URL: https://igregulator.io/docs/point-in-time/ Markdown: https://igregulator.io/docs/point-in-time.md > Reconstruct a gambling licence's status on a past date with as_of — strictly within iGregulator's observation window, with corrections and gaps made explicit. iGregulator keeps the **transition history** of every licence, so you can ask "what was this operator's status on date X" — the question a compliance review asks constantly ("was this merchant licensed at the time of the transaction three months ago?") and the one no incumbent can answer, because none keeps the history. Pass `?as_of=` to `/v1/check`, `/v1/licenses/{id}`, or `/v1/operators/{slug}`. ## The one rule that matters **`as_of` answers only within our observation window. We never extrapolate a status before `tracking_since` — the moment we first recorded the licence.** Our history begins when our scraper first saw a record (`change_type: "created"`). We do not know what was true before that, so we never guess. Asking about a date before `tracking_since` returns `knowledge: "before_tracking"` with a **null** status — not a fabricated "active". A tool that invented pre-observation history would force you to assert a historical fact the data never witnessed; that is worse than not having the feature. > **iGregulator answers "as of date X" only within its observation window — > it tells you when it started watching, and never invents a status it didn't > observe.** ## The states of knowledge | `knowledge` | When | `status_as_of` | | --- | --- | --- | | `observed` | The date is within our window (≥ `tracking_since`). | The real status then. | | `corrected` | The event in effect on that date is one we later **withdrew**. | `null`. We report neither the withdrawn status nor the one before it — neither is something we observed for that date. `correction` says what was withdrawn, when, and why. | | `before_tracking` | The date predates when we started watching. | `null` — unknowable, **not** a guess. `tracking_since` tells you the lower bound. | | `no_such_license` | We have no history for this licence at all. | `null`. | | `no_license_resolved` | (`/v1/check` only) A fuzzy match with no specific licence to time-travel. | `null`. | The `as_of` object also returns `established_by` — the exact history transition in effect on your date (`changed_at`, `new_status`, `change_type`, `source_url`) — so you can see *when* that status was last confirmed relative to your query. ## Date semantics `as_of` takes exactly two forms: - **A date, `YYYY-MM-DD`** — interpreted as **end of that day, UTC** (status at close of day). Today's date (in UTC) answers as of the moment of the request: the rest of the day hasn't happened yet, so "now" is the latest we can answer for. - **A full ISO-8601 datetime** — date, time (seconds and fractions optional) and a UTC offset (`Z` or `±hh:mm`), honoured as given: `2026-03-01T12:00:00Z`, `2026-03-01T14:00+02:00`. Anything else is a `400` (`code: invalid_query`, `details.field: "as_of"`), never a guess at what you meant: - another format — `01/03/2026`, `2026/03/01`, `2026-3-1`, `20260301`, `March 1 2026`; - a datetime without an offset — `2026-03-01T12:00:00` is a local time in a zone we can't know, and guessing UTC would answer for an instant you didn't ask about; - a date or time that doesn't exist — `2026-02-30`, `2026-13-01`, `T25:00`; - a date or instant **in the future** — we never answer about a date we haven't observed. It is never silently clamped to "now". The same rules apply on `/v1/check`, `/v1/licenses/{id}` and `/v1/operators/{slug}`. ## Examples `before_tracking` — asking before we started watching: ```json // GET /v1/licenses/140a822c-…?as_of=2026-01-01 { "as_of": "2026-01-01T23:59:59.999Z", "knowledge": "before_tracking", "status_as_of": null, "established_by": null, "tracking_since": "2026-04-17T15:15:40.055Z" } ``` `observed` — a date after a revocation transition: ```json // GET /v1/licenses/140a822c-…?as_of=2026-05-20 { "as_of": "2026-05-20T23:59:59.999Z", "knowledge": "observed", "status_as_of": "revoked", "established_by": { "changed_at": "2026-05-13T01:00:05.215Z", "new_status": "revoked", "change_type": "status_change", "source_url": "https://www.gamblingcommission.gov.uk/downloads/business-licence-data.zip" }, "tracking_since": "2026-04-17T15:15:40.055Z" } ``` `corrected` — a date inside a period we got wrong and said so: ```json // GET /v1/licenses/6e31e34b-…?as_of=2026-08-20 { "as_of": "2026-08-20T23:59:59.999Z", "knowledge": "corrected", "status_as_of": null, "established_by": null, "correction": { "changed_at": "2026-08-10T02:00:21.269Z", "withdrawn_status": "revoked", "corrected_at": "2026-09-17T17:20:11.123Z", "note": "Inferred from the licence disappearing from the register, not from a regulator publication. No regulator publication of a revocation was found." }, "tracking_since": "2026-04-18T15:15:41.000Z" } ``` History is never deleted here — a wrong event is marked and superseded — so the record of what we *used to say* is still there, and `as_of` must not serve it back as fact. `withdrawn_status` is that record; **it is not the status**. Until 2026-09-17 we reported licences that dropped off a register as `revoked`; those events are withdrawn, and a date inside one of those windows answers `corrected`. On 2026-10-01 two more sets were withdrawn the same way: 755 `→ revoked` events on licences the regulator publishes as given up (711 UKGC licences the Commission lists as `Surrendered`, 44 Curaçao licences "revoked at the request of the operator"), and 148 Curaçao `active → pending` events written when we still read "Assessment in progress" as pending (the CGA keeps such a licence in force). Dates inside those windows answer `corrected` too. Treat it like `before_tracking`: we cannot tell you the status on that date. ## Endpoint notes - **`/v1/licenses/{id}?as_of=`** — cleanest: one licence, one `as_of` object. - **`/v1/operators/{slug}?as_of=`** — resolved **per licence** (each licence in the array gets its own `as_of`); we don't collapse a multi-jurisdiction operator into a single status — you aggregate as your policy requires. - **`/v1/check?domain=X&as_of=`** — the domain→licence attribution is **today's**: we answer for the licence the domain is on now, and only that licence's **status** is time-travelled. We keep no record of when a domain was linked to a licence, so if a site changed hands, the answer is about today's licensee's licence, not about whoever ran the site on your date. The response says this in three places: - `verdict` and `match` still describe **today**; - `verdict_detail` **leads with the answer for your date**, then says "Today: …"; - the `as_of` object names the licence it answered for — `license_id`, `license_number`, `operator` — with `scope: "licence"` and a `link_note`. ```json // GET /v1/check?domain=bet365.com&as_of=2026-03-01 (trimmed) { "query": { "domain": "bet365.com" }, "verdict": "licensed", "verdict_detail": "On 2026-03-01 we were not yet tracking Hillside (UK Gaming) ENC's UK Gambling Commission licence 055149-R-331499-004 (we first recorded it on 2026-04-17), so its status then is unknown. Today: bet365.com is listed, as of our read on 2026-09-30, on an active UK Gambling Commission licence held by Hillside (UK Gaming) ENC (licence 055149-R-331499-004); see jurisdictions[] for this domain's 2 other operator links.", "match": { "license_id": "ea65fd0a-7434-45db-9ac5-8ae5de967423", "status": "active", "...": "…" }, "as_of": { "as_of": "2026-03-01T23:59:59.999Z", "scope": "licence", "license_id": "ea65fd0a-7434-45db-9ac5-8ae5de967423", "license_number": "055149-R-331499-004", "operator": "Hillside (UK Gaming) ENC", "knowledge": "before_tracking", "status_as_of": null, "established_by": null, "tracking_since": "2026-04-17T15:15:42.283Z", "link_note": "We do not record when this domain was linked to this licence; this is the licence's status on that date." } } ``` A `before_tracking` or `corrected` answer is not "licensed then", whatever `verdict` says about today. An `observed` answer says the status and the record it rests on ("On 2026-05-20 … was revoked, per our record of 2026-05-13"). For a licence-number query (`?license_number=…&as_of=`) there is no domain link to qualify: `link_note` is `null`, and the answer is that licence's status on the date. When no licence was resolved (`no_license_resolved`), `license_id`, `license_number` and `operator` are `null`. --- # Pagination URL: https://igregulator.io/docs/pagination/ Markdown: https://igregulator.io/docs/pagination.md > How limit and offset page through iGregulator's list endpoints — operator search, jurisdiction rosters, regulatory actions, watchlists — defaults and caps. Paginated list endpoints accept `limit` and `offset` query parameters and return a `total` in the envelope so callers know when they've walked to the end. ## Endpoints that paginate | Endpoint | `limit` default | `limit` max | Order | | --- | --- | --- | --- | | `GET /v1/operators/search?q=…` | 20 | 100 (keyless: 3 rows) | Exact slug match, then names starting with `q`, then the rest — each group by display name | | `GET /v1/jurisdictions/:code/operators` | 50 | 200 | Internal operator id — stable across pages, not alphabetical | | `GET /v1/operators/:slug/regulatory-actions` | 20 | 100 | `?sort=` — `date_desc` (default), `date_asc`, `amount_desc`, `type_asc` | | `GET /v1/watchlist/operators` | 50 | 200 | Most recently added first | `offset` defaults to 0 and is zero-based. High offsets have linear scan cost; prefer a stable cursor if you're walking 10k+ rows. A `limit` outside the range or a negative `offset` is a `400`, not a silent clamp — `invalid_pagination` on `/v1/jurisdictions/:code/operators`, `invalid_query` on the others ([errors](https://igregulator.io/docs/errors/)). Refused requests aren't charged against your monthly quota. **Not paginated** — these return everything in one response and ignore `limit` / `offset`: `GET /v1/operators/:slug/licenses`, `GET /v1/licenses/:license_id/history`, and the `licenses[]` / `domains[]` arrays inside `GET /v1/operators/:slug`. `GET /v1/watchlist/events` uses a cursor instead ([watchlist](https://igregulator.io/docs/watchlist/)), and `GET /v1/webhooks/:id/deliveries` takes only a `limit` (1–200, default 100; here an out-of-range value is not refused: above 200 is read as 200, a negative number as 1, `0` or a non-number as 100). ## Response envelope ```json { "jurisdiction_code": "UKGC", "total": 2797, "limit": 200, "offset": 400, "operators": [ ] } ``` - `total` — rows matching the query, ignoring limit/offset. - `operators[].length <= limit`. - Next to `total`, `limit` and `offset`, each endpoint names its own context and rows: `q` + `operators` + `_meta` on search, `operator_slug` + `sort` + `regulatory_actions` + `_meta` on regulatory actions. See [endpoints](https://igregulator.io/docs/endpoints/#response-shape-conventions). ## Walking a result set ```bash # Bash loop — fetch all operators for UKGC. offset=0 while :; do resp=$(curl -sH "Authorization: Bearer $KEY" \ "https://api.igregulator.io/v1/jurisdictions/UKGC/operators?limit=200&offset=$offset") rows=$(echo "$resp" | jq '.operators | length') [ "$rows" -eq 0 ] && break echo "$resp" | jq '.operators[]' offset=$((offset + rows)) done ``` ## Why not cursor-based? Offset pagination is simpler to document, easier for UIs that render page numbers, and cheap for our table sizes (current row counts are on [`GET /v1/stats`](https://api.igregulator.io/v1/stats)). When any list crosses 100k rows we'll add a `cursor` query param alongside — offset stays supported for back-compat. ## Rate-limit interplay Each paginated request is one API call against your quota. A full sweep of the ~2,800 UKGC operators at `limit=200` is 14 pages (15 calls with the loop above, which stops on the empty page) — well within Starter's 10k monthly quota, trivial within Pro's 100k. --- # Error handling URL: https://igregulator.io/docs/errors/ Markdown: https://igregulator.io/docs/errors.md > Every iGregulator API error: HTTP status, code and reason, what each means and whether to retry — plus the structured error body and deprecation headers. Every non-2xx response is JSON with a stable `code` and a `details.reason`. Branch on those, not on the human message (the `error` text can change). ## Response shape ```json { "error": "Monthly quota exceeded", "code": "quota_exceeded", "details": { "reason": "monthly_request_limit_reached", "current_usage": 10000, "limit": 10000, "reset_at": "2026-10-01T00:00:00.000Z", "plan_tier": "starter", "suggestion": "…" } } ``` - `code` — the class of error. A small, stable enum. - `details.reason` — always present. The machine-readable cause; the same `code` covers several causes (see below). - `details.field` — the request input at fault, when there is one (`domain`, `as_of`, `slug`, `url`, `events`…). - `details.suggestion` — a fix you can show to a user or act on directly. - Extra fields on some errors: `current_usage`, `limit`, `reset_at`, `plan_tier` on quota and limit errors. ## Code + reason matrix `code` alone is not enough in three places: `rate_limited` covers four different limits; `quota_exceeded` is a 403 (a plan cap on watchlist or webhook size) and a 429 (the monthly quota, or the monthly geo-check allowance); and the keyless hourly cap answers `code: rate_limited` with `details.reason: quota_exceeded`. Branch on the HTTP status, `code` **and** `details.reason`. | HTTP | `code` | `details.reason` | When | Retry? | | --- | --- | --- | --- | --- | | 400 | `invalid_query` | `invalid_input` | A query parameter or JSON body is missing or malformed. `as_of` (`field: as_of`) that is neither a `YYYY-MM-DD` date nor an ISO-8601 datetime with a UTC offset, names a date that doesn't exist (`2026-02-30`), or is in the future ([point-in-time](https://igregulator.io/docs/point-in-time/#date-semantics)). `POST /v1/check/batch` whose body isn't `{ "domains": [...] }` with 1–100 entries — one bad entry is a per-row `error` in a `200`, not a `400` ([batch](https://igregulator.io/docs/batch/#partial-success)). On `/v1/export/:dataset`: a bad `format`, `jurisdiction` or `status`, or a parameter exports don't take (`field` names it). | No — fix the request. | | 400 | `invalid_query` | `as_of_not_supported` | `/v1/export/:dataset` with `as_of`: exports are the current state only. | No — use `as_of` on `/v1/licenses/{id}`, `/v1/operators/{slug}` or `/v1/check`. | | 400 | `invalid_query` | `not_a_valid_hostname` | `/v1/check`: `domain` isn't a bare hostname, even after trimming, lowercasing, dropping a trailing dot and converting a Unicode name to punycode — a URL with a scheme or path, a port, an underscore, a single label ([hostnames we accept](https://igregulator.io/docs/confidence/#hostnames-we-accept)). | No. | | 400 | `invalid_query` | `hostname_too_long` | `/v1/check`: `domain` is longer than 253 characters. | No. | | 400 | `invalid_query` | `missing_required_parameter` | `/v1/check`: neither `domain` nor `license_number`. | No. | | 400 | `invalid_query` | `conflicting_parameters` | `/v1/check`: both `domain` and `license_number`. `/v1/watchlist/events`: both `since` and `cursor`. | No. | | 400 | `invalid_query` | `invalid_pagination` | `/v1/watchlist/operators`: `limit` outside 1–200 or a negative `offset`. | No. | | 400 | `invalid_query` | `invalid_cursor` | `/v1/watchlist/events`: the `cursor` can't be decoded. | No — pass `next_cursor` verbatim. | | 400 | `invalid_query` | `since_exceeds_retention_window` | `/v1/watchlist/events`: `since` is more than 30 days ago. | No. | | 400 | `invalid_query` | `invalid_event_type` | `POST` / `PATCH /v1/webhooks`: an unknown event name (`field: events`). | No. | | 400 | `invalid_query` | `invalid_jurisdiction` | `POST` / `PATCH /v1/webhooks`: an unknown jurisdiction code in the endpoint's `jurisdictions` filter (`field: jurisdictions`). | No. | | 400 | `invalid_query` | `invalid_url`, `invalid_scheme`, `empty_host`, `blocked_hostname`, `unresolvable_host`, `private_ip_blocked` | `POST` / `PATCH /v1/webhooks`: the URL was rejected by the SSRF policy (`field: url`). | No — use a public host. | | 400 | `invalid_slug` | `invalid_input` | Operator slug path parameter is empty or too long (`/v1/operators/:slug…`), or not lowercase letters, digits and hyphens (`DELETE /v1/watchlist/operators/:slug`). | No. | | 400 | `invalid_pagination` | `invalid_input` | `/v1/jurisdictions/:code/operators`: `limit` outside 1–200 or a negative `offset`. | No. | | 400 | `invalid_license_id` | `invalid_input` | `/v1/licenses/:license_id…`: not a UUID (it takes the licence `id`, not the licence number). | No. | | 400 | `invalid_jurisdiction_code` | `invalid_input` | `/v1/jurisdictions/:code…`: not 2–16 letters or digits (case doesn't matter: `ukgc` is `UKGC`). | No. | | 401 | `auth_required` | `api_key_missing` | No `Authorization` header on an endpoint that needs a key. | No — attach a key. | | 401 | `auth_invalid` | `malformed_header` | The header isn't `Bearer `. | No. | | 401 | `auth_invalid` | `api_key_invalid` | The key isn't recognised. A key sent to a public endpoint is checked too. | No. | | 401 | `auth_revoked` | `api_key_revoked` | The key was revoked. | No — create a new key. | | 402 | `payment_required` | `plan_inactive` | The account has no plan, or a `canceled` one. | No. | | 402 | `payment_required` | `plan_ended` | The account's plan ended on the date in `suggestion`. Keys, watchlist and webhook endpoints are kept, no webhook is sent, and renewing restores everything. | No — renew from your account's [Billing](https://app.igregulator.io/billing) page (or email founder@igregulator.io). | | 402 | `payment_required` | `export_requires_pro` | `/v1/export/:dataset` on a plan below Pro — Starter (`plan_tier`, `required_plan: "pro"`, `X-Upgrade-URL`). Pro is paid by card, or by invoice for three months or more — both from your account's [Billing](https://app.igregulator.io/billing) page. See [export](https://igregulator.io/docs/export/). | No. | | 402 | `payment_required` | `geo_checks_require_business` | Any geo-check endpoint (`/v1/geo-checks`, `/v1/geo-check-requests`) on a plan below Business (`required_plan: "business"`). See [geo-checks](https://igregulator.io/docs/geo-checks/). | No. | | 403 | `forbidden` | `oauth_read_only` | A connection signed in through MCP (OAuth, not an API key) calling the watchlist, webhooks or export. Signed-in MCP connections make read-only lookups. | No — use an API key from [app.igregulator.io/api-keys](https://app.igregulator.io/api-keys). | | 403 | `quota_exceeded` | `watchlist_quota_exceeded` | `POST /v1/watchlist/operators` with the watchlist at your plan's cap (`current_usage`, `limit`, `plan_tier`). | No — remove an operator first. | | 403 | `quota_exceeded` | `webhook_quota_exceeded` | `POST /v1/webhooks` with your plan's number of active endpoints already in use. | No — pause or delete one first. | | 404 | `not_found` | `route_not_found` | No such route. | No. | | 404 | `not_found` | `operator_not_found`, `license_not_found`, `jurisdiction_not_found`, `webhook_not_found` | Unknown slug, id or code — `/v1/jurisdictions/:code/operators` included (an unknown code is a 404 there, not an empty list). A webhook that belongs to another account is also `webhook_not_found`. | No. | | 404 | `not_found` | `dataset_not_found` | `/v1/export/:dataset` with a dataset other than `licences`, `operators`, `domains`. | No. | | 405 | `method_not_allowed` | `method_not_allowed` | `/v1/check/batch` with any method but `POST` (`Allow: POST`), with or without a key. | No — `POST` it, or use `GET /v1/check` for one domain. | | 409 | `conflict` | `watchlist_duplicate` | `POST /v1/watchlist/operators`: the operator is already on your watchlist. | No — nothing to do. | | 409 | `conflict` | `no_active_secret` | `POST /v1/webhooks/:id/test`: the endpoint has no unexpired signing secret. | No — rotate the secret. | | 429 | `rate_limited` | `quota_exceeded` | Keyless call over 10 / hour / IP on a public endpoint (`details.limit`, `details.reset_at`). | After `details.reset_at` / `X-RateLimit-Reset` — the top of the next UTC hour. | | 429 | `rate_limited` | `per_second_limit_exceeded` | Over your plan's per-second limit. | Yes — after `Retry-After` (1 s). | | 429 | `rate_limited` | `watchlist_events_poll_limit` | `GET /v1/watchlist/events` over your plan's polls per hour. | After `details.reset_at`. | | 429 | `rate_limited` | `export_daily_limit_reached` | `/v1/export/:dataset` over your plan's exports per UTC day (Pro 10, Business 100 — dashboard and API together). | After `Retry-After` / `details.reset_at` (00:00 UTC). | | 429 | `quota_exceeded` | `monthly_request_limit_reached` | Your plan's monthly quota is used up. | Not before `details.reset_at` (the 1st of next month). | | 429 | `quota_exceeded` | `geo_check_quota_exceeded` | `POST /v1/geo-checks` with your plan's geo-checks for this UTC month used (`current_usage`, `limit`, `plan_tier`). | Not before the 1st of next month. | | 500 | `server_error` | `internal_error` | Unhandled failure on our side. | Yes — exponential backoff, 3 attempts. | A refused (4xx) or failed (5xx) request is not charged against your monthly quota; it still counts toward the per-second limit. Without a key there is no such refund: the hourly per-IP counter counts requests, so a `400` spends one of the ten. ## Retry strategy - **4xx other than 429** — fix the request, don't retry. The same bad input will always 4xx. - **429** — wait for the moment the table names, then retry once. Only the per-second limit and the export daily limit send `Retry-After`; the keyless cap says when in `details.reset_at` (ISO-8601) and `X-RateLimit-Reset` (Unix epoch seconds) — both the top of the next UTC hour — and the monthly quota and the watchlist poll limit in `details.reset_at`. A monthly `quota_exceeded` will not clear until the 1st — stop, don't loop. If you keep hitting 429 without a key, get a key by starting Starter's 14-day free trial (card required) at [app.igregulator.io/signup](https://app.igregulator.io/signup); with a key, move to a larger plan on [Billing](https://app.igregulator.io/billing) or email founder@igregulator.io. - **5xx** — exponential backoff up to 3 attempts (1s, 2s, 4s). If a 5xx persists past 4 seconds, you're better off surfacing a failure state than holding the UI hostage. ## Reference implementation (JavaScript) ```js const sleep = (ms) => new Promise((res) => setTimeout(res, ms)); async function igRequest(path, init = {}, attempt = 0) { const r = await fetch('https://api.igregulator.io' + path, init); if (r.ok) return r.json(); const body = await r.json().catch(() => ({ code: 'parse_error' })); const code = body.code ?? 'unknown'; // Short, self-clearing limits only. A monthly `quota_exceeded` (or a keyless // cap an hour away) is surfaced to the caller instead of slept on. if (r.status === 429 && code === 'rate_limited' && attempt < 3) { const retryAfter = r.headers.get('Retry-After'); const reset = r.headers.get('X-RateLimit-Reset'); const waitMs = retryAfter ? Number(retryAfter) * 1_000 : reset ? Number(reset) * 1_000 - Date.now() : null; if (waitMs !== null && waitMs < 5 * 60_000) { await sleep(Math.max(0, waitMs) + 1_000); return igRequest(path, init, attempt + 1); } } if (r.status >= 500 && attempt < 3) { await sleep(2 ** attempt * 1_000); return igRequest(path, init, attempt + 1); } const err = new Error(body.error ?? r.statusText); err.status = r.status; err.code = code; err.reason = body.details?.reason; err.details = body.details; throw err; } ``` ## Deprecation headers No endpoint or field is deprecated today, so the API sends no `Deprecation` or `Sunset` header. When a field is marked for removal, its responses will carry `Deprecation` ([RFC 9745](https://www.rfc-editor.org/rfc/rfc9745) — a structured-field date, `@`) and `Sunset` ([RFC 8594](https://www.rfc-editor.org/rfc/rfc8594) — an HTTP-date, at least 90 days out), announced in the [changelog](https://igregulator.io/docs/changelog/). --- # Code examples URL: https://igregulator.io/docs/code-examples/ Markdown: https://igregulator.io/docs/code-examples.md > Copy-paste curl, JavaScript and Python snippets for common iGregulator tasks: verify a domain, batch-check a list, look up an operator, handle rate limits. Copy-paste snippets for the two things every integration does first — check a domain, then walk an authenticated list. No SDKs yet; the API is small enough that 15 lines of `fetch` / `requests` does the job. ## Domain check — curl ```bash curl -sG https://api.igregulator.io/v1/check \ --data-urlencode 'domain=paddypower.com' | jq ``` ## Domain check — JavaScript (fetch) ```js const res = await fetch( 'https://api.igregulator.io/v1/check?domain=paddypower.com' ); const { verdict, verdict_detail, match } = await res.json(); // Branch on `verdict`, quote `verdict_detail`. Only two values mean licensed now. switch (verdict) { case 'licensed': console.log(`Licensed: ${verdict_detail}`); break; case 'licensed_provisional': // In force, provisionally (a Curaçao licence under the CGA's final assessment): // accept it if your policy does, say so, and check again later. console.log(`Licensed, provisionally — recheck: ${verdict_detail}`); break; default: // licence_not_active, domain_not_listed, related_host_listed, name_match_only, // not_found, generic_term — and any value added later. Not confirmed as // licensed by the registers we cover. That is NOT "unlicensed": send it to a // person, with the sentence. console.log(`Not confirmed (${verdict}): ${verdict_detail}`); } // The fields behind the verdict, for a citation: the regulator and the page that // published the licence status. (KH, TGC, IOM, ON, SE, ES, BE, DE and UA publish no licence number: when // match.license_reference_is_ours is true, license_number is our reference.) if (match?.status_source_url) { console.log(`Source: ${match.regulator_name} — ${match.status_source_url}`); } ``` ## Domain check — Python (requests) ```python import requests r = requests.get( 'https://api.igregulator.io/v1/check', params={'domain': 'paddypower.com'}, timeout=5, ) r.raise_for_status() data = r.json() verdict, detail = data['verdict'], data['verdict_detail'] if verdict == 'licensed': print(f'Licensed: {detail}') elif verdict == 'licensed_provisional': # In force, provisionally: accept per your policy, say so, and recheck later. print(f'Licensed, provisionally — recheck: {detail}') else: # Every other value (and any added later): not confirmed as licensed by the # registers we cover. Not "unlicensed" — review it, quoting the sentence. print(f'Not confirmed ({verdict}): {detail}') match = data.get('match') if match and match.get('status_source_url'): print(f"Source: {match['regulator_name']} — {match['status_source_url']}") ``` ## Walk all UKGC operators — JavaScript ```js const KEY = process.env.IGREGULATOR_KEY; const BASE = 'https://api.igregulator.io'; async function* paginate(jurisdiction) { let offset = 0; const limit = 200; while (true) { const r = await fetch( `${BASE}/v1/jurisdictions/${jurisdiction}/operators?limit=${limit}&offset=${offset}`, { headers: { Authorization: `Bearer ${KEY}` } }, ); if (!r.ok) throw new Error(`HTTP ${r.status}`); const body = await r.json(); if (body.operators.length === 0) return; for (const op of body.operators) yield op; offset += body.operators.length; } } for await (const op of paginate('UKGC')) { console.log(op.slug, op.display_name); } ``` ## Walk all UKGC operators — Python ```python import os, requests KEY = os.environ['IGREGULATOR_KEY'] BASE = 'https://api.igregulator.io' session = requests.Session() session.headers['Authorization'] = f'Bearer {KEY}' def paginate(jurisdiction): offset, limit = 0, 200 while True: r = session.get( f'{BASE}/v1/jurisdictions/{jurisdiction}/operators', params={'limit': limit, 'offset': offset}, timeout=10, ) r.raise_for_status() rows = r.json()['operators'] if not rows: return for op in rows: yield op offset += len(rows) for op in paginate('UKGC'): print(op['slug'], op['display_name']) ``` ## Bulk domain verification — rate-limit aware If you're verifying a list of 500 domains as part of a nightly sweep, [`POST /v1/check/batch`](https://igregulator.io/docs/batch/) does it in 5 requests (100 domains each). One `GET /v1/check` per domain works too: authenticate and sleep between requests to stay under your plan's per-second limit (Starter 5 req/s). Simpler than retry-on-429. ```python import os, time, requests KEY = os.environ['IGREGULATOR_KEY'] DOMAINS = open('domains.txt').read().splitlines() S = requests.Session() S.headers['Authorization'] = f'Bearer {KEY}' for d in DOMAINS: r = S.get( 'https://api.igregulator.io/v1/check', params={'domain': d}, timeout=5, ) if r.status_code == 429: reset = int(r.headers.get('X-RateLimit-Reset', 0)) wait = max(1, reset - int(time.time())) time.sleep(wait + 1) r = S.get( 'https://api.igregulator.io/v1/check', params={'domain': d}, timeout=5, ) r.raise_for_status() body = r.json() # Only 'licensed' and 'licensed_provisional' (in force, provisionally — # recheck) mean licensed now; everything else goes to review, with the # sentence. Never record a miss as "unlicensed". ok = body['verdict'] in ('licensed', 'licensed_provisional') print(d, 'OK' if ok else 'REVIEW', body['verdict'], '—', body['verdict_detail']) time.sleep(0.25) # < 4 req/s: headroom under Starter's 5 req/s ``` --- # Webhooks URL: https://igregulator.io/docs/webhooks/ Markdown: https://igregulator.io/docs/webhooks.md > Push-based alerts on licence changes, expiries, and regulatory actions. HMAC-signed, retried, deliverable to any HTTPS endpoint. iGregulator delivers change alerts via HTTP POST to a URL you control. Eleven event types (plus one reserved name), HMAC-SHA256 signed, up to seven delivery attempts — the first plus six retries — with jittered backoff. Sign up for alerts in the **[dashboard](https://app.igregulator.io/webhooks)** — no code needed, create a URL, select events, copy the secret once. > Just want to wire it up fast? Skip to > [/docs/webhooks/quickstart](https://igregulator.io/docs/webhooks/quickstart/) for a > 2-minute tour using webhook.site as the receiver. ## 1. Event types Twelve dot-notation event names — eleven sent today, one reserved. Subscribe to any subset per endpoint. | Event | Fires | | --- | --- | | `license.status_changed` | A scraper recorded a licence moving from one status to another — `active`, `suspended`, `revoked`, `pending`, `surrendered`, `not_in_register`, `unknown`. Both `previous_status` and `new_status` are always set. A move to `expired` sends `license.expired` instead, and a newly observed licence sends `license.issued`. Branch on `new_status`: only `active` means licensed, and `surrendered` / `not_in_register` are **not** revocations. | | `license.expiring_30d` | Active licence with `expiry_date` 30 days from now. Sent once per licence; if we could not send it that day it follows within 7 days, and `days_until_expiry` then reads the days actually left. | | `license.expiring_60d` | Same, 60 days. | | `license.expiring_90d` | Same, 90 days. | | `license.expired` | A scraper recorded the licence's status becoming `expired` — the regulator's register said so (`Expired`, `Lapsed`, "not extended by the CGA"…). Sent instead of `license.status_changed` for that transition. An `expiry_date` passing on its own does not send it. | | `license.issued` | **We recorded a licence for the first time** — not "the regulator issued it today". The only event for that first observation — no `license.status_changed` accompanies it. `data.first_seen_at` is when we recorded it; `data.issued_at` is the register's own issue date (`YYYY-MM-DD`), or `null` where the register publishes none. When we start reading a new register, every licence in it is sent once, however old — compare `issued_at` with `first_seen_at` before treating one as newly granted; `data.register_first_load` is `true` for that first week of a register. | | `domain.listed` | **We recorded domains under an operator for the first time.** One event per operator per read, with every new domain in `data.domains` — a register page that adds twenty mirrors is one delivery. `variant_of` names the operator's own domain a numbered copy belongs to (`katsubet11.com` → `katsubet.com`), so `new_name_count` is the number of names you have not seen. Not an approval date: it is when we read it. | | `domain.delisted` | **A register stopped listing sites on an operator's licence.** One event per operator and register per read, with every de-listed domain in `data.domains`. It is that register's statement — a positive read, never an absence somewhere else — and says nothing about the licence itself. `delisted_at` is when our reader recorded it. | | `regulatory_action.added` | A regulatory action (a fine, a warning, a suspension, a revocation…) we read from a regulator's enforcement publication was added. `data.action_type` is our class for it — `financial_penalty`, `warning`, `suspension`, `revocation`, `notice_of_cancellation`, … (the same values as `/v1/operators/{slug}/regulatory-actions`; not a closed list). | | `coverage.degraded` | `/v1/health/coverage` transitions to `degraded` for a jurisdiction. | | `coverage.restored` | `/v1/health/coverage` transitions back to `healthy`. | | `webhook.endpoint_degraded` | **Reserved — not sent yet.** Accepted in an endpoint's `events` list, but nothing emits it today. To notice a failing endpoint, poll `GET /v1/webhooks/:id/deliveries?status=abandoned` and watch for `X-iGregulator-Missed-Deliveries` on the deliveries you do receive (§3). | > **Subscribing to multiple expiry windows** > > Subscribing to all three (`license.expiring_30d`, `_60d`, `_90d`) > delivers three separate webhooks per licence as it approaches > expiry. By design — they're semantically distinct warnings, not > duplicates. Subscribe only to the warning period(s) you act on. > > ```js > function onWebhook(event) { > switch (event.event) { > case 'license.expiring_90d': > // Notify, no blocker — 3 months is plenty > notifyCompliance(event.data); > break; > case 'license.expiring_60d': > // Compose renewal paperwork > kickoffRenewalFlow(event.data); > break; > case 'license.expiring_30d': > // Escalate, block new referrals to the operator > lockOperator(event.data); > break; > } > } > ``` ## 2. Envelope Every event — production or test — carries the same outer shape: ```json { "event": "license.status_changed", "event_id": "evt_01HX8EGQK3J7WA6MYTP7ZGYF21", "api_version": "2026-04-20", "timestamp": "2026-04-20T14:32:00.000Z", "livemode": true, "data": { "license_id": "uuid", "license_number": "000000-R-000000-001", "operator_id": "uuid", "operator_slug": "example-operator-limited", "jurisdiction_code": "UKGC", "previous_status": "active", "new_status": "suspended", "changed_at": "2026-04-20T03:04:12.000Z", "source_url": "https://www.gamblingcommission.gov.uk/..." } } ``` (An illustration — the licence and operator are placeholders, not a real event.) - `event_id` — `evt_` + a ULID, sorted lexicographically. Dedupe on this. - `data.previous_status` on `license.status_changed` is never `null`: a licence's first observation is `license.issued` (with `data.status`), not a status change. - `api_version` — a date constant: every delivery today carries `2026-04-20`. Pinning a subscriber to an older version when a `data` shape changes is planned, not built — there is one version, and no endpoint setting selects another. - `livemode` — `false` only for `test.ping` events from the dashboard Test button or `POST /v1/webhooks/:id/test`. - `timestamp` — when we emitted the event. Not when the change happened (that's in `data.*_at`). ### `license.issued` data ```json { "license_id": "uuid", "license_number": "000000-R-000000-001", "operator_id": "uuid", "operator_slug": "example-operator-limited", "jurisdiction_code": "UKGC", "status": "active", "issued_at": "2019-03-14", "first_seen_at": "2026-10-09T03:04:12.000Z", "source_url": "https://www.gamblingcommission.gov.uk/...", "register_first_load": false } ``` (Placeholders again.) `issued_at` is what the register says — a date, or `null`; it is never our own time. `first_seen_at` is the moment our reader first recorded the licence. Until API 1.24.0 `issued_at` carried that moment, so an event stored before then has a datetime there and no `first_seen_at`. ### `domain.listed` data ```json { "operator_id": "uuid", "operator_slug": "example-operator-b-v", "operator_name": "Example Operator B.V.", "jurisdiction_code": "CW", "licenses": [ { "license_id": "uuid", "license_number": "OGL/2024/000/0000", "status": "active" } ], "domains": [ { "domain": "example-casino.com", "association": "direct", "first_seen_at": "2026-10-11T04:53:22.652Z", "verification_url": "https://cert.cga.cw/token?id=0", "variant_of": null }, { "domain": "example-casino11.com", "association": "direct", "first_seen_at": "2026-10-11T04:53:22.660Z", "verification_url": "https://cert.cga.cw/token?id=0", "variant_of": "example-casino.com" } ], "domain_count": 2, "new_name_count": 1, "operator_first_domains": false, "register_first_load": false } ``` (Placeholders.) What each field lets you decide: - `first_seen_at` is when our reader first recorded the domain under this operator. It is **not** the date the regulator approved it — registers rarely publish one — and some registers are read weekly, so it can trail the regulator by days. - `variant_of` is set only for a domain whose name is another of the **same operator's** domains with digits appended. Nothing else is guessed: a hyphenated or reworded mirror has `variant_of: null`. - `operator_first_domains` is `true` when we held no domain for the operator before this read — the closest thing to "a new site appeared". - `register_first_load` is `true` during the first week we read a register's domains, when every domain in it is new to us whatever its age. - `licenses` are the operator's licences in that jurisdiction with their status today. A domain listed on a licence that is not `active` is not a licensed site. - An operator with more than 200 new domains in one read gets several events. - Only a domain first recorded as currently listed is sent. A domain leaving a licence is `domain.delisted`, below. ### `domain.delisted` data ```json { "operator_id": "uuid", "operator_slug": "example-operator-ltd", "operator_name": "Example Operator Ltd", "jurisdiction_code": "UKGC", "licenses": [ { "license_id": "uuid", "license_number": "000000-R-000000-001", "status": "active" } ], "domains": [ { "domain": "example-casino.co.uk", "association": "direct", "delisted_at": "2026-11-02T01:12:40.118Z", "first_seen_at": "2026-07-14T01:31:05.004Z", "source": "ukgc", "verification_url": null } ], "domain_count": 1 } ``` (Placeholders.) What each field lets you decide: - `jurisdiction_code` is the register that stopped listing the domains, and `source` the reader that recorded it (`ukgc`, `anjouan`, `cga-token-enum`…). - `delisted_at` is when our reader recorded the change, not a date the regulator published — like `first_seen_at` on `domain.listed`, it can trail the register by the time between two reads. - **A de-listed domain is not a revoked licence.** `licenses` carries the operator's licences in that register with their status today; the licence is often still `active` — the operator just no longer names that site on it. - A domain that comes back and is de-listed again is a new event. A domain first recorded as already withdrawn was never listed by us and sends nothing. - De-listings recorded before 1.32.0 (2026-10-23) have no date and are not sent. ### Filtering by jurisdiction An endpoint takes an optional `jurisdictions` list — `["CW", "AN"]` — and then receives only events about those registers. It applies to every event that is about one jurisdiction (`license.*`, `domain.listed`, `domain.delisted`, `regulatory_action.added`, `coverage.*`). Empty or omitted means all of them. Codes are the ones `GET /v1/jurisdictions` returns; an unknown code is refused with the valid list. To hear about operators you do not watch yet — which is what a newly recorded licence or domain is — create the endpoint with `watchlist_only: false`. ### Regulatory action amounts `regulatory_action.added` includes `amount_minor_units` — in the **smallest currency unit** (pence for GBP, cents for USD). £5 million = `500000000`. We store it this way so a £5M fine never gets confused with £5,000. ```json { "action_type": "financial_penalty", "amount_minor_units": 500000000, "currency": "GBP" } ``` ## 3. Headers Every delivery, including retries: ``` Content-Type: application/json User-Agent: iGregulator-Webhook/1 (+https://igregulator.io) X-iGregulator-Event: license.status_changed X-iGregulator-Event-Id: evt_01HX8EGQK3J7WA6MYTP7ZGYF21 X-iGregulator-Timestamp: 1776717845 X-iGregulator-Delivery-Id: 3b1e2c4a-f8d1-4a7c-8b5f-111111111111 X-iGregulator-Attempt: 2 X-iGregulator-Signature: t=1776717845,v1=abcd…ef01 ``` `X-iGregulator-Attempt` — the attempt number: `1` for the first delivery, `2`–`7` for retries. `X-iGregulator-Missed-Deliveries: N` is added to every delivery attempt to an endpoint that has had N deliveries abandoned (all 7 attempts exhausted) since its last successful one; it disappears once a delivery succeeds. Fetch the missed ones via `GET /v1/webhooks/:id/deliveries?status=abandoned`. ## 4. Signature verification The `X-iGregulator-Signature` header is a Stripe-style CSV: ``` t=,v1=[,v1=…] ``` - `t` — the timestamp used in the HMAC input. - `v1` — HMAC-SHA256 hex digest. May appear multiple times when a secret rotation is in progress; each `v1` is the signature computed with a different active secret. Accept the delivery if **any** `v1` value matches. Signed input = `${t}.${raw_body}` — the HTTP body is included byte- for-byte; do not re-serialise the JSON before verifying, or whitespace drift will break the MAC. **Node.js** ```js import crypto from 'node:crypto'; function verify(req, rawBody, secret) { const header = req.headers['x-igregulator-signature']; if (!header) return false; const parts = Object.fromEntries( header.split(',').map((p) => p.split('=')), ); const signed = `${parts.t}.${rawBody}`; const expected = crypto.createHmac('sha256', secret) .update(signed).digest('hex'); // Header may have several v1= values — iterate and accept any. const candidates = header .split(',') .filter((p) => p.startsWith('v1=')) .map((p) => p.slice(3)); return candidates.some((candidate) => candidate.length === expected.length && crypto.timingSafeEqual(Buffer.from(candidate), Buffer.from(expected)), ); } ``` **Python** ```python import hmac, hashlib def verify(headers, raw_body: bytes, secret: str) -> bool: header = headers.get('x-igregulator-signature') if not header: return False parts = dict(p.split('=', 1) for p in header.split(',')) signed = f"{parts['t']}.{raw_body.decode()}" expected = hmac.new(secret.encode(), signed.encode(), hashlib.sha256).hexdigest() candidates = [p[3:] for p in header.split(',') if p.startswith('v1=')] return any(hmac.compare_digest(c, expected) for c in candidates) ``` **curl + jq** ```bash # Debug verification from a saved request. Pass raw body on stdin. SIG_HEADER="t=1776717845,v1=abcd...ef01" SECRET="whsec_..." T=$(echo "$SIG_HEADER" | tr ',' '\n' | awk -F= '/^t/{print $2}') EXPECTED=$(printf '%s.%s' "$T" "$(cat)" \ | openssl dgst -sha256 -hmac "$SECRET" -hex | awk '{print $2}') echo "$SIG_HEADER" | tr ',' '\n' | grep "^v1=" | awk -F= '{print $2}' \ | grep -Fqx "$EXPECTED" && echo "ok" || echo "mismatch" ``` > **Replay protection** > > Reject the delivery if `|now - X-iGregulator-Timestamp|` exceeds > 300 seconds — an attacker who captured a delivery can't re-send it > an hour later. Our retries never push timestamps past this window > (the worker re-signs on each attempt with the current time). ## 5. Retry policy Failed deliveries retry on a jittered schedule: | Attempt | Delay after previous | With ± 20 % jitter | | --- | --- | --- | | 1 | — | fired immediately | | 2 | 30 s | 24 – 36 s | | 3 | 2 m | 1:36 – 2:24 m | | 4 | 10 m | 8 – 12 m | | 5 | 1 h | 48 – 72 m | | 6 | 6 h | 4.8 – 7.2 h | | 7 | 24 h | 19.2 – 28.8 h | | — | abandon after 7 total attempts | | Failure = any non-2xx response or network error (DNS, timeout, TLS, connection reset). **3xx redirects are treated as failures on purpose** — point your URL at the final destination. Following them silently would let an attacker redirect deliveries to an internal metadata service after the URL passed creation-time checks. Common gotcha: API gateways that issue a transparent `https://` upgrade on `http://` URLs — register the `https://` form directly to avoid the redirect. Timeout per attempt: **10 seconds**. Long-running receivers should ack fast and process async (return 2xx immediately, queue the body for your worker). ## 6. Delivery guarantees - **Only on an active plan.** No webhook is delivered to an account whose plan is `canceled` or past its end date. Endpoints are kept, and deliveries resume when the plan is renewed. - **At-least-once.** A network blip may have us deliver the same event twice. Dedupe on `event_id`. - **No ordering.** Events from different operators run independently; even events on the same operator can arrive out of order during a retry burst. Use `data.*_at` timestamps inside the payload to sequence consumer-side state. - **Events follow our reads.** Events are built from what our scrapers record, read by cursor: if our sender is down, everything recorded in the meantime goes out when it is back. If a register cannot be read, nothing changes in our data and nothing fires; the next successful read sends what changed since, as one batch. A change that came and went at the regulator between two of our reads is never seen. - **Retention:** 30 days for both `webhook_events` (replay window) and `webhook_deliveries` (delivery history). Fetch deliveries via `GET /v1/webhooks/:id/deliveries` while they're still in the window; older rows are pruned daily. ## 7. Integration patterns ### Pattern A — Webhooks primary The simplest setup. Create an endpoint, subscribe to events, process them in real time. ```js app.post('/igregulator-webhook', async (req, res) => { if (!verify(req, rawBody, process.env.WEBHOOK_SECRET)) { return res.status(400).send('bad signature'); } res.sendStatus(200); // ACK fast, process async void queueForProcessing(req.body); }); ``` ### Pattern B — Polling fallback Agent can't accept inbound webhooks (locked-down corporate network, local dev). Use `GET /v1/watchlist/events` — see [watchlist docs](https://igregulator.io/docs/watchlist/). Bootstrap with `since=`, then switch to cursor pagination. No endpoint needed: polling returns the events for the operators on your watchlist. ### Pattern C — Hybrid webhook + polling Run both. Webhooks are the low-latency primary; polling covers the few-hour window where your receiver was down and deliveries might abandon. Because the same `event_id` ships on both channels, dedupe on it and there's no double-processing. **Node.js** ```js import Redis from 'ioredis'; const redis = new Redis(process.env.REDIS_URL); const DEDUPE_TTL = 30 * 24 * 60 * 60; // match the 30-day event + delivery retention async function processOnce(event) { // SET NX returns null if the key already exists. const set = await redis.set( `event_seen:${event.event_id}`, '1', 'EX', DEDUPE_TTL, 'NX', ); if (set === null) return; // already processed await handleEvent(event); // your business logic } // Webhook handler: app.post('/webhook', async (req, res) => { if (!verify(req, rawBody, secret)) return res.sendStatus(400); res.sendStatus(200); await processOnce(req.body); }); // Hourly polling fallback: async function pollBackfill() { let cursor = await redis.get('watchlist:cursor'); while (true) { const url = new URL('https://api.igregulator.io/v1/watchlist/events'); if (cursor) url.searchParams.set('cursor', cursor); else url.searchParams.set('since', new Date(Date.now() - 3600_000).toISOString()); url.searchParams.set('limit', '100'); const r = await fetch(url, { headers: { Authorization: `Bearer ${apiKey}` } }); const { events, next_cursor, has_more } = await r.json(); for (const event of events) await processOnce(event); if (next_cursor) { cursor = next_cursor; await redis.set('watchlist:cursor', cursor); } if (!has_more) break; } } ``` **Python** ```python import os import threading from datetime import datetime, timedelta, timezone import redis import requests from flask import Flask, abort, request app = Flask(__name__) r = redis.Redis.from_url(os.environ['REDIS_URL'], decode_responses=True) API_KEY = os.environ['IGREGULATOR_API_KEY'] SECRET = os.environ['WEBHOOK_SECRET'] DEDUPE_TTL = 30 * 24 * 3600 # match the 30-day event + delivery retention # verify() is the Python function from §4. def handle_event(event): ... # your business logic def process_once(event): # SET NX returns None if key already exists. if r.set(f"event_seen:{event['event_id']}", '1', ex=DEDUPE_TTL, nx=True) is None: return # already processed handle_event(event) # your business logic # Webhook handler (Flask): @app.post('/webhook') def webhook(): if not verify(request.headers, request.get_data(), SECRET): abort(400) event = request.get_json() # ACK fast, process async (use a real queue in production) threading.Thread(target=process_once, args=(event,)).start() return '', 200 # Hourly backfill: def poll_backfill(): cursor = r.get('watchlist:cursor') while True: params = {'limit': 100} if cursor: params['cursor'] = cursor else: since = datetime.now(timezone.utc) - timedelta(hours=1) params['since'] = since.isoformat(timespec='seconds') resp = requests.get( 'https://api.igregulator.io/v1/watchlist/events', headers={'Authorization': f'Bearer {API_KEY}'}, params=params, timeout=10, ).json() for event in resp['events']: process_once(event) if resp.get('next_cursor'): cursor = resp['next_cursor'] r.set('watchlist:cursor', cursor) if not resp.get('has_more'): break ``` ## 8. Testing - **Dashboard Test button** — fires a synthetic `test.ping` event at your endpoint. Does NOT create delivery history rows. Use during wiring to confirm the signature path. - **webhook.site** — paste your URL there, hit Test, inspect headers + body. Fastest way to see what a delivery looks like before your server exists. - **ngrok / cloudflared** — tunnel a local dev server to a public URL. `http://localhost` is blocked by our SSRF filter at creation time; a tunnel gives you a real routable host. ## 9. Secret rotation Rotation overlap is 7 days. The rotation flow: 1. Click **Rotate** on the endpoint in the dashboard. 2. We issue a new secret and stamp the previous one with `expires_at = NOW() + 7 days`. 3. Deliveries sign with **both** secrets during the overlap — every delivery carries `v1=,v1=` in the signature header. 4. Update your server to accept the new secret. Existing code that uses the old one keeps verifying until day 7. 5. After day 7, the old secret expires and deliveries sign only with the new one. > **Silent fail after rotation** > > If your server isn't updated to accept the new secret before the > old one expires (day 7), every delivery after that starts failing > signature verification — silently, from your end, because we still > deliver successfully (we don't know your verification is wrong). > If your receiver answers non-2xx on a bad signature (as the examples > above do), the dashboard's Deliveries modal shows a rising failure rate; > it's the canary. For a second layer, poll > `GET /v1/webhooks/:id/deliveries?status=abandoned` and alert on > `X-iGregulator-Missed-Deliveries` — the `webhook.endpoint_degraded` > event is reserved and not sent yet. ## 10. Errors at creation time A URL the SSRF policy rejects answers `400 invalid_query` with `details.field: "url"` and one of these `details.reason` values (the same checks run on `PATCH`, and again before every delivery): - `private_ip_blocked` — the host resolved to a private / loopback / link-local IP (including `169.254.169.254`, AWS + GCP metadata). Use a public host or a tunnel. - `invalid_scheme` — only `http://` and `https://` are accepted; https strongly preferred. - `blocked_hostname` — a blocklisted name such as `localhost`. - `unresolvable_host` — the hostname doesn't resolve. - `invalid_url` / `empty_host` — not an absolute URL, or no hostname. Other creation errors: - `400 invalid_query` + `details.reason: invalid_jurisdiction` — a code in `jurisdictions` is not one we cover; `details.suggestion` lists the valid ones. - `400 invalid_query` + `details.reason: invalid_event_type` — You passed an unrecognised event name. Compare against the list in §1. - `400 invalid_query` + `details.reason: invalid_input` — the body isn't `{ url, events: [...], watchlist_only?, jurisdictions?, description? }`. - `403 quota_exceeded` + `details.reason: webhook_quota_exceeded` — You hit your plan's number of active endpoints. Pause or delete an endpoint, or email founder@igregulator.io if you need a higher cap. ## 11. Best practices - **Respond 2xx in < 5 seconds, process async.** We time out at 10 s; if your receiver regularly takes 5+ s you'll start hitting retries. - **Verify every delivery.** Skip only for `test.ping` if you treat test events as connectivity checks and not real data. - **Dedupe on `event_id`.** Always. At-least-once delivery means duplicates will happen eventually. - **Don't assume ordering.** Use `data.*_at` timestamps. - **Keep a polling fallback for critical paths** — see Pattern C. - **Watch for abandoned deliveries.** Poll `GET /v1/webhooks/:id/deliveries?status=abandoned` and alert when `X-iGregulator-Missed-Deliveries` shows up, so you don't hear about a failing endpoint from a missing downstream action. (`webhook.endpoint_degraded` is reserved and not sent yet.) --- # Webhooks quickstart URL: https://igregulator.io/docs/webhooks/quickstart/ Markdown: https://igregulator.io/docs/webhooks/quickstart.md > Receive your first iGregulator webhook in two minutes with webhook.site, no server needed: create an endpoint, fire a test event, read the signed payload. This is "get it working in two minutes" — no signature verification yet, no production-grade receiver. Point Ctrl+F at [/docs/webhooks](https://igregulator.io/docs/webhooks/) when you're ready to harden. ## 1. Set up a receiver Open [webhook.site](https://webhook.site). It hands you a unique URL like `https://webhook.site/#!/`. Copy the URL — that's your temporary endpoint. Leave the page open; deliveries show up in real time. ## 2. Create the webhook 1. Sign in to the [iGregulator dashboard](https://app.igregulator.io/webhooks). 2. Click **+ new webhook**. 3. Paste the webhook.site URL. 4. Subscribe to any event type for now — `license.status_changed` is the most common; you can change later. 5. Click **create webhook + reveal secret**. You'll see a reveal dialog with a `whsec_` secret — **copy it** (you'll need it when you harden later) and click "copy + close". ## 3. Fire a test delivery Back in the dashboard, click **test** on your new endpoint row. A result dialog pops up showing: - `delivered: true` - HTTP status your endpoint returned - Latency in ms - Response body Switch to the webhook.site tab: the request is there, complete with headers, including: ``` X-iGregulator-Event: test.ping X-iGregulator-Event-Id: evt_... X-iGregulator-Delivery-Id: test_evt_... X-iGregulator-Signature: t=...,v1=... ``` That's a real production-shape delivery — just flagged `livemode: false` in the envelope so you don't treat it as business data. ## 4. Harden for production - **Verify signatures.** See [/docs/webhooks § signature verification](https://igregulator.io/docs/webhooks/#4-signature-verification) — includes Node / Python / curl examples. - **Replace webhook.site.** Stand up a real HTTP server; the same envelope + headers will land there. - **Dedupe on `event_id`.** At-least-once delivery means duplicates during retries. See [Pattern C](https://igregulator.io/docs/webhooks/#7-integration-patterns). - **Understand retries.** 7 attempts, jittered backoff — start at 30 s, end at ~24 h. Details in [§5 retry policy](https://igregulator.io/docs/webhooks/#5-retry-policy). Main reference: [/docs/webhooks](https://igregulator.io/docs/webhooks/). --- # Watchlist URL: https://igregulator.io/docs/watchlist/ Markdown: https://igregulator.io/docs/watchlist.md > Track specific operators for automated alerts on licence changes, expiries, and regulatory actions. Webhook push or polling fallback. A watchlist is your list of operators you care about, plus the automation layer that fires events when any of them changes. Add an operator once, get alerted whenever its licence status flips, a regulatory action lands, or an expiry date approaches — without writing polling loops against every endpoint we offer. ## 1. Overview Plan limits (also in [pricing](https://igregulator.io/#pricing)): | Tier | Watchlist cap | Webhooks | Polling | | --- | --- | --- | --- | | Starter | 25 operators | 1 endpoint | 10 / hour | | Pro | 250 operators | 5 endpoints | 60 / hour | | Business | unlimited | 20 endpoints | 600 / hour | | Enterprise | unlimited | unlimited | unlimited | Webhooks are the primary alert channel. Polling exists for agents that can't accept inbound HTTP (corporate networks, air-gapped analytics, local dev) and as a backfill mechanism during webhook outages. ## 2. Managing the watchlist ### Dashboard Sign in and open [app.igregulator.io/watchlist](https://app.igregulator.io/watchlist). Type an operator name — we typeahead against every operator slug we know about. Click to add. Click remove to drop. ### API Same surface via bearer token: ```bash # Current watchlist + count + plan cap (the 50 most recently added) curl -H "Authorization: Bearer igk_..." \ https://api.igregulator.io/v1/watchlist # Add an operator by slug (lowercase, hyphens) — 201, or 409 if already watched curl -X POST -H "Authorization: Bearer igk_..." \ -H "Content-Type: application/json" \ -d '{"operator_slug":"888-uk-limited"}' \ https://api.igregulator.io/v1/watchlist/operators # Remove (idempotent — 204 either way) curl -X DELETE -H "Authorization: Bearer igk_..." \ https://api.igregulator.io/v1/watchlist/operators/888-uk-limited # Paginated listing with current licence status per operator curl -H "Authorization: Bearer igk_..." \ "https://api.igregulator.io/v1/watchlist/operators?limit=50&offset=0" ``` Discover slugs with `GET /v1/operators/search?q=`. ## 3. Receiving events ### Webhook push (primary) Create an endpoint with the `watchlist_only: true` flag (default). Deliveries fire for operators in your watchlist only — no firehose, no noise. Events covered: - `license.status_changed` - `license.expiring_30d` / `_60d` / `_90d` - `license.expired` - `license.issued` (only if you were watching the operator when we first recorded the licence — which is not necessarily when it was issued; see [/docs/webhooks](https://igregulator.io/docs/webhooks/#1-event-types)) - `domain.listed` (new domains recorded under an operator you watch) - `domain.delisted` (a register stopped listing one of its sites) - `regulatory_action.added` See [/docs/webhooks](https://igregulator.io/docs/webhooks/) for the signing + retry protocol. Quickstart in 2 minutes: [/docs/webhooks/quickstart](https://igregulator.io/docs/webhooks/quickstart/). ### Polling (fallback) `GET /v1/watchlist/events` returns the same envelope events, pulled. Cursor-paginated so you don't re-process events between runs. Rate-limited per plan (see §1). Every response carries `X-Poll-RateLimit-Limit`, `-Remaining`, `-Reset`, `-Window`, and a `X-Poll-Recommended-Interval` hint in seconds (on a plan with no poll ceiling: `X-Poll-RateLimit-Limit: unlimited`, `-Reset` and the interval only). `limit` is 1–500 (default 100); with neither `since` nor `cursor`, you get the last hour. You don't need a webhook endpoint to poll: you get every event above for the operators on your watchlist, plus anything that was queued for your webhook endpoints (such as `coverage.*`, if an endpoint subscribes to it). ```bash # Bootstrap: up to 30 days back (matches event retention; GNU date) curl -H "Authorization: Bearer igk_..." \ "https://api.igregulator.io/v1/watchlist/events?since=$(date -u -d '29 days ago' +%FT%TZ)&limit=100" # Steady state: use the next_cursor from the previous response curl -H "Authorization: Bearer igk_..." \ "https://api.igregulator.io/v1/watchlist/events?cursor=eyJ0cy...&limit=100" ``` Response: ```json { "events": [ { "event": "license.status_changed", "event_id": "evt_...", "api_version": "2026-04-20", "timestamp": "...", "livemode": true, "data": { ... } } ], "next_cursor": "eyJ0c...", "has_more": true } ``` `events` payloads are **identical** to the webhook envelope (minus the signature — polling authenticates via your API key, not per-delivery HMAC). Dedupe on `event_id` whether you're receiving via webhook or poll; you'll use the same key for both. ### Polling best practices - **Persist the cursor.** Save `next_cursor` after each successful batch to your own DB / disk. On restart, resume from it. - **Dedupe on `event_id`.** Crash windows can cause you to re-process the last batch; same dedupe path you'd use for webhooks covers this. - **Respect `X-Poll-Recommended-Interval`.** It's `ceil(3600 / limit)` — sleeping that long between polls guarantees you never hit the hour ceiling. Starter = 360 s, Pro = 60 s, Business = 6 s. - **On 429, wait until `details.reset_at`.** Don't exponential-backoff — the window resets deterministically on the hour boundary. See [/docs/rate-limits](https://igregulator.io/docs/rate-limits/). - **Hybrid webhooks + polling is the resilient pattern.** Webhooks for low latency, polling for the few-hour windows where your receiver was down and deliveries abandoned. Both ship the same `event_id`, so dedupe makes double-processing a no-op. Example in [/docs/webhooks § Pattern C](https://igregulator.io/docs/webhooks/#7-integration-patterns). ### `since=` is capped at 30 days That matches our event retention. Older values fail with `400 invalid_query` and `details.reason: "since_exceeds_retention_window"`. Rare in practice — the first call uses `since`, every subsequent call uses the cursor. ## 4. Plan limits in detail Once your watchlist is at its cap, the next `POST /v1/watchlist/operators` returns `403 quota_exceeded` with `details.reason: "watchlist_quota_exceeded"` and the current count + cap (`current_usage`, `limit`). Remove an operator, or email founder@igregulator.io if you need a higher cap. Polling ceiling hits return `429 rate_limited` with `details.reason: "watchlist_events_poll_limit"` and a concrete `details.reset_at` timestamp — not exponential backoff, deterministic hour-boundary reset. Webhooks do not count against this limit. Error reference: [errors](https://igregulator.io/docs/errors/). ## 5. What events don't fire for watched operators - **`coverage.degraded` / `coverage.restored`** — these are jurisdiction-level, not operator-level. They're emitted regardless of watchlist membership; anyone subscribed to the event type gets them. - **`webhook.endpoint_degraded`** — reserved for a self-notification about your own endpoints; **not sent yet**. It would ignore the watchlist. ## 6. Troubleshooting - **No events arriving** — your watchlist may be empty, your webhook endpoint may not subscribe to the event types, or the operators you track haven't had any changes this month. Run `GET /v1/watchlist/events` with a `since` up to 30 days back to see what fired for your watchlist. - **Too many events** — too-broad subscription. Each of the three expiry windows fires separately; narrow to the one(s) you act on. - **Events for operators I don't watch** — your webhook might have `watchlist_only: false`. Check `PATCH /v1/webhooks/:id` with `{ "watchlist_only": true }`. Related: [/docs/webhooks](https://igregulator.io/docs/webhooks/), [/docs/rate-limits](https://igregulator.io/docs/rate-limits/). --- # Geo-checks URL: https://igregulator.io/docs/geo-checks/ Markdown: https://igregulator.io/docs/geo-checks.md > Does a casino site open in a country where its licence does not reach? Request a check of a domain in up to ten markets; read from home internet connections there, rendered in a browser in the country, every 'reachable' confirmed on its screenshot. Business and Enterprise. A licence from Curaçao or Anjouan does not let a site take players from the UK, Sweden or the Netherlands. A geo-check tells you whether a site **opens** in a country: what home internet connections there were served, on the date shown. It is an **observation about a site on a date — never a licence status**, and never a finding that anyone broke a rule. A site that opens on its front page may still refuse players at registration or at the identity check. **Plans:** | Plan | In the dashboard (domain page) | Through the API | | --- | --- | --- | | Starter | The block is shown, results are not | — | | Pro | Results and the screenshot | — | | Business | Results, screenshot, and requesting checks — 10 domains per UTC month, each in as many of the ten countries as you like | All three endpoints | | Enterprise | As Business, no monthly cap (bulk checks) | All three endpoints | Every geo-check endpoint — reading results included — answers Starter and Pro with `402`: `"error": "This endpoint is available on the Business and Enterprise plans"`, `code: payment_required`, `details.reason: geo_checks_require_business`, `details.available_on: ["business", "enterprise"]`. ## Countries `GB`, `SE`, `NL`, `DE`, `ES`, `IT`, `FR`, `BR`, `CA`, `AU` — markets where an offshore licence carries the most risk, in that order. **`CA` is Ontario**, not Canada: probes in Toronto, and a browser only through a connection that exits in Ontario. Its results carry `register` — whether iGaming Ontario's list has the domain on an active licence — beside the result, never instead of it. The United States is not checked: gambling there is licensed state by state, and a country-wide answer would say nothing. ## How a check works 1. **Probes in the country.** Home-ISP connections in each country (through [Globalping](https://globalping.io)'s volunteer network) request the home page, following redirects: two for a check you request, one for our own background scan. 2. **The page's own code.** Many sites decide in the browser: their script asks an IP-geolocation service where the visitor is and shows a "not available in your location" window. When the page prints the countries it serves or blocks, we read that list — from the full page, not the probes' first 10 KB. 3. **A browser in the country.** The page is rendered in a real browser through a connection that exits in that country — one of our proxies, its exit verified for that very session, which then fetches the page and takes the screenshot: one IP. **`reachable` needs step 3.** A screenshot from anywhere else is not what a visitor there saw: a site can work in one country and block another in the browser. Without a browser in the country, a page the probes were served is `served_unverified` ("Reachable, not verified"), with `reason: "… HTML only, no in-country render"`; `in_country_render` says which a check had. A render from our own server (Germany) still finds a parked domain, and a page that asks a geolocation service where its visitor is — which makes the other countries `unknown`, never `reachable`. **Every `reachable` is held back until a person has looked at the screenshot** from the country — it is the result most easily wrong (a parked domain, a gateway page, a block shown as an image). Until then the requester sees `in_review`, and nobody else sees anything. **We also check on our own.** Domains on Curaçao, Anjouan, Kahnawake and Tobique licences are scanned in the background, about monthly — so a result on a domain does not mean anyone asked for it. Your requests always go first. ## Results | `result` | Meaning | | --- | --- | | `reachable` | Served in the country, and a browser **in that country** showed a working gambling site — confirmed by a person on its screenshot. | | `served_unverified` | "Reachable, not verified": home connections in the country were served the page, but no browser in the country rendered it, so a block the page shows only in the browser could be missed. Never answers a later request from the cache. | | `refused` | "Refused (HTTP 403)": every probe in the country got HTTP 403 — and so did a browser in the country, when we had one there (a browser that shows the site makes it `reachable`). What the server answered there — not a statement that the site geo-blocks the country: a bot wall answers 403 too. | | `geo_blocked` | The site said it does not serve that country: HTTP 451, a block page, or its in-browser check's country list. | | `waf_blocked` | A firewall refused the request — not a statement about the country. | | `parked` | No gambling site at the domain (parked, for sale, empty). | | `gateway` | Set by the reviewer: a page that only sends visitors on to another domain. `reason` names it when we can. | | `not_casino` | Set by the reviewer: not a gambling site. | | `unknown` | We could not tell. `reason` says why — e.g. `Cloudflare captcha` (a bot check that stops any automated reader, from any connection), probes that disagree, or no response. | `reviewed: true` means a person set or confirmed the result. A check older than 30 days is `stale: true` — request a new one. ## Request a check ```http POST /v1/geo-checks Authorization: Bearer Content-Type: application/json { "domain": "example-casino.com", "countries": ["GB", "SE", "NL"] } ``` Leave out `countries` for all ten. One request is **one** against the monthly allowance however many countries it covers. **A recent result answers at once, free.** A definite result (anything but `unknown` or `served_unverified`) of a check someone requested for the same domain and country in the last 7 days answers that country immediately — our own background scans never do; `from_cache` lists them with each result's date. A request every country of which is answered so is `done` at once and **not counted** against the allowance — even when the allowance is used up. A request with any new country counts as one. The answer is `202`: ```json { "request_id": "0b9c2a6e-1f3d-4c1a-9f0e-7d1c2b3a4e5f", "domain": "example-casino.com", "countries": ["GB", "SE", "NL"], "status": "queued", "requested_at": "2026-11-03T09:12:00.000Z", "from_cache": [{ "country": "GB", "checked_at": "2026-11-01T14:02:00.000Z" }], "expected_within": "two business days", "monthly_usage": { "used": 3, "limit": 10 } } ``` `expected_within` is `null` and `status` is `done` when every country was answered from the cache. `monthly_usage` is `null` on a plan with no cap (Enterprise). Over the allowance: `429 quota_exceeded` with `details.reason: geo_check_quota_exceeded` (and `current_usage`, `limit`). ## Follow your requests `GET /v1/geo-check-requests` — your last 50 requests, newest first, each with its countries and their status: `queued`, `running`, `in_review`, `done` (with `check`) or `failed`, and `from_cache` when a recent check answered it. Only you see your requests. ## Read the checks for a domain `GET /v1/geo-checks?domain=example-casino.com` — the latest check per country that can be shown (reviewed, or one that needed no review). The latest definite result wins — `refused` is one, so a site that starts answering 403 in a country no longer shows its older `reachable`. A later `served_unverified` or `unknown` does not replace an earlier definite result: that one stays, with its own `checked_at`, until it goes `stale`. Signed in, the same results appear on the domain's page under "Availability by country" — for Pro, Business and Enterprise; requesting a check there, as through this API, is Business and Enterprise: ```json { "domain": "latamwin.com", "checks": [ { "country": "GB", "result": "geo_blocked", "reason": "in-browser check serves only CL, PE", "checked_at": "2026-11-03T10:40:00.000Z", "reviewed": false, "stale": false, "in_country_render": false }, { "country": "CA", "result": "geo_blocked", "reason": "in-browser check serves only CL, PE", "checked_at": "2026-11-03T10:41:00.000Z", "reviewed": false, "stale": false, "in_country_render": false, "register": { "jurisdiction": "ON", "name": "iGaming Ontario's list", "listed": false } } ], "note": "An observation of what the site served in each country on the date shown — not a licence status. …" } ``` Who requested a check is never shown: a list of what a supplier checks is a list of its partners. ## In the dashboard **On a domain's page** (signed in): an "Availability by country" block — a row per country with the result, the date of the check, how it was read (home-ISP probes, a browser in the country), for Ontario whether iGaming Ontario lists the domain, and a **screenshot** link on each country row that has one (the page as a browser was served it for that country, so two countries can show different pages). Business and Enterprise also get **Request a new check** there: the domain in all ten countries, one against the monthly allowance. The page's **History** also lists each time a country's result moved between Reachable, Blocked and Refused, dated by the check that saw it (a `served_unverified` or `unknown` read is not a change). Neither is ever on the public page: signed out, there is no block and no geo line in the History. **Explore → [Domains](https://app.igregulator.io/domains)** (Pro and up): an "availability" filter — the domains whose shown result in one market, or in any, is the one you pick (Reachable, Refused, Blocked…), the same result each domain's page shows. Starter sees a pointer to Pro instead. **[Geo-checks](https://app.igregulator.io/geo-checks)** in the app: the request form (all ten countries ticked by default), this month's usage, and a card per domain with a row per country. --- # For AI agents URL: https://igregulator.io/docs/for-ai-agents/ Markdown: https://igregulator.io/docs/for-ai-agents.md > Build AI agents on iGregulator: llms.txt, markdown docs, the MCP server, structured errors and rules for phrasing a licence verdict safely. No key to start. Building an AI agent, LLM-powered integration, or automated compliance tooling? Everything you need to wire iGregulator into a language-model workflow lives here. ## Quick discovery Three machine-readable resources document the entire product. One fetch each — no crawling required. - **[llms.txt](https://igregulator.io/llms.txt)** — structured index per the [llmstxt.org spec](https://llmstxt.org). ~20 KB, complete product map with links into the longer docs. - **[llms-full.txt](https://igregulator.io/llms-full.txt)** — every `/docs/*` page concatenated into one file. ~330 KB. One fetch buys full context. - **[OpenAPI 3.1 spec](https://api.igregulator.io/openapi.json)** — authoritative API schema. Every endpoint, request/response shape, auth scheme, rate-limit description. Every page on this site also emits `` pointers to all three URLs so a crawler hitting the landing can auto-discover them. The homepage additionally returns `Link` response headers (RFC 8288 / RFC 9727) pointing at the catalog, OpenAPI spec, docs, and server card — so headless agents find them without parsing HTML. ### Well-known discovery endpoints Standards-based entrypoints under `/.well-known/` (and the apex), for agents that look there first: - **[/.well-known/mcp/server-card.json](https://igregulator.io/.well-known/mcp/server-card.json)** — MCP Server Card (SEP-1649): server info, transport endpoint, and the full tool list. (Legacy [/.well-known/mcp.json](https://igregulator.io/.well-known/mcp.json) is still served too.) - **[/.well-known/api-catalog](https://igregulator.io/.well-known/api-catalog)** — API catalog (RFC 9727) linking the OpenAPI spec, docs, `llms.txt`, and the `/v1/health` status endpoint. - **[/.well-known/agent-skills/index.json](https://igregulator.io/.well-known/agent-skills/index.json)** — Agent Skills discovery index (v0.2.0). Currently ships a `verify-gambling-license` skill (digest-pinned `SKILL.md`). - **[/auth.md](https://igregulator.io/auth.md)** — how to authenticate: bearer API keys for the REST API and MCP server, or OAuth 2.1 sign-in for MCP connectors at `https://mcp.igregulator.io/mcp/account` (its RFC 9728 metadata is on `mcp.igregulator.io`; the authorization server is `app.igregulator.io`). Content usage is declared via `Content-Signal` in [robots.txt](https://igregulator.io/robots.txt) — `search`, `ai-input`, and `ai-train` are all permitted. ## Agent-friendly features Deliberate design choices that make integration cleaner for agents. ### Structured error details Every error response carries `details.reason` + `details.suggestion`. Agents branch on `reason` instead of free-form text and surface `suggestion` to the user / caller as-is. ```json { "error": "domain is not a valid hostname", "code": "invalid_query", "details": { "field": "domain", "reason": "not_a_valid_hostname", "suggestion": "Pass a bare hostname — no scheme, no path, no port, no underscores; at most 253 characters. A trailing dot is dropped and an internationalised name is converted to punycode. Example: 'paddypower.com' or 'www.bet365.com'." } } ``` The full `reason` vocabulary is stable; see [error handling](https://igregulator.io/docs/errors/) for the code + reason matrix — branch on `code` **and** `reason`, because one `code` (`rate_limited`, `quota_exceeded`, `invalid_query`) covers several causes. ### `verdict` — read this first `/v1/check` answers with a top-level `verdict` — `licensed`, `licensed_provisional`, `licence_not_active`, `domain_not_listed`, `related_host_listed`, `name_match_only`, `not_found` or `generic_term` — derived from `status`, `domain_status`, `status_qualifier` and `confidence` by fixed rules ([confidence scoring](https://igregulator.io/docs/confidence/#verdict--the-answer-in-one-field)), so an agent does not have to combine them itself. `status: active` with `domain_status: delisted` is `domain_not_listed`, not "licensed"; a revoked or suspended licence is `licence_not_active` even when the domain is de-listed too. Only `licensed` and `licensed_provisional` mean licensed now — treat every other value, including one you have not seen before, as "not confirmed as licensed". `verdict_detail` is one plain-English sentence to quote as it stands: it names the regulator, operator and licence (never our KH/TGC/IOM/ON/SE/ES/BE/DE/UA reference as the regulator's number), dates the read that listed the domain and names any register behind the answer whose last read is past its freshness window, scopes a miss to the registers we cover, and never calls anything "unlicensed". Branch on `verdict`; quote `verdict_detail`. `www.example.com` and `example.com` are the same site: either finds the host the register lists (`match.matched_domain` says which). Any other subdomain is a different host. When the host you asked about is not listed but others on the same registrable domain are, the answer is never `licensed`: it is `related_host_listed` (or `licence_not_active` / `domain_not_listed` when that other host's licence or listing is not in force), and `related_hosts[]` names those hosts, each with its operator. Say which hosts are listed and that this one is not; never carry their licence over to it. ### Response `_meta` field Data-returning endpoints include a `_meta` envelope with provenance: - `scraped_at` — ISO-8601 timestamp when we last pulled this record. - `source_url` — exact regulator URL, or null if the row doesn't map to one URL. For a licence this is the page that published its **status** (`status_source_url`) — an enforcement register or a revoked-licences list, say — which is often not the register the licence is listed in. - `confidence_hint` — `authoritative` (direct register dump), `scraped` (HTML / PDF), or `derived` (fuzzy match, not a direct lookup). - `source_modified_at` — reserved for the regulator's own modification timestamp. Always `null` today: we don't store it for any register yet. On `/v1/check`, `_meta` also carries: - `checked_at` — when the answer was computed. (On a name match or a miss, `scraped_at` is that same request time — there is no record behind the answer.) - `register` — `{ jurisdiction, last_read_at, fresh, sla_hours }` for the matched jurisdiction: when we last read its register and whether that is inside its freshness SLA (the same rule as `/v1/health/coverage`). - `stale_jurisdictions` — on a miss, a name-only match or a related-host answer, `[{ code, last_read_at }]` for every covered register past its SLA. A site listed there since our last read is not in our data yet: say so next to a "not found". And `match` carries what a citation needs without a second call: `regulator_name`, `license_id` (for `GET /v1/licenses/{id}`), `license_reference_is_ours`, `status_source_url` and `status_observed_at` (where this status was published, and the latest read that still said it), `matched_domain` (the host the register lists — `www.x.com` for `x.com`) and `domain_last_listed_at` (when a regulator source last listed it; `null` once de-listed). An agent can say "verified via UKGC official register, scraped 6 h ago" with a real evidence trail, not a gloss. Which page can set which status in each jurisdiction, and what we keep as evidence, is on the [methodology](https://igregulator.io/methodology/) page. ### `verification_url` — cite the regulator, not us Where the regulator runs its own page naming the domain — Curaçao's certificate portal, Tobique's validation seal, an MGA verification page — `match.verification_url` on `/v1/check` links straight to it, and `verification_page_kind` says what that page is: `domain_certificate` (issued for this domain alone — a Curaçao Certificate of Operation, a Tobique seal), `licence_certificate` (the CGA certificate for the licence, listing the domain among its approved domains) or `licensee_page` (the MGA page for the licensee, listing it among its websites). That's a primary-source citation an agent can hand to the user ("verify on the regulator's own page"), and it's how we keep the row fresh: every stored verification page is re-read on a rolling nightly pass (every Tobique seal each night, each Curaçao certificate every 2–3 days), and `domain_status` moves only on a clean read of the regulator's own words. `null` for regulators with no such surface (UKGC, KH, AN, IOM, ON, SE, ES, BE, DE, CO, UA). A Curaçao link stored on the legacy host `cert.gcb.cw` is served on `cert.cga.cw`. **Before you cite it, read `verification_page_status`** — what that page printed about the licence at our latest read, verbatim (`Active`, `Revoked`, a Tobique seal's `VALID`), with `verification_page_read_at`. The same pair is on every `jurisdictions[]` row and on each `domains[]` entry of `/v1/operators/{slug}`. If the word does not say the licence is in force, the page is not proof: say what it reads and when, and don't offer it as confirmation. It changes no status on its own — a revocation comes only from a regulator publication (`status_source_url`). ### `jurisdictions[]` — dual-licensed domains A brand can be licensed by different legal entities in different jurisdictions at once. When a matched domain has more than one (operator, jurisdiction) pair, `/v1/check` carries a best-first `jurisdictions[]` array with per-link `status`, `status_qualifier`, `domain_status`, `license_reference_is_ours`, `verification_url`, `verification_page_kind` and `register` (when we last read that link's register, and whether the read is fresh). **Report all of them** — the same domain can be active under one register and delisted under another, and naming only one is a wrong answer. See [confidence scoring](https://igregulator.io/docs/confidence/#jurisdictions--dual-licensed-domains). ### `/v1/health/coverage` Public endpoint exposing per-jurisdiction scraper freshness. `status: healthy` vs `degraded`, `age_hours`, `record_count` per regulator. See [endpoints](https://igregulator.io/docs/endpoints/). Useful for SLA dashboards and status pages. ### Stable `operationId`s Every endpoint has a stable `operationId` (e.g. `checkDomain`, `checkDomainBatch`, `searchOperators`, `getOperator`, `getOperatorRegulatoryActions`, `listJurisdictions`, `getLicense`, `getLicenseHistory`, `checkCoverage`). SDK generators and MCP servers use these as function names — no `getV1CheckDomain` slug noise. ### Dual rate-limit headers (keyless calls) A call made **without a key** to a public endpoint carries the policy in both a custom and the IETF-draft format. Parse either: ``` X-RateLimit-Policy: tier=public;limit=10;window=hour RateLimit-Policy: "default";q=10;w=3600 ``` The IETF draft (`draft-ietf-httpapi-ratelimit-headers`) is what Cloudflare, Kong, and similar gateways auto-parse; the custom format is human-readable for logs. Keyed calls don't send `RateLimit-Policy`. Their `X-RateLimit-Limit` / `-Remaining` / `-Reset` describe your **monthly** quota, and `X-RateLimit-Policy` appears only as `tier=unlimited` (no monthly cap) or `tier=authenticated` (a key on a public endpoint). See [rate limits](https://igregulator.io/docs/rate-limits/#response-headers). ### Deprecation lifecycle A field marked for removal is announced with standard headers (example shape): ``` Deprecation: @1790812800 Sunset: Mon, 01 Mar 2027 00:00:00 GMT Link: ; rel="deprecation"; type="text/html" ``` `Deprecation` is [RFC 9745](https://www.rfc-editor.org/rfc/rfc9745): a structured-field date (`@` + Unix epoch seconds) saying when the field was deprecated, plus the `rel="deprecation"` link. `Sunset` is [RFC 8594](https://www.rfc-editor.org/rfc/rfc8594): an HTTP-date for the removal, minimum 90 days out. An agent caching request shapes can inspect `Sunset` before assuming stability. No fields are currently deprecated, so the API sends neither header today. ## MCP server Live at [`mcp.igregulator.io`](https://mcp.igregulator.io). Streamable HTTP transport (current MCP spec — SSE used for streaming responses). Compatible with Claude Desktop, Cursor, Windsurf, Cline, and any other client that speaks MCP. Tools exposed (lean output — a compact verdict, not the full REST payload): - `check_domain` — verify a licence by domain (supports `as_of`) - `check_domain_batch` — up to 100 domains in one call (KYB sweep) - `search_operators` — search the register by name - `get_operator` — full operator detail (supports `as_of`) - `get_operator_regulatory_actions` — enforcement history (fines, suspensions) - `check_coverage` — data freshness per jurisdiction - `list_jurisdictions` — all covered regulators - `get_jurisdiction` — single regulator metadata - `get_license` — single licence detail - `get_license_history` — status-change timeline `check_domain` and every `check_domain_batch` row lead with the API's `verdict` and `verdict_detail` — branch on the first, quote the second. On a no-match, `check_domain` also returns `match_absence_reason` + `checked_jurisdictions` — never collapse a miss into a bare "unlicensed". On a match, `verification_url` (the regulator's own page) and — for dual-licensed domains — a compact `jurisdictions[]` array pass through, so the verdict can be cited and never flattened to one register. Auth = same API keys as the direct HTTP API, or — for claude.ai, ChatGPT and Claude Code connectors — signing in with an iGregulator account (OAuth 2.1) at `https://mcp.igregulator.io/mcp/account`, which unlocks all ten tools on that account's plan. A key is optional: with no `Authorization` header, `check_domain`, `search_operators` (top 3), `list_jurisdictions` and `check_coverage` answer under the REST API's public limit of 10 requests per hour per IP; the other six tools need a key. Each keyless tool call counts against the per-IP counter of the REST route it calls, from your IP: `check_domain` spends the same `/v1/check` allowance as a direct request ([rate limits](https://igregulator.io/docs/rate-limits/#public-endpoints-no-key)). Setup walkthrough + example prompts at [/docs/mcp](https://igregulator.io/docs/mcp/). Discovery via the [MCP Server Card](https://igregulator.io/.well-known/mcp/server-card.json) (SEP-1649) and the legacy [/.well-known/mcp.json](https://igregulator.io/.well-known/mcp.json). ## WebMCP (in-browser tools) Distinct from the server above: the homepage registers [WebMCP](https://webmcp.org/) tools via `navigator.modelContext`, so an agent **driving a browser** can act without wiring up the HTTP/MCP integration at all. Two read-only tools, backed by the public API (10 req/IP/hour, no key): - `check_gambling_license` — verify by domain or licence number. - `search_gambling_operators` — search operators by name. They're feature-detected, so they simply don't appear in browsers without the WebMCP API. Use the server-side MCP for production integrations; WebMCP is the zero-setup path for browser agents. ## Integration patterns ### Merchant onboarding verification Payment-processor KYB flow: 1. User submits a merchant application with a domain. 2. Agent calls `GET /v1/check?domain=X`. 3. Branch on `verdict`, and put `verdict_detail` in front of whoever decides: - `licensed` → approve. If a `jurisdictions[]` array is present, the domain is on more than one (operator, jurisdiction) licence and each entry has its own `status` and `domain_status` — read them all and report the full picture, not just `match` ([confidence scoring](https://igregulator.io/docs/confidence/)). - `licensed_provisional` (`status: active` with `status_qualifier: provisional_under_assessment`) → licensed now, provisionally: a Curaçao licence past its stated term whose final assessment by the CGA is outstanding (the CGA keeps it in force until it decides). Approve if your policy accepts provisional licences, say so in the answer, and re-check — it can become final or end. - `licence_not_active` → **do not auto-approve.** `verdict_detail` names the status. `revoked` / `suspended` mean a regulator published an enforcement decision against that licence — cite `match.status_source_url`. `expired`, `surrendered` (the operator gave it up) and `not_in_register` (the register no longer lists it, and published no reason) mean "not licensed right now", and `unknown` means wording we could not classify (for UA also a licence whose last entry is a court’s ruling) — none of them is a revocation, so route them to a human rather than rejecting with an enforcement-flavoured reason. `upstream_status` is the regulator's own word; for since when a licence has been unlisted, fetch `match.license_id` from `GET /v1/licenses/{id}` (`not_listed_since`, `last_listed_at`). - `domain_not_listed` → **do not auto-approve**: the licence is active, but the regulator no longer lists this domain on it. - `related_host_listed` → **manual review**. This host is not listed; other hosts on the same registrable domain are (`related_hosts[]`, each with its operator). The applicant's site may be one of them under another name, or a different site altogether — ask, then check the host they confirm. - `name_match_only` → manual review. The domain is on no licence we read; a name matched an operator (`confidence: medium` is a close match, `low` a weak one), so `status` is that operator's licence, not this site's. Never reject on it — and never approve on it either. - `generic_term` → manual review. The domain root is a generic gambling label (`casino.org`, `poker.com`) and `/v1/check` refuses to guess which operator runs it. The site may well be licensed, just not identifiable from the label. - `not_found` → not in any covered register. Scope it to `checked_jurisdictions` ("not found in the registers of the 14 jurisdictions we cover"), never an unqualified "unlicensed", and mention any `_meta.stale_jurisdictions` — `verdict_detail` already does both. - A value not listed here → treat it as "not confirmed": manual review. ### Daily regulatory sweep Portfolio-monitoring automation: 1. Agent keeps a list of N operator slugs in its CRM / knowledge base. 2. Daily cron: iterate the list, call `GET /v1/operators/:slug` (licences + domains) and `GET /v1/operators/:slug/regulatory-actions` (enforcement history — not included in the operator detail). An empty list there means no action is *linked* to that operator, not a clean record: many published actions aren't matched to an operator (UKGC 107 of 107 linked, MGA 2 of 160, CW 0 of 18 on 2026-09-28). The response says so itself: `_meta.note` (quote it on an empty list) and `_meta.sources_read`, the regulator publications we read. 3. Diff against previous day's snapshot. Detect status changes, regulatory actions, expiry windows. (Or let [webhooks](https://igregulator.io/docs/webhooks/) on a [watchlist](https://igregulator.io/docs/watchlist/) push them to you.) 4. Alert compliance team on anomalies. ### Domain reputation scoring Risk-scoring for gambling-adjacent domains: 1. Agent receives an unknown gambling-related domain. 2. Calls `GET /v1/check?domain=X`. 3. When the verdict ties the domain to a licence (`licensed`, `licensed_provisional`, `licence_not_active`, `domain_not_listed`), fetches the operator's enforcement history from `GET /v1/operators/{slug}/regulatory-actions` and combines `verdict` + any regulatory actions into a composite risk score. A `name_match_only` operator is not tied to the domain: its record says nothing about this site. 4. Score feeds the downstream decision (list / delist / require extra verification). ### Bulk KYB sweep (batch) Auditing a whole merchant book or affiliate list in one shot: 1. Collect the domains (chunks of 100). 2. `POST /v1/check/batch` with `{ "domains": [...] }` — one tool-call per 100 instead of one per domain. 3. Iterate `results`: each row carries `verdict` + `verdict_detail` + `match` + `confidence` + `match_absence_reason` (same semantics as the single check), plus `related_hosts[]` when the host isn't stored but others on its registrable domain are, and `query.input`, the string you sent. A row has no `jurisdictions[]` and no `as_of` — check a dual-licensed domain singly for its other links. An entry we can't look up comes back with `error` and **no `verdict`** — report it as not checked, never as not found — and doesn't fail the batch. 4. `checked_jurisdictions` and `_meta.stale_jurisdictions` are returned once at the top — use them to scope every "not found" verdict. See [Batch domain check](https://igregulator.io/docs/batch/). ### Retrospective transaction check (as_of) "Was this merchant licensed at the time of the transaction?": 1. `GET /v1/check?domain=X&as_of=2026-03-01` (or `/v1/licenses/{id}?as_of=`). `as_of` is a `YYYY-MM-DD` date (end of that day, UTC; today's date means now) or an ISO-8601 datetime with a UTC offset — anything else, an impossible date or a future one is a `400`. 2. `verdict` still describes today; `verdict_detail` leads with the answer for your date ("On 2026-03-01 we were not yet tracking … licence … (we first recorded it on …), so its status then is unknown. Today: …"). On `/v1/check` the `as_of` object names the licence it answered for (`license_id`, `license_number`, `operator`, `scope: "licence"`): today's licence for that domain. We keep no record of when a domain was linked to a licence (`link_note` says so), so this is that licence's status on the date — not proof of who ran the site then. 3. Read the `as_of` object, and **honour `knowledge`**: - `observed` → `status_as_of` is the real status then; `established_by` shows when it was last confirmed relative to your date. - `before_tracking` → the date predates our observation window. Do **not** assert a status — tell the user we weren't watching before `tracking_since`. This is the difference between a defensible answer and a fabricated one. - `corrected` → what we recorded for that date was later withdrawn. `status_as_of` is `null`; `correction.withdrawn_status` is what we **used** to say, never the status. Treat it like `before_tracking`. - `no_such_license` → we hold no history for that licence. `null` status. - `no_license_resolved` (`/v1/check` only) → the match didn't resolve to a specific licence, so there is nothing to time-travel. `null` status. Only `observed` carries a status. See [Point-in-time lookups](https://igregulator.io/docs/point-in-time/). ## Start integrating 1. Fetch [llms-full.txt](https://igregulator.io/llms-full.txt) for complete docs context in a single request. 2. Review the [OpenAPI spec](https://api.igregulator.io/openapi.json). 3. Try endpoints interactively in the [playground](https://igregulator.io/docs/playground/). 4. [Create an account](https://app.igregulator.io/signup) for an API key and MCP server access — Starter's first 14 days are free, card required. --- Questions, integration help, feedback — founder@igregulator.io. --- # MCP server URL: https://igregulator.io/docs/mcp/ Markdown: https://igregulator.io/docs/mcp.md > Connect claude.ai, ChatGPT, Claude Code, Claude Desktop, Cursor and other MCP clients to iGregulator — sign in with your account, or use an API key. Verify gambling licences inside the agent, no glue code. `mcp.igregulator.io` exposes iGregulator as a [Model Context Protocol](https://modelcontextprotocol.io) server. Compatible clients (Claude Desktop, Cursor, Windsurf, Cline) can discover and call iGregulator tools without your users writing any HTTP code. Two ways in, one plan: **sign in** with your iGregulator account (claude.ai, ChatGPT and Claude Code connectors — no key to copy), or send the same **API key** that works against `https://api.igregulator.io`. Either way tool calls are counted against your account's normal quota (shared by all your keys and connected apps) — there's no separate MCP plan. ## Why MCP vs. direct API | | Direct API | MCP | | --- | --- | --- | | Where it runs | Your application code | The agent runtime (Claude Desktop, Cursor, etc.) | | Auth | Your code stores + sends Bearer header | Configured once, agent reuses across sessions | | Tool discovery | Read OpenAPI, write wrappers | Agent auto-introspects | | Best for | Server-to-server, batch jobs | End-user agent flows, KYB / compliance assistants | Use direct API when you build the integration. Use MCP when an agent *on the user's machine* needs to talk to iGregulator. ## Available tools Mapped to the public API surface. Tool output is **lean** — a compact verdict, not the full REST payload — so it stays cheap in your context; fetch `get_operator` when you need the full dossier. | Tool | Backs onto | Use case | | --- | --- | --- | | `check_domain` | `GET /v1/check` | "Is bet365.com licensed?" (supports `as_of`) | | `check_domain_batch` | `POST /v1/check/batch` | A KYB sweep — up to 100 domains in one call | | `search_operators` | `GET /v1/operators/search` | Brand → registered legal entity | | `get_operator` | `GET /v1/operators/:slug` | Full record incl. licenses + domains (supports `as_of`). Long domain lists are capped — 50 by default, listed links first; `domains_total` says how many there are and `domains_limit` (up to 1,000) asks for more | | `get_operator_regulatory_actions` | `GET /v1/operators/:slug/regulatory-actions` | Enforcement history (fines, suspensions). An empty list means none is linked to that operator — not a clean record | | `check_coverage` | `GET /v1/health/coverage` | Data freshness per jurisdiction | | `list_jurisdictions` | `GET /v1/jurisdictions` | Coverage overview | | `get_jurisdiction` | `GET /v1/jurisdictions/:code` | One regulator's metadata | | `get_license` | `GET /v1/licenses/:license_id` | Specific license detail | | `get_license_history` | `GET /v1/licenses/:license_id/history` | Status-change audit trail | `check_domain` and each `check_domain_batch` row lead with the API's `verdict` and `verdict_detail` (see [Reading the answer](https://igregulator.io/docs/mcp/#reading-the-answer)). On a no-match, they return `match_absence_reason` + `checked_jurisdictions` — so an agent says "not found in the jurisdictions we cover", never an unqualified "unlicensed". On a match, `check_domain` also passes through `verification_url` (the regulator's own per-domain verification page — Curaçao certificate / Tobique seal — the citation to surface next to the verdict) and, for dual-licensed domains, a compact `jurisdictions[]` array so the answer never flattens a multi-register brand to one jurisdiction. ### Reading the answer **Branch on `verdict`; quote `verdict_detail`.** Only `licensed` and `licensed_provisional` mean licensed now — `licensed_provisional` is in force provisionally (a Curaçao licence under the CGA's final assessment), so say so and suggest a re-check. Everything else — `licence_not_active`, `domain_not_listed`, `related_host_listed`, `name_match_only`, `not_found`, `generic_term`, or a value added later — is "not confirmed as licensed by the registers we cover", never "unlicensed". The rules behind each value are in [confidence scoring](https://igregulator.io/docs/confidence/#verdict--the-answer-in-one-field). `verdict_detail` already names the status in its own words. When you need to say more about a status, the values are **not interchangeable**, and the server's own instructions tell the model so on connect: | `status` | What it means | What an agent should say | | --- | --- | --- | | `revoked`, `suspended` | The regulator published an enforcement decision and we read it | That, citing the source | | `surrendered` | The operator gave the licence up | Not licensed now — not enforcement | | `expired` | It ran out | Not licensed now | | `not_in_register` | The register stopped listing it; no reason was published | "No longer listed" — **never** "revoked" | | `unknown` | Listed, with wording we could not classify — for UA also a licence whose last entry is a court’s ruling | Escalate | `check_domain`, `check_domain_batch` and `get_operator` return a **lean** result (they land in the model's context window). A check carries the verdict, `status`, `status_qualifier`, `domain_status` and — as the API sends them — `regulator_name`, `status_source_url` (the page that published *this status*, often not the register itself), `status_observed_at`, `license_id`, and `related_hosts[]` when the host isn't listed but others on its registrable domain are (never that host's licence — see [which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain)). Next to a `verification_url` (a check, or a `get_operator` domain) comes `verification_page_status`: what the regulator's own page printed about the licence at our latest read, verbatim, with `verification_page_read_at`. If that word does not say "in force", the page is not proof (`get_operator`'s summary names such domains); don't cite the link as confirmation. `get_operator` gives each licence its `license_id`, `status`, `status_qualifier` and `license_reference_is_ours` (`true` for Kahnawake, Tobique, the Isle of Man, Ontario, Sweden, Spain, Belgium, Germany and Ukraine: `license_number` is then our reference, not the regulator's). Pass a `license_id` to `get_license` for the full REST record — `status_source_url`, `status_observed_at`, `not_listed_since`, `last_listed_at` — and to `get_license_history` for every event with its `note` and the evidence hash (`snapshot_sha256`). An event with `corrected_at` set was later withdrawn: never quote it as fact. A `correction_note` without `corrected_at` is a reworded note on an event that stands, not a withdrawal. `get_operator_regulatory_actions` says what its list means in the result itself (`note`, `sources_read`): which regulator publications we read, and that not every published action is matched to an operator — an empty list is not a clean record. Webhook + watchlist management (creating endpoints, rotating secrets, etc.) is intentionally not exposed via MCP — those belong in the dashboard at [app.igregulator.io](https://app.igregulator.io). MCP is read-only by design. ## Installation ### Connect from claude.ai, ChatGPT or Claude Code (sign in — no key) Paste this URL as a custom connector, then sign in with your iGregulator account when asked: ``` https://mcp.igregulator.io/mcp/account ``` No account yet? The sign-in page has a **sign up** link, and you come straight back to the connection afterwards. The tools work on the account's plan: Starter's first 14 days are free, with a card required to start. - **claude.ai** (and Claude Desktop, mobile): *Settings → Connectors → Add custom connector*, paste the URL, **Add**, then **Connect**. Leave the advanced OAuth client fields empty: Claude registers itself. - **ChatGPT**: turn on developer mode (*Settings → Security and login → Developer mode*; availability depends on your plan and workspace), add a new app/connector with the URL above, and choose OAuth if asked. - **Claude Code**: ```bash claude mcp add --transport http igregulator https://mcp.igregulator.io/mcp/account ``` then run `/mcp` in a session and pick **igregulator → Authenticate**; a browser opens for the sign-in. You will see a consent screen on `app.igregulator.io` naming the app, the site it returns you to, and what it gets: **read-only licence lookups — all ten tools — on your plan, counted against your monthly quota, until you revoke it.** It never sees your password or API keys and cannot change your account. Every app you connect is listed under [API keys → Connected apps](https://app.igregulator.io/api-keys#connected-apps); **Revoke** cuts it off at once (its tokens stop working on the next request). How it works, for the curious: `mcp.igregulator.io/mcp/account` is an OAuth 2.1 protected resource ([RFC 9728 metadata](https://mcp.igregulator.io/.well-known/oauth-protected-resource/mcp/account)); `app.igregulator.io` is its authorization server ([RFC 8414 metadata](https://app.igregulator.io/.well-known/oauth-authorization-server/api/auth)) — dynamic client registration, PKCE (S256), one scope (`mcp:read`), one-hour access tokens and rotating refresh tokens, all per the [MCP authorization spec](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization). The same endpoint also accepts an API key (`Authorization: Bearer igk_…`). ### Try it without a key No account needed to see what the server does. With no `Authorization` header, `check_domain`, `search_operators` (top 3), `list_jurisdictions` and `check_coverage` work, 10 requests per hour per IP; the other six tools answer with a pointer to sign-up for a key. ```bash claude mcp add --transport http igregulator https://mcp.igregulator.io/mcp ``` ### With a key (all ten tools) [Create an account](https://app.igregulator.io/signup), start a plan on its [Billing](https://app.igregulator.io/billing) page and get an API key at [app.igregulator.io/api-keys](https://app.igregulator.io/api-keys). Every plan reaches all ten tools; Starter's first 14 days are free, card required. ### Claude Code Native HTTP MCP support. One command: ```bash claude mcp add --transport http igregulator https://mcp.igregulator.io/mcp \ --header "Authorization: Bearer igk_..." ``` Replace `igk_...` with your real key. Verify with `claude mcp list` — `igregulator` should appear with status `connected`. Restart any active Claude Code session and the tools become available immediately. ### Claude Desktop (recommended path: `mcp-remote` shim) Claude Desktop's stdio-based MCP support is universal; HTTP support is rolling out. The most reliable config today uses `mcp-remote` to bridge stdio → streamable HTTP. Open `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows) and add: ```json { "mcpServers": { "igregulator": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.igregulator.io/mcp", "--header", "Authorization: Bearer igk_..." ] } } } ``` Replace `igk_...` with your real key. Restart Claude Desktop. Verify with: *"What iGregulator tools do you have?"* ### Claude Desktop (native HTTP — newer builds only) If your Claude Desktop build supports remote MCP servers natively, you can drop the `mcp-remote` shim: ```json { "mcpServers": { "igregulator": { "url": "https://mcp.igregulator.io/mcp", "transport": "streamable-http", "headers": { "Authorization": "Bearer igk_..." } } } } ``` If this gives you an "unknown transport" error, your build is too old — fall back to the `mcp-remote` shim above. ### Cursor Cursor → Settings → Features → Model Context Protocol → Add new MCP server. Use the same `mcp-remote` shim: ```bash npx -y mcp-remote https://mcp.igregulator.io/mcp --header "Authorization: Bearer igk_..." ``` ### Windsurf Windsurf → Settings → Cascade → Manage MCP Servers. Same `mcp-remote` shim pattern as Cursor; Windsurf documents per-version specifics in their MCP guide. ### Cline / other clients Anything that speaks MCP can connect. Refer to your client's docs for HTTP/SSE transport configuration; the connect URL is `https://mcp.igregulator.io/mcp` and auth is a bearer header named `Authorization`. ## Example prompts ``` Check whether bet365.com is licensed. ``` → Agent calls `check_domain` with `domain="bet365.com"`, returns UKGC license details. ``` Find every operator named "Flutter" and show me their licenses. ``` → `search_operators(q="flutter")` followed by `get_operator(slug=...)` for each result. ``` What's the regulatory action history for license ? ``` → `get_license_history(license_id=...)` returns the full status-change timeline. ``` Compare UKGC and MGA — what license types do they each issue? ``` → `get_jurisdiction(code="UKGC")` + `get_jurisdiction(code="MGA")`. ``` Here are 40 merchant domains — which are licensed? ``` → one `check_domain_batch(domains=[...])` call, not 40 separate checks. ``` Was virginbet.com licensed on 2026-03-01? ``` → `check_domain(domain="virginbet.com", as_of="2026-03-01")` — reads `as_of.knowledge` (won't assert a status from before tracking began). ``` Any enforcement actions against Flutter? ``` → `get_operator_regulatory_actions(slug="flutter-uk-limited")`. ## Authentication Two credentials work: - **Signing in** (OAuth 2.1, at `https://mcp.igregulator.io/mcp/account`): what claude.ai, ChatGPT and Claude Code connectors do. The MCP server checks each access token with `app.igregulator.io` on every request — it must be active, issued for this endpoint, and carry `mcp:read` — then calls the API for you with its own internal credential; your token is never passed on. A revoked connection (Connected apps → Revoke) or a canceled plan stops working on the next request. Without a token the endpoint answers `401` with `WWW-Authenticate: Bearer resource_metadata="…"`, which is what starts the sign-in. - **An API key**, on either endpoint: API keys are bearer tokens. The same key works against the direct API and the MCP server. Rotate or revoke at [app.igregulator.io/api-keys](https://app.igregulator.io/api-keys); changes take effect within seconds across both surfaces. The MCP gateway does not store your key. It checks that the header is shaped `Bearer ` and forwards the key on each tool call to the API, which runs the same `requireApiKey` middleware that direct-HTTP callers go through — an unknown or revoked key is refused there, on the first tool call. A key is optional. Without one, the gateway calls only what the REST API serves without a key (`/v1/check`, `/v1/operators/search`, `/v1/jurisdictions`, `/v1/health/coverage`) and the API applies its public limit to **your** IP, not the gateway's. A header that is present but malformed is still rejected with a 401. ## Rate limits Without a key: 10 requests per hour per IP — the REST API's own counters, kept per route, not a separate MCP allowance. A keyless tool call counts against the route it calls, from your IP: `check_domain` spends the same `/v1/check` counter as a direct request (ten keyless `check_domain` calls from one IP in an hour use up that IP's `/v1/check` allowance for direct requests too), `search_operators` spends `/v1/operators/search`'s, `list_jurisdictions` `/v1/jurisdictions`'s and `check_coverage` `/v1/health/coverage`'s. With a key, tool calls count against your account's existing quota, one call per tool call. HTTP headers don't cross the MCP boundary: when a limit trips, the tool result is an error whose text is `{ "http_status": 429, …the API's error body… }` — `code`, `details.reason`, and `details.reset_at` where the API sets it — plus, for a keyless caller, a `how_to_fix` hint. Starter keys reach every tool. An older account still marked `trial` is served as Starter and reaches them too. ## Discovery This server publishes a manifest at three URLs (community convention; not a canonical MCP spec field — canonical discovery is the user typing the URL into their client): - [`https://mcp.igregulator.io/.well-known/mcp.json`](https://mcp.igregulator.io/.well-known/mcp.json) - [`https://api.igregulator.io/.well-known/mcp.json`](https://api.igregulator.io/.well-known/mcp.json) - [`https://igregulator.io/.well-known/mcp.json`](https://igregulator.io/.well-known/mcp.json) All three return the same JSON: server URL, transport, auth flow (key, or OAuth at `/mcp/account`), key-request URL, docs URL. OAuth discovery for the signed-in endpoint follows the MCP spec: Protected Resource Metadata at [`/.well-known/oauth-protected-resource/mcp/account`](https://mcp.igregulator.io/.well-known/oauth-protected-resource/mcp/account) (also at the root `/.well-known/oauth-protected-resource`), naming the authorization server `https://app.igregulator.io/api/auth`, whose metadata is at [`/.well-known/oauth-authorization-server/api/auth`](https://app.igregulator.io/.well-known/oauth-authorization-server/api/auth). ## Troubleshooting **"Tool not found"** — usually the agent never connected. Check that your client logs show iGregulator listed under MCP servers. If it's missing, the bearer header is malformed or the URL is unreachable. **"Connection failed" or DNS errors** — `curl -I https://mcp.igregulator.io/health` should return `200 OK`. If not, the issue is upstream of MCP. **Connector says it can't connect, or asks to sign in again** — the sign-in was revoked under [Connected apps](https://app.igregulator.io/api-keys#connected-apps), or went unused for 30 days (refresh tokens expire after 30 days without use). Connect again; you won't be asked to approve an app you already approved unless you revoked it. **"402 / plan_inactive" or "402 / plan_ended" from a signed-in connector** — the account has no active plan, or its plan's end date has passed; signed-in connections are refused exactly as its keys would be. **"401 / api_key_missing / api_key_invalid"** — your key isn't being passed. With `mcp-remote`, double-check the `--header` arg includes `Bearer ` (with the space). Quoting matters in some shells; if your config has issues, restart the client. **"429 / rate limited"** — same quota as direct API. Rate-limit headers are not passed through; the API's error body is (`http_status`, `code`, `details.reason`, and `details.reset_at` where set). Branch on `details.reason` as in the [errors reference](https://igregulator.io/docs/errors/): `per_second_limit_exceeded` clears in a second, `monthly_request_limit_reached` at `details.reset_at`, and the keyless `quota_exceeded` at the top of the next UTC hour. ## Feedback If a tool description or argument schema needs work, write to [founder@igregulator.io](mailto:founder@igregulator.io) — agent-voice quality is something we iterate on. --- # Licence badge URL: https://igregulator.io/docs/badge/ Markdown: https://igregulator.io/docs/badge.md > An embeddable SVG badge that shows a domain's gambling-licence status as iGregulator last read it — what every state says, why it is honest, embed code, caching. A live badge for any domain: the licence status `/v1/check` returns for it, drawn as a small SVG you can put on a review page, an affiliate listing or an operator's own footer. It links back to the domain's page on iGregulator, where every fact is cited to the regulator page it came from. ``` https://app.igregulator.io/badge/.svg ``` Licence status of stake.com, checked by iGregulator Free for everyone — no key, no account, not counted against any API quota. It is there to be used. ## Embed it Every brand page on [app.igregulator.io](https://app.igregulator.io/brands) has an **Embed this badge** box with the code for that domain and a copy button. By hand: ```html Licence status of stake.com, checked by iGregulator ``` ```md [![Licence status of stake.com, checked by iGregulator](https://app.igregulator.io/badge/stake.com.svg)](https://app.igregulator.io/brands/stake.com) ``` Use the bare hostname, lowercase, as the register lists it (`kwiff.com`, not `https://www.kwiff.com/`). A host and its `www.` counterpart are the same site, for the badge as for `/v1/check`: `www.kwiff.com` shows what `kwiff.com` does. Any other subdomain is its own host — the badge never shows another host's licence for it: it says "not listed itself" and names the host that is ([which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain)). The alt text names the image and deliberately does **not** repeat the verdict: you paste the snippet once, and an alt that said "active" would keep saying it after the badge itself had changed. **Two-line card.** Add `?style=large` for a 36 px card with the domain on the first line and the licence (with its number, where the regulator publishes one) on the second: ``` https://app.igregulator.io/badge/stake.com.svg?style=large ``` ## What it can say The badge always names the domain it is about — so it cannot be lifted onto another site and read as that site's licence — and, whenever it describes a record, the date of our last read of it. (The examples use placeholder domains: a status printed in a document goes out of date; the badge does not.) | State | Example | Colour | | --- | --- | --- | | Active licence, domain listed | `casino.example · UKGC licence · active · verified 2026-09-30` | green | | Our last read is older than the register's freshness target | `casino.example · UKGC licence · active · last verified 2026-09-28` | amber | | Curaçao licence the register reads "Assessment in progress" | `casino.example · Curaçao licence · provisional · verified 2026-09-30` | amber | | The licence behind the domain is not active — whether or not the domain is still listed on it | `casino.example · UKGC licence · surrendered · checked 2026-09-30` — also `expired`, `revoked`, `suspended`, `pending`, `not in register`, `status unknown`; when the domain is de-listed too, `casino.example · Anjouan licence · revoked · no longer listed · checked 2026-09-30` | grey | | The licence is active, but the regulator no longer lists the domain under it | `casino.example · no longer listed by Anjouan · checked 2026-09-30` | grey | | The host isn't listed itself; another host on its domain is (or was) | `sports.casino.example · not listed itself · casino.example is listed` — or `… no longer listed` | grey | | No licensed record for the domain | `casino.example · not found in the 14 registers we cover` | grey | - **Only green means licensed now**, and only for an `active` licence on a domain link the regulator currently lists — the same two fields `/v1/check` answers with (`status`, `domain_status`). Which licence, when a domain is linked to several, is the one `/v1/check` reports as `match`. - **Every other status is named as what it is.** `surrendered` is the operator giving the licence up; `not in register` is the register no longer listing it with no reason published. Neither is a revocation, and the badge never says one. It never says "unlicensed", and it has no red. - **A miss is scoped.** "Not found in the 14 registers we cover" is exactly `/v1/check`'s `match_absence_reason` + `checked_jurisdictions`: we read fourteen registers, and a domain licensed somewhere else is not in them. A match by company or trading name alone (`confidence: medium` / `low` on `/v1/check`) is not a record of this domain, so the badge says "not found" for it too. - **"Last verified" in amber** when our latest read of the record is older than the register's freshness target — 24 h for UKGC, Anjouan, Tobique, the Isle of Man, Ontario, Sweden, Spain, Belgium, Germany, Colombia and Ukraine, 48 h for MGA, Curaçao and Kahnawake, the rule [`/v1/health/coverage`](https://igregulator.io/docs/coverage-methodology/) applies. A green badge never rests on a stale read. - **Kahnawake, Tobique, the Isle of Man, Ontario, Sweden, Spain, Belgium, Germany and Ukraine publish no licence number.** The badge names the regulator and never prints the reference we use internally. - **Provisional** is a Curaçao licence past its stated term whose register entry reads "Assessment in progress": the CGA keeps it in force until it decides, so it is `active` with a qualifier (`status_qualifier: provisional_under_assessment` on `/v1/check`), and the badge says so. A URL that does not end in a hostname answers **400** with a badge that says "not a valid hostname". If we cannot read our own database for a moment, the badge says "status unavailable right now" (HTTP 503, not cached) rather than anything about the licence. ## How fresh it is We read every register nightly. The badge is built from those reads, cached for an hour on our side, and served with `Cache-Control: public, max-age=3600, s-maxage=3600`, so Cloudflare and browsers keep a copy for up to an hour. A change we read reaches the badge within about an hour; a browser that showed it just before may keep its copy a little longer. It changes by itself: when the regulator's listing changes, the badge does — nothing to update on your side. ## What it is not The badge is not an endorsement, a rating or a certification by iGregulator, and not an opinion about the site. It reports what one regulator's public register said at our last read, with the date. For the evidence behind it, follow the link to the brand page, or ask [`/v1/check`](https://igregulator.io/docs/getting-started/) yourself. ## Who embeds it When a badge is fetched from another site, we record that site's hostname (from the `Referer` header — the host only, no path, nothing about the visitor), the domain, when we first and last saw the pair, and a count of fetches that reached us. That is how we know where badges are used; nothing else is kept. --- # API playground URL: https://igregulator.io/docs/playground/ Markdown: https://igregulator.io/docs/playground.md > Try the iGregulator API in your browser: send live requests to /v1/check and every other endpoint and see real responses. Public endpoints need no API key. Execute any endpoint against the live API from this page. Public endpoints (`/v1/check`, `/v1/jurisdictions`, `/v1/operators/search`, `/v1/health/coverage`) work without a key. For authenticated endpoints, paste your API key into the **Authorize** button — it persists across pages for this session only. All requests hit the **production** API (`api.igregulator.io`). Without a key, the 10 req / IP / hour limit per public endpoint applies the same as for any other caller — if you hit 429, wait until `X-RateLimit-Reset` in the response headers. With a key, calls count against your plan. _Interactive API playground — open https://igregulator.io/docs/playground/ in a browser. The machine-readable spec is https://api.igregulator.io/openapi.json._ --- # Changelog URL: https://igregulator.io/docs/changelog/ Markdown: https://igregulator.io/docs/changelog.md > Every change to the iGregulator API, MCP server and docs, newest first: new endpoints and fields, fixes, corrections, deprecations, breaking-change policy. API-level changes only. Internal refactors, scraper updates, and infra changes don't appear here unless they surface in a response shape or error behaviour. ## Versioning policy All `/v1/*` endpoints are maintained **indefinitely**. We do not silently retire versioned routes. Future major versions will be introduced under a new path (`/v2/*`), with **v1 and v2 running in parallel for a minimum of 12 months** after v2 launch. Migration guidance lands in this changelog at v2 launch. ## Breaking-change policy - Breaking changes **always** land behind a new URL path (`/v2/...`) — we never break a stable endpoint's response shape in place. - Additive changes (new fields, new endpoints, loosened validation) ship at any time without a version bump. - Deprecation flow for individual fields inside a stable version: - `Deprecation` header ([RFC 9745](https://www.rfc-editor.org/rfc/rfc9745)) on affected responses the day the field is marked — a structured-field date, e.g. `Deprecation: @1790812800`. - `Sunset` header ([RFC 8594](https://www.rfc-editor.org/rfc/rfc8594)) with the removal date as an HTTP-date, **minimum 90 days** out. - Changelog entry below with the migration guidance. - For agents: `Link: …; rel="deprecation"` (RFC 9745) surfaced alongside the header. - No field is deprecated today, so none of these headers is sent. ## 1.35.0 — 2026-10-26 - `GET /v1/stats` gains three additive parts, each with its definition in `definitions`: - `jurisdictions.items[].by_status` — each register's licence records by current status, every status present. - `status_changes_7d` — the same changes `status_changes_30d` counts, over the last 7 days: `total`, `by_status` (how many moved to each status) and `recent`, up to six of them, newest first and at most one per regulator, each with the regulator page it was read from. `recent` names only operators whose registered name carries a company legal form, so no sole trader is named; the counts include everyone. - `geo_checks` — how many distinct domains we have checked from inside at least one country, from which countries, and since when. An observation, never a licence status. - Error `suggestion` texts no longer say paid plans are closed: a quota, limit, `plan_inactive`, `plan_ended` or `export_requires_pro` answer now points to the Billing page (Pro and Business are invoiced for three months or more). Codes and reasons are unchanged. ## 1.34.0 — 2026-10-25 - New `402` reason `plan_ended`: an account's plan can now have an end date (for example a plan granted for three months). After it, every keyed request answers `402 payment_required` with `reason: plan_ended` and the date in `suggestion`, and no webhook is delivered to the account's endpoints. Keys, watchlist and webhook endpoints are kept; renewing the plan restores them at once. The same request without the `Authorization` header is answered within the per-IP limit. - Webhooks are no longer delivered to accounts whose plan is `canceled`. ## 1.33.1 — 2026-10-23 - Geo-checks: `refused` now counts as a definite result. Per country the latest definite result is shown, so a newer `refused` replaces an older `reachable` (a site that closes a country with a bare 403 no longer keeps showing "Reachable"). When every probe gets 403, a browser in the country is asked too where we have one: if it shows the site the result is `reachable` (the 403 was a bot wall), if it is refused too the `reason` says so. ## 1.33.0 — 2026-10-23 - `GET /v1/check` (a `domain` query): new `domain_registration` — what the domain's registry publishes about the registration, read from the registry's own RDAP server: `registered_at`, `expires_at`, `last_changed_at`, `registrar`, `status` (EPP codes such as `client hold`), `source_url` (the RDAP record) and `read_at`. It describes the registered name (`stake.com` for `www.stake.com`). Present only when we have read a record; absent for TLDs that publish no RDAP (`.de`, `.es`, `.se`, `.be`, …). A fact about the domain, never part of the verdict. Re-read every 30 days; new domains first. - Export (`/v1/export/domains`): `domain_registered_at`, `domain_expires_at`, `domain_registrar` from the same record. - MCP `check_domain` passes `domain_registration` through (dates, registrar, status). ## 1.32.0 — 2026-10-23 - **New webhook event `domain.delisted`** — the mirror of `domain.listed`: a register stopped listing sites on an operator's licence. One event per operator and register per read, each domain with `delisted_at`, `first_seen_at` and the `source` that read it. It is the register's own statement, never an absence elsewhere, and says nothing about the licence — which `licenses` shows with its status today, often still `active`. Only de-listings recorded from today on are sent; earlier ones were never dated. Watchlist and jurisdiction filters apply. See [/docs/webhooks](https://igregulator.io/docs/webhooks/#domaindelisted-data). ## 1.31.1 — 2026-10-22 - Geo-checks: two results that say what was read instead of `unknown`. `served_unverified` ("Reachable, not verified") — home connections in the country were served the page, but no browser in the country rendered it. `refused` ("Refused (HTTP 403)") — every probe in the country got HTTP 403; not a statement that the site geo-blocks the country. Checks already stored with those readings are re-labelled. `GET /v1/geo-checks` prefers, per country, a definite result over these two, and these over `unknown`. ## 1.31.0 — 2026-10-22 - **Geo-checks: does a casino site open in a country its licence does not reach?** New for Business (10 domains per UTC month) and Enterprise (no cap): - `POST /v1/geo-checks` requests a domain in one or more of ten markets (GB, SE, NL, DE, ES, IT, FR, BR, CA = Ontario, AU; all ten when left out). One request is one against the allowance, whatever the number of countries; a request recent results answer entirely (`from_cache`) is free. - `GET /v1/geo-checks?domain=` returns the latest shown check per country. - `GET /v1/geo-check-requests` lists your own requests and their status. A check reads the page from home internet connections in each country, reads the page's own country lists, and renders it in a browser **in the country** (`in_country_render`). `reachable` needs that browser; without it a served page is `unknown` ("HTML only, no in-country render"). Every `reachable` is confirmed by a person on its screenshot before anyone sees it. Ontario results carry `register`: whether iGaming Ontario lists the domain. We also scan domains on offshore licences in the background, so a result does not mean anyone requested it. Results: `reachable`, `geo_blocked`, `waf_blocked`, `parked`, `gateway`, `not_casino` and `unknown`, each with a `reason`. This is an observation about a site on a date, never a licence status. Who requested a check is shown to nobody else. See [geo-checks](https://igregulator.io/docs/geo-checks/). - In the dashboard, a domain's page shows **Availability by country** to signed-in accounts: results for Pro, results plus a request button for Business and Enterprise. Never on the public page. - **`match` no longer follows the freshest read.** Among a domain's listed links with an active licence, `match` (and `jurisdictions[0]`) is now the link we have known longest. It used to be the licence read most recently, so a domain licensed in two registers could switch `match` with the order the registers were read in (bet365.com answered with its Swedish licence, read at 04:35, over its UKGC one, read at 03:00). Freshness is still each entry's `register.last_read_at`. - New `402` reason `geo_checks_require_business` — every geo-check endpoint, reads included, is Business and Enterprise (`details.available_on`) — and `429` reason `geo_check_quota_exceeded`. ## 1.30.0 — 2026-10-21 - **`verification_page_kind`: what the regulator's page for a domain is.** New field next to `verification_url` on `/v1/check` (`match` and every `jurisdictions[]` entry), on `/v1/operators/{slug}` `domains[]`, and as a column of `GET /v1/export/domains`. Values: - `domain_certificate`: a page the regulator issues for this domain alone, such as a CGA Certificate of Operation (`cert.cga.cw/certificate`) or a Tobique seal. - `licence_certificate`: the CGA certificate for the licence (`cert.cga.cw/token`), which lists the domain among its "Approved domains". - `licensee_page`: the MGA verification page for the licensee, which lists the domain among its websites. - `other`: a page we have not classified. - `null`: there is no page. For Curaçao, this tells a domain's own Certificate of Operation apart from the licence's list of approved domains. - The domain export's `verification_url` is now given on the CGA's current host (`cert.gcb.cw` → `cert.cga.cw`), as `/v1/check` already did. - `/v1/check`'s `verification_url` description now names MGA verification pages, which it has served for MGA links all along. ## 1.29.1 — 2026-10-21 - **Ukraine: a licence PlayCity terminated by its decision is `revoked`.** The register prints "licence terminated by the agency's decision of … No. …" with no grounds; such a licence was `unknown` and is now `revoked` (six licences). Its `upstream_status` keeps the register's wording ("Licence terminated by PlayCity's decision of … No. …; the register gives no grounds"). A licence whose last entry is a court's ruling stays `unknown`. No field changed name or type. ## 1.29.0 — 2026-10-20 A fourteenth jurisdiction: Ukraine. Additive — no field changed name or type. - **Ukraine (`UA`, country `UA`, currency `UAH`).** The State Agency of Ukraine PlayCity is read nightly at 05:35 UTC: its register of every licence — a PDF linked from playcity.gov.ua — two requests a night. We load its three online licence types: `Online casino`, `Online poker` and `Bookmaking` (all `license_category` `remote`) — 53 licences over 36 operators and 38 hosts at the first read. One licence record per **issuing decision**: a licensee whose 2021 licence ran out and who took a new one has two records. - **English throughout.** The register is in Ukrainian; licence types, operator names (in Latin letters by the official transliteration, legal form in English: `SPEISYKS LLC`) and `upstream_status` (an English rendering of the register's line, built from its dates and decision numbers, never a free translation) are English. The register's own text stays with each record. - **`license_number` for `UA` is ours:** PlayCity prints no licence numbers, so the value is `UA/CASINO///` (`UA/POKER/…`, `UA/BETTING/…`). `license_reference_is_ours` is `true`, `license_number_kind` is `igregulator_reference`, and `verdict_detail` never quotes it as the regulator's number. It round-trips through `/v1/check?license_number=`. - **Statuses come from the licence's own row.** PlayCity prints what happened to each licence: revoked by the agency's decision → `revoked`; its term ran out → `expired`. A licence the agency ended by a decision whose grounds the register does not print is `unknown` — not `revoked`: the same wording covers a sanction and the licensee's own request. A licence whose last entry is a court's ruling on the agency's decision is `unknown` while the case stands. A licence that leaves the register would be `not_in_register`. - **Not in our data:** land casinos, slot halls, per-machine and per-table licences, bookmaker shops and the state lotteries. `/v1/check` answers `not_found` for such a site, which is a limit of our coverage and **not a finding that the site is unlicensed**. PlayCity's illegal-sites tracker is a block list, not a licence register, and is not read. - `/v1/health/coverage`: a 24 h freshness SLA, and every loaded licence counts toward `domain_coverage`. `checked_jurisdictions` on a `/v1/check` miss includes `UA` from the register's first load; `/v1/jurisdictions` lists it. `verification_url` is `null` — PlayCity publishes no page per domain. - MCP: server instructions and tool descriptions name fourteen jurisdictions, and `get_jurisdiction` accepts `UA`. - Jurisdiction hub: `app.igregulator.io/jurisdictions/ukraine`. - The [Terms of Service](https://igregulator.io/terms/) (§1) now name PlayCity among the registers we read. A coverage update only: nothing about your rights or obligations changed. ## 1.28.0 — 2026-10-16 A thirteenth jurisdiction: Colombia. Additive — no field changed name or type. - **Colombia (`CO`, country `CO`, currency `COP`).** Coljuegos, Colombia's gaming regulator, is read nightly at 05:30 UTC: its page of online gaming operators it authorises ("Operadores de Juegos Online Autorizados por Coljuegos"), one request a night — 14 licences over 14 operators and ~15 `.co` / `.com.co` hosts at the first read. One licence record per **concession contract**; `license_type_raw` is `Juegos operados por internet` (online gaming concession) and `license_category` is `remote`. A domain is the website the page names for the operator. - **`license_number` for `CO` is the regulator's:** Coljuegos' own contract number, as the page prints it (`2182`, `C2261`). So, unlike KH, TGC, IOM, ON, SE, ES, BE and DE, `license_reference_is_ours` is `false`, `license_number_kind` is `regulator` in exports, and `verdict_detail` quotes the number. It round-trips through `/v1/check?license_number=`. - **Not in our data:** land-based gaming (*juegos localizados*) and the lotteries. `/v1/check` answers `not_found` for such a site, which is a limit of our coverage and **not a finding that the site is unlicensed**. - **Statuses: `active` and `not_in_register` only.** `active` = the concession is on Coljuegos' page of authorised online operators (the page is the licence's `status_source_url`). `not_in_register` = it is no longer listed. Coljuegos publishes no structured list of ended, suspended or terminated concessions, so `revoked`, `suspended` and `surrendered` are never set for CO, and absence can only ever mean `not_in_register` — never "unlicensed". - `/v1/health/coverage`: a 24 h freshness SLA, and every loaded licence counts toward `domain_coverage`. `checked_jurisdictions` on a `/v1/check` miss includes `CO` from the register's first load; `/v1/jurisdictions` lists it. `verification_url` is `null` — Coljuegos publishes no page per domain; its page of authorised operators is cited as the licence's `status_source_url`. - MCP: server instructions and tool descriptions name thirteen jurisdictions, and `get_jurisdiction` accepts `CO`. - Jurisdiction hub: `app.igregulator.io/jurisdictions/colombia`. - The [Terms of Service](https://igregulator.io/terms/) (§1) now name Coljuegos among the registers we read. A coverage update only: nothing about your rights or obligations changed. ## 1.27.0 — 2026-10-15 An eleventh and a twelfth jurisdiction: Belgium and Germany. Additive — no field changed name or type. - **Belgium (`BE`, country `BE`, currency `EUR`).** The Belgian Gaming Commission (Kansspelcommissie) is read nightly at 05:20 UTC: its three published lists of active licences, one per online licence class — 81 licences over 76 operators and 79 `.be` hosts at the first read. We load the **three online licence classes** of the Gaming Act of 7 May 1999, each the online extension of a land licence: **`A+`** (online casino games), **`B+`** (online arcade games) and **`F1+`** (online betting), as `license_type_raw` and `license_types`. One licence record per row the Commission lists; `license_category` is `remote` for all. A domain is a site the row names; a site the Commission lists for two operators is linked to both. - **Germany (`DE`, country `DE`, currency `EUR`).** The Gemeinsame Glücksspielbehörde der Länder (GGL) is read nightly at 05:25 UTC: its official whitelist of permitted operators — 72 licences over 50 operators and 123 hosts at the first read. We load the **four internet game types the GGL itself permits** under the GlüStV 2021: `Virtuelle Automatenspiele` (virtual slots), `Online-Poker`, `Sportwetten` (sports betting) and `Pferdewetten im Internet` (online horse betting), one licence record per holder and game type, as the whitelist writes them; a retail-only betting permit is not loaded. `license_category` is `remote` for all. A domain is a website the whitelist lists for the permit (a listing with a path, such as `pokerstars.de/sports`, links its host). - **Not in our data:** for Belgium, the land-based licence classes (`A`, `B`, `C`, `F2`) and the Loterie Nationale; for Germany, online casino table games licensed by a Land (Schleswig-Holstein, Bayern), lotteries (the state DLTB lotteries, lottery brokers, charity lotteries) and land casinos, though the whitelist names them. `/v1/check` answers `not_found` for such a site, which is a limit of our coverage and **not a finding that the site is unlicensed**. - **Statuses: `active` and `not_in_register` only**, for both. `active` = the licence is on the Commission's list of active licences (its class list is the licence's `status_source_url`) or on the GGL's whitelist (the whitelist page is). A Belgian licence the Commission still lists past its expiration date stays `active`, with that date as its `expiry_date`. `not_in_register` = it is no longer listed. Neither regulator publishes a list of warnings, suspensions, withdrawals or ended permits we can read as a status (the GGL's public warnings are not licence statuses), so `revoked`, `suspended` and `surrendered` are never set for BE or DE, and absence can only ever mean `not_in_register` — never "unlicensed". - **`license_number` for `BE` and `DE` is our reference**, as for KH, TGC, IOM, ON, SE and ES: `BE/APLUS/`, `BE/BPLUS/`, `BE/F1PLUS/` (the Commission publishes a dossier id, not a licence number) and `DE/SLOTS/`, `DE/POKER/`, `DE/SPORTS/`, `DE/HORSES/` (the whitelist prints no permit number; `` is made from the holder's name). So `license_reference_is_ours` is `true` on `/v1/check` and the licence endpoints, `license_number_kind` is `igregulator_reference` in exports, and `verdict_detail` never quotes the reference as a licence number. The references round-trip through `/v1/check?license_number=`. - `/v1/health/coverage`: a 24 h freshness SLA for both, and every loaded licence counts toward `domain_coverage`. `checked_jurisdictions` on a `/v1/check` miss includes `BE` and `DE` from each register's first load; `/v1/jurisdictions` lists them. `verification_url` is `null` for both — neither regulator publishes a page per domain; the class list or the whitelist is cited as the licence's `status_source_url`. - MCP: server instructions and tool descriptions name twelve jurisdictions, and `get_jurisdiction` accepts `BE` and `DE`. - Jurisdiction hubs: `app.igregulator.io/jurisdictions/belgium` and `app.igregulator.io/jurisdictions/germany`. - The [Terms of Service](https://igregulator.io/terms/) (§1) now name the Belgian Gaming Commission and the GGL among the registers we read. A coverage update only: nothing about your rights or obligations changed. ## 1.26.0 — 2026-10-15 A tenth jurisdiction: Spain. Additive — no field changed name or type. - **Spain (`ES`, country `ES`, currency `EUR`).** The Dirección General de Ordenación del Juego (DGOJ) is read nightly at 05:05 UTC: its list of operators with a licence, and each operator's own page there — 78 operators, 135 licences and 126 `.es` domains. We load Spain's **state-level online licences** under Ley 13/2011: **one licence record per general licence** (`license_type_raw` `Apuestas`, `Concursos` or `Otros juegos`), with the singular licences under it (`Ruleta`, `Black Jack`, `Póquer`, `Apuestas deportivas de contrapartida`, …) as its `license_types`, as the DGOJ writes them. `license_category` is `remote` for all. A domain is one the operator's DGOJ page lists. - **Not in our data:** the state lotteries — SELAE (Loterías y Apuestas del Estado) and ONCE — which are reserved by law and hold no DGOJ licence, and land-based and regional gambling, which Spain's autonomous communities license. `/v1/check` answers `not_found` for such a site, which is a limit of our coverage and **not a finding that the site is unlicensed**. - **Statuses: `active` and `not_in_register` only.** `active` = the licence is listed under "Licencias generales" on the operator's DGOJ page, which is the licence's `status_source_url`; `not_in_register` = it no longer is. The DGOJ states the end of a licence in prose resolutions and its sanctions register names fines, not licence statuses, so neither is read as a status: `revoked`, `suspended` and `surrendered` are never set for Spain, and absence can only ever mean `not_in_register` — never "unlicensed". - **`license_number` for `ES` is our reference**, as for KH, TGC, IOM, ON and SE: `ES/APUESTAS/`, `ES/CONCURSOS/`, `ES/OTROS-JUEGOS/`, where `` is the DGOJ's own page slug for the operator. The DGOJ publishes no licence number, so `license_reference_is_ours` is `true` on `/v1/check` and the licence endpoints, `license_number_kind` is `igregulator_reference` in exports, and `verdict_detail` never quotes the reference as a licence number. The references round-trip through `/v1/check?license_number=`. - `/v1/health/coverage`: a 24 h freshness SLA, and every loaded licence counts toward `domain_coverage`. `checked_jurisdictions` on a `/v1/check` miss includes `ES` from the register's first load; `/v1/jurisdictions` lists it. `verification_url` is `null` — the DGOJ's operator page lists an operator's domains, but it is not a page per domain; it is cited as the licence's `status_source_url`. - MCP: server instructions and tool descriptions name ten jurisdictions, and `get_jurisdiction` accepts `ES`. - Jurisdiction hub: `app.igregulator.io/jurisdictions/spain`. - The [Terms of Service](https://igregulator.io/terms/) (§1) now name the DGOJ among the registers we read. A coverage update only: nothing about your rights or obligations changed. ## 1.25.0 — 2026-10-13 Webhooks learn about domains. Nothing existing changes shape; everything here is an addition, with one widening noted below. ### Webhooks - **New event `domain.listed`.** Sent when we record domains under an operator for the first time — one event per operator per read, with all of them in `data.domains`. Each carries `first_seen_at`, the regulator's verification page where there is one, and `variant_of` for a numbered copy of another of the operator's domains. `operator_first_domains` says whether the operator had any domain on record before. See [webhooks](https://igregulator.io/docs/webhooks/#domainlisted-data). - **Endpoints filter by jurisdiction.** `POST` and `PATCH /v1/webhooks` accept `jurisdictions: ["CW", "AN"]`; the endpoint then receives only events about those registers. Empty or omitted = all, which is what existing endpoints keep. - **`register_first_load` on `license.issued` and `domain.listed`.** `true` during the first week we read a register, when every record in it is new to us whatever its age. - **Expiry events are no longer lost to a missed day.** `license.expiring_30d` / `_60d` / `_90d` were sent only on the exact day; if our emitter was down that day the event never came. They now follow within 7 days. **Widening:** `days_until_expiry` was always the window's number (30, 60, 90) and can now be lower on a late event — it is the days actually left. ## 1.24.0 — 2026-10-09 The leftovers of the 1.23.0 read-through. A successful API answer keeps its shape; one webhook payload field changes its meaning, and one error `code` changes. ### Webhooks - **`license.issued`: `data.issued_at` is the register's issue date, or `null`.** It carried the time *we* first recorded the licence — so a licence a register has listed since 2019, loaded by us last night, was announced as issued last night. That time is now in a new field, `data.first_seen_at` (ISO-8601 datetime). `issued_at` is `YYYY-MM-DD` where the register publishes an issue date and `null` where it does not. **If you parsed `issued_at` as a datetime, read `first_seen_at` instead.** This changes a field in place, which our policy otherwise forbids: the old value stated something we had not read. Events stored before this release keep their old shape in `GET /v1/watchlist/events`. - **What `license.issued` means is now written down:** we recorded the licence for the first time. It is sent when a regulator grants a licence and also, once per licence, when we start reading a register: every licence in it, however old. The event and when it fires are unchanged; `issued_at` against `first_seen_at` tells the two cases apart where the register publishes a date. ### Plan caps - **A plan cap holds under simultaneous requests.** `POST /v1/webhooks` and `POST /v1/watchlist/operators` counted and then inserted in two steps, so two requests sent at the same moment could both pass a cap with room for one; the same was true of two `PATCH /v1/webhooks/{id}` `active: true` at once, or one beside a create. Each account's cap-counted writes now run one at a time: the request over the cap gets the `403 quota_exceeded` it always should have. ### Errors - **A `409` carries `code: conflict`.** `POST /v1/watchlist/operators` for an operator already on the list (`watchlist_duplicate`) and `POST /v1/webhooks/{id}/test` for an endpoint with no valid signing secret (`no_active_secret`) answered `code: invalid_query` — the code of a malformed request, for a request that was well-formed. The status and `details.reason` are unchanged, and the reference has always said to branch on those. **If you matched `code === "invalid_query"` on a 409, match the status or the reason.** ### Export - **`HEAD /v1/export/{dataset}` no longer runs the export.** A `HEAD` was answered by doing everything a `GET` does and dropping the body: the query ran and one of the day's exports was used up. It now goes through the same checks (same `400`, `402`, `404`, `429`), reports `X-Export-Daily-*` as they stand, and answers `200` with the file's `Content-Type` and `Content-Disposition` — without `X-Export-Row-Count` and `X-Dataset-Generated-At`, which only a read can know. ### MCP - **`check_domain_batch`: one bad entry no longer fails the call.** The tool's input schema required every entry to be 3–253 characters, so a list holding one string that is not a hostname was refused whole, before the API saw it — while the tool's description (and `POST /v1/check/batch`) say such an entry is an error on its own row. The schema now asks for what the API asks for: 1–100 strings. - **An `X-Source` request header is dropped at the edge.** Our MCP server marks the calls it forwards with `X-Source: mcp`, and the API believed that header from anyone. It only ever labelled our own traffic statistics — no limit, quota or answer depended on it — and nothing you receive changes. ## 1.23.0 — 2026-10-08 Fixes from a read-through of the API for bugs. Nothing here changes the shape of a successful answer. ### Webhooks - **A finished delivery is closed.** Saving a delivered or abandoned outcome failed in the database, so the delivery stayed pending and was sent again on every worker tick. No endpoint was active while this was live; the first working one would have received the same `event_id` repeatedly. - **Deliveries go to the address that was checked.** The private-address check and the request used to resolve the hostname separately. The request now connects only to the addresses the check accepted; `::`, NAT64, 6to4, Teredo and multicast ranges are refused, and an IPv6 literal in brackets is judged as an address. Redirects are not followed, as before. - **Resuming an endpoint counts against your plan's cap.** `PATCH /v1/webhooks/{id}` with `active: true` answers `403 webhook_quota_exceeded` when other active endpoints already fill the cap. - **`GET /v1/webhooks/{id}/deliveries`** answers `404` for an id that is not one of your endpoints (it answered `200` with an empty list). ### `/v1/check` - **`as_of` on a name-only match** no longer reports the look-alike operator's licence history. `as_of` is resolved for a licence-number query or a host a register lists; otherwise `as_of.license_id` is `null`. - **`?as_of=` with no value is a `400`**, also on `/v1/operators/{slug}` and `/v1/licenses/{license_id}` (it was ignored and today's status was returned). - A `license_number` over 64 characters or an `as_of` over 40 is reported as such, with `details.field`, instead of "domain or license_number required". - **`POST /v1/check/batch`**: the body may be up to 64 KB. A row's `query.input` echoes a string cut to 300 characters, a number or boolean, or `null`. ### Search, input, limits - **`GET /v1/operators/search`** matches `q` literally — `%` and `_` are ordinary characters. A signed-in MCP connection gets the full `limit`, like a key. - **`/v1/operators/search/`** needs a key, like every other operator route. - **Bad input is a `400`.** A control character in a URL (`%00`) and an `offset` above 1,000,000 used to answer `500`. - **The keyless limit counts IPv6 per /64**, not per address. - **`trial` accounts are served as Starter**: the same endpoints and limits. The `402 endpoint_requires_paid_plan` and the `429 prelaunch_daily_cap` answers are gone. - CORS allows `PATCH` and `DELETE` from the allowed origins. ### MCP - The `check_domain` summary says "iGregulator reference" where the number is ours (KH, TGC, IOM, ON, SE), not "licence". ## Docs corrections — 2026-10-08 Documentation only — nothing changed on the wire, and the API version stays 1.22.0. The [API reference](https://igregulator.io/docs/api/) was re-read against the code, operation by operation; where the two disagreed, the reference now says what the API does. - **`GET /v1/health`** returns `{ status, service, checks: { postgres: { ok, latency_ms, error? }, redis: { … } }, timestamp }`. The reference described `checks` as a map of booleans and left out `service` and `timestamp`. - **`GET /v1/jurisdictions`.** The UKGC example showed `"Ancillary"`; the value is `"Ancillary Remote"`. `license_types` here is a hand-set reference list — for MGA and Kahnawake it does not use the words licence records carry (`Type 1`…, `Interactive Gaming Permit` / `CSPA`), so do not validate a licence against it. - **`GET /v1/check`** never sends `confidence: "none"`: on a miss the field is left out (only `/v1/check/batch` rows carry `"none"`). The verdict rules are now listed in the order they are applied — `name_match_only` is decided before the licence status is looked at. `verification_page_status` / `_read_at` are on domain matches only; `_meta.stale_jurisdictions` also comes with a related-host answer. - **Errors, per operation.** Each 400, 403, 404 and 409 now shows the body that operation sends (the 404 of `/v1/jurisdictions/{code}` showed "Operator not found", its 400 a hostname error). A keyed endpoint's 429 shows the key's limits (`monthly_request_limit_reached`, `per_second_limit_exceeded`), not the per-IP one. `code` and `details.reason` are listed in full — `method_not_allowed`, `forbidden` and `hostname_too_long` were missing — as are the extra `details` fields of limit errors (`limit`, `current_usage`, `reset_at`, `plan_tier`). - **Responses that were not listed.** `/v1/licenses/{license_id}/history` can answer 400 (an id that is not a UUID). The four endpoints that work without a key answer 402 when a key *is* sent and its account has no active plan. `/v1/stats` ignores a key and never answers 401, 402 or 429. - **Response headers** are listed on every operation: `X-RateLimit-*`, `X-RateLimit-Policy`, `RateLimit-Policy` and `X-Upgrade-URL` without a key; `X-RateLimit-*` (your monthly quota) and `X-Monthly-Quota-*` with one. - **`as_of`** on `/v1/operators/{slug}` and `/v1/licenses/{license_id}` takes the same two formats as on `/v1/check` — `YYYY-MM-DD`, or an ISO-8601 datetime *with* a UTC offset. The reference said only "ISO datetime supported". - **Webhooks.** A webhook URL may be `http://` or `https://` (the reference said https only); a refused URL carries one of six SSRF reasons, not always `private_ip_blocked`. Delivered and abandoned deliveries are kept **30 days**, not 7. `GET /v1/webhooks/{id}/deliveries` answers an unknown id with an empty list, and reads an out-of-range `limit` as a default instead of refusing it. Delivery status `failed` is in the vocabulary but nothing sets it. There is no replay endpoint. `webhook.endpoint_degraded` is not sent, so the rotate-secret page no longer tells you to subscribe to it. - **Watchlist.** `GET /v1/watchlist/events` with neither `since` nor `cursor` returns the last hour. On `GET /v1/watchlist`, `limit` is your plan's cap on watchlist size, not a page size (the endpoint returns at most 50 rows), and `license_status` is the status of *one* of the operator's licences, not a summary. - **Operators.** `country` is `null` for almost every operator. In `/v1/operators/search`, `_meta.total_sources` is always `1` (a placeholder), and `%` / `_` in `q` act as wildcards. `include_history` takes exactly `true` or `false`. - **Export.** The NDJSON response now shows the columns of each dataset; an unknown parameter, status or format is a 400, and the order of the checks is stated. - **Schemas** say which fields are always present (`required`), and nullable fields are typed as such (`/v1/health/coverage`, `/v1/stats`). - Every operation page printed `curl …/v1/check?domain=bet365.com` under its path, whatever the operation. Gone. - Guides: the regulatory-actions envelope has `_meta`; a keyless request refused with a 400 still spends one of the ten per hour; the export daily limit sends `Retry-After`; `X-Export-Dataset` is a response header; the batch Python sample no longer fails on an error row; a £5 million fine is `500000000` minor units (the webhook guide had one zero too many). ## 1.22.0 — 2026-10-08 Two new jurisdictions: nine registers, not seven. Additive — no field changed name or type. - **Sweden (`SE`, country `SE`).** The Swedish Gambling Authority's licence register (Spelinspektionen) is read nightly at 04:35 UTC from its Excel export. **Two licence types only**: commercial online gaming (`Kommersiellt online`) and betting (`Kommersiellt vadhållning`) — 139 licences over 80 holders, listing 197 hosts, on 2026-10-07. **Not loaded:** B2B software permits, land-based gaming, state gaming machines, ships, and public-benefit and state lotteries. Some of those lotteries run websites; `/v1/check` answers `not_found` for them, which is a limit of our coverage and **not a finding that the site is unlicensed**. Statuses: `active` (the register says `Aktiv`), `not_in_register` (the licence left the register) and `unknown` (any other status word). The register lists valid licences only and the Authority's supervision decisions do not name the holder in a field we can read, so `revoked` and `suspended` are never set for Sweden. `issued_date` and `expiry_date` are the register's. A domain is the host of each listed web address; the address as listed (`betsson.com/sv`) is in the licence's `raw_data.listed_urls`. - **Ontario (`ON`, country `CA`).** iGaming Ontario's operator directory is read nightly at 04:50 UTC — 49 operators and 84 gaming sites on 2026-10-07. The Alcohol and Gaming Commission of Ontario (AGCO) is the regulator that registers operators; iGaming Ontario contracts with them and publishes the only public list, which the AGCO's own list page points at. What we report is what that directory lists. Statuses: `active` (listed) and `not_in_register` (no longer listed) — Ontario publishes no revocation, suspension or exit in a form we read, and the directory gives no dates, no licence type and no number. A domain is the host of each listed site; the directory's link as published is in `raw_data.sites[].url`. The directory states an "accurate as of" date of its own and is served through a long cache; `last_read_at` is when we read it. - **`license_number` for `ON` and `SE` is our reference**, as for KH, TGC and IOM: `ON/IGO/` (the directory's own id for the operator), `SE/ONLINE/` and `SE/BETTING/`. Neither register publishes a licence or registration number, so `license_reference_is_ours` is `true` on `/v1/check` and the licence endpoints, `license_number_kind` is `igregulator_reference` in exports, and `verdict_detail` never quotes the reference as a licence number. The references round-trip through `/v1/check?license_number=`. - For both, absence from the register can only ever mean `not_in_register` — never `revoked`, never "unlicensed". - `/v1/health/coverage`: both have a 24 h freshness SLA (one request each a night), and every loaded licence counts toward `domain_coverage`. - `checked_jurisdictions` on a `/v1/check` miss includes `ON` and `SE` from each register's first load; `/v1/jurisdictions` lists both. `verification_url` is `null` for both — neither publishes a per-domain verification page. - MCP: server instructions and tool descriptions name nine jurisdictions, and `get_jurisdiction` accepts `ON` and `SE`. - Jurisdiction hubs: `app.igregulator.io/jurisdictions/ontario` and `/jurisdictions/sweden`. - The [Terms of Service](https://igregulator.io/terms/) (§1) now name iGaming Ontario's directory and Spelinspektionen among the registers we read. A coverage update only: nothing about your rights or obligations changed. ## 1.21.0 — 2026-10-01 - **Connect from claude.ai, ChatGPT and Claude Code by signing in — no key to paste.** Add `https://mcp.igregulator.io/mcp/account` as a custom connector and sign in with your iGregulator account; the app gets read-only licence lookups — all ten MCP tools — on your plan, counted against your monthly quota exactly as an API key's calls are. The endpoint is an OAuth 2.1 protected resource ([RFC 9728 metadata](https://mcp.igregulator.io/.well-known/oauth-protected-resource/mcp/account)); `app.igregulator.io` is its authorization server ([RFC 8414 metadata](https://app.igregulator.io/.well-known/oauth-authorization-server/api/auth)): dynamic client registration, PKCE (`S256` only), one scope (`mcp:read`), one-hour opaque access tokens, rotating refresh tokens, `iss` on every authorization response. Without a token it answers `401` with `WWW-Authenticate: Bearer resource_metadata="…", scope="mcp:read"`. It also accepts an API key. See [MCP server](https://igregulator.io/docs/mcp/#connect-from-claudeai-chatgpt-or-claude-code-sign-in--no-key). - **Connected apps** under [API keys](https://app.igregulator.io/api-keys#connected-apps): every app you approved, where it returns to, when you approved it and when it last got a token — and **Revoke**, which stops its tokens on the next request. - `/mcp` is unchanged: anonymous for `check_domain`, `search_operators`, `list_jurisdictions` and `check_coverage` (10/hour per IP), or an API key for all ten. `auth.md`, the MCP server card and `/.well-known/mcp.json` now describe both ways in. ## 1.20.0 — 2026-10-01 Fixes from a blind test by four context-free testers (a KYB analyst on the REST API, a developer integrating it, an assistant on the MCP server, and an edge-case tester). Every field that existed keeps its name and type. Answers that change for the same request are marked **Behaviour change**. ### `/v1/check` - **Behaviour change — the licence comes before the listing.** A licence that is not `active` is `licence_not_active` even when the regulator has also de-listed the domain. It used to be `domain_not_listed`, which hid a revocation behind "no longer listed". `verdict_detail` now says both. 344 stored hosts changed verdict this way (211 surrendered, 93 not_in_register, 18 revoked, 18 expired, 3 pending, 1 suspended). - **Behaviour change — `www.X` and `X` are one site.** Both spellings are looked up together, and both get the same answer, from the one the register lists (`match.matched_domain`). 712 licensed domains queried with `www.` and 24 `www.`-listed ones queried bare (`betfair.com`) used to answer `not_found` or `generic_term`. - **Behaviour change — new verdict `related_host_listed`, in place of `licensed` for other subdomains.** A host that isn't listed, on a domain where other hosts are, is never answered as licensed: a listing covers the host the regulator names (`zz-fake.unibet.com` used to answer `licensed`). - **One operator holds those hosts:** `match` describes that operator's host, with the new `match_type: related_host`. The verdict is `related_host_listed`, or `licence_not_active` / `domain_not_listed`. - **Several operators:** `match` is `null`, with the new `match_absence_reason: shared_registrable`. The verdict is `related_host_listed` if one of the hosts is listed now, else `not_found`. No name match is tried. - **Both cases:** the new `related_hosts[]` lists those hosts (`host`, `operator`, `operator_slug`, `jurisdiction`, `domain_status`; at most 10). The registrable domain is taken from the Public Suffix List with its private section, so customers of a shared hosting platform stay separate. See [which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain). - **Behaviour change — strict `as_of`.** Only a real `YYYY-MM-DD` date or an ISO-8601 datetime with a UTC offset is accepted. `2026/09/22`, `2026-02-30` and `2026-09-22T10:00` (no offset) now return `400 invalid_query` (`field: as_of`); they used to answer `200` for a different instant. Today's date now answers as of now; it used to be refused as "future". The same applies on `/v1/licenses/{id}` and `/v1/operators/{slug}`. - **`as_of` says which licence it answers for.** On `/v1/check`, `as_of` gains `scope: "licence"`, `license_id`, `license_number`, `operator` and, on a domain query, `link_note`: we do not record when a domain was linked to a licence, so the answer is that licence's status on the date. `verdict` still describes today. `verdict_detail` now opens with the answer for your date ("On 2026-03-01 we were not yet tracking … licence …, so its status then is unknown. Today: …"). - **Licence numbers.** Case, spaces and separators are ignored. - **Behaviour change:** a licence-number match is `match_type: license_number` (it was `domain_exact`). - An earlier UKGC version of a number we hold (`055148-R-331498-001`) finds the licence as the register lists it now. The new `superseded_number` (`{ requested, current, note }`) says so, and `verdict_detail` opens with the note. - **Hostnames.** - The input is trimmed and lowercased, one trailing dot is dropped, and a Unicode name is converted to punycode. `query.input` echoes what you sent when it differs. - A `domain` longer than 253 characters is `400 hostname_too_long`. - **Behaviour change — batch:** one bad entry (not a string, too long, not a hostname) is a per-row `error` (`invalid_input` / `invalid_hostname`) with `error_detail`, never a whole-request `400`. Every row carries `query.input`, and `related_hosts[]` where it applies. `GET /v1/check/batch` is now `405` with `Allow: POST` (it was `404`). - **`jurisdictions[]` rows** gain `license_reference_is_ours`, `matched_domain` and `register` (`{ jurisdiction, last_read_at, fresh, sla_hours }` — that link's own register freshness). - **Freshness wording.** `verdict_detail` dates the read that listed the domain. A stale register read gets its own clause, naming the register and the date of its last read. - **Scoping.** `checked_jurisdictions` and `_meta.stale_jurisdictions` now also come with a name match and a related-host answer. - **What the regulator's own page says.** `verification_page_status` and `verification_page_read_at` are added on `match` and `jurisdictions[]`: the licence status the page at `verification_url` printed at our latest read, verbatim (`Active`, `Revoked`, `VALID`), and when. A word that isn't "in force" means the page is not proof. It moves no status. A `cert.gcb.cw` link is served on `cert.cga.cw`. ### Licences, operators, jurisdictions - **`status_qualifier` and `license_reference_is_ours`** on `/v1/licenses/{id}`, `licenses[]` of `/v1/operators/{slug}`, and `/v1/operators/{slug}/licenses`, as on a `/v1/check` match. A provisional Curaçao licence no longer reads as plain `active` there. - **Behaviour change — dates:** `issued_date` and `expiry_date` are `YYYY-MM-DD`, the day the register prints. They were midnight-UTC timestamps (`2026-06-09T00:00:00.000Z`). - **`domains[]` on `/v1/operators/{slug}`** carry `verification_url` and `verification_page_status` / `verification_page_read_at`. - **Regulatory actions:** `/v1/operators/{slug}/regulatory-actions` adds `_meta`. - `_meta.note` says what the list does and doesn't mean. On an empty list, it says that is not a clean record. - `_meta.sources_read` lists the UKGC, MGA and CGA publications we read. - **Behaviour change:** `/v1/jurisdictions/{code}/operators` with an unknown code is `404 jurisdiction_not_found`. It was `200` with an empty list. - Jurisdiction codes and operator slugs resolve in any case (`ukgc`, `Flutter-UK-Limited`). - **Keyless 429:** `X-RateLimit-Reset` is the top of the next UTC hour (it was `hh:59:59`). The body adds `details.limit` and `details.reset_at`. - **Export:** the domains export's `standing` gains `licensed_provisional` (link and licence `active`, with a status qualifier). - **OpenAPI:** - `info.version` is the API version (`1.20.0`). - 401/402/429 are documented on every keyed operation. - 400s are documented on `/v1/licenses/{id}` and `/v1/operators/{slug}`. - Licence history notes no longer point at an internal file. ### MCP server - **Tool output uses tool names.** API sentences that named a REST route ("see GET /v1/check") now name the tool instead. - **`get_operator`:** - It returns up to 50 domains by default, listed links first, with `domains_total`, `domains_returned` and `domains_more`. `domains_limit` (up to 1,000) asks for more. - Its licences carry `status_qualifier` and `license_reference_is_ours`. - **Tool input:** - `get_jurisdiction` takes any case. - `get_license` given a licence number explains that it needs the UUID, and where to get it. - **New fields pass through** `check_domain` and `check_domain_batch`: `related_hosts`, `superseded_number`, `query.input`, `error_detail`, the new `as_of` and `jurisdictions[]` fields, and `verification_page_status`. - **Empty regulatory actions** lead with the `note`. ### Data — registers and corrections Corrections applied on 2026-10-01 at 01:19 UTC. Nothing was deleted: wrong events are marked `corrected_at` and stay on the record (see [corrections](https://app.igregulator.io/corrections)). - **755 `→ revoked` events withdrawn.** They sat on licences the regulator lists as given up: 711 UKGC licences the Commission lists as `Surrendered`, and 44 Curaçao licences "revoked at the request of the operator". `as_of` inside those windows now answers `corrected`. When a mapping fix re-reads the same wording as a different status, the UKGC and CW loaders now withdraw the old reading themselves. - **Curaçao "Assessment in progress".** 148 `active → pending` events, written under the old rule, are withdrawn; the CGA keeps such a licence in force. 13 licences still held `pending` are back to `active` (`provisional_under_assessment`), citing the latest OGL register read, each with a history row explaining why. - **95 register domains stored as URLs** (`https://49s.co.uk/`, `www.winkbingo.com/`) are re-keyed to their hostname, so they now match. Loaders normalise listings: scheme, case, trailing slash and dot, punycode. A listing of a page on a shared host stays a page listing and never licenses the bare host. - **Kahnawake:** the regulator website is `https://gamingcommission.ca`; the old value did not resolve. Loader changes take effect at each register's next read: - **Kahnawake:** `upstream_status` is `null` for KH licences. The KGC's lists publish no status, and "Active" was our word. - **Anjouan and Tobique:** dates now follow each read — AN expiry and issue dates and licence types, TGC expiry dates. Renewals were stuck a year behind (319 AN licences, 34 TGC). Tobique status provenance also moves on a read of an unchanged page. - **Malta:** a verification page whose status line and licence row name different statuses is `unknown`, with both words kept, rather than either one. - **Curaçao certificate pages:** the verifier records the status each page prints, which feeds `verification_page_status`. - **UKGC regulatory actions:** a "payment in lieu of a financial penalty" now fills `fine_amount_cents`. ### Docs - Every client example branches on `verdict` and quotes `verdict_detail`. - New pages or sections: - [which host answers](https://igregulator.io/docs/confidence/#which-host-answers--exact-www-then-the-rest-of-the-domain) - [hostnames we accept](https://igregulator.io/docs/confidence/#hostnames-we-accept) - what a [batch row](https://igregulator.io/docs/batch/) carries and leaves out - [`as_of` date formats](https://igregulator.io/docs/point-in-time/#date-semantics) - Keyless counters are per route, and MCP tools count against the route they call. - Only `corrected_at` means an event was withdrawn. - Example licence numbers are current, and the headline counts come from `/v1/stats`. ## 1.19.0 — 2026-09-30 - **Embeddable licence badge — `https://app.igregulator.io/badge/.svg`.** An SVG of the verdict `/v1/check?domain=` returns for the domain (same link, same rank), with the domain and the date of our last read of the record on it. Green only for an `active` licence on a domain link the regulator lists; amber for a provisional Curaçao licence, or when our last read is older than the register's freshness target (it then says "last verified"); grey for every other licence status (named as what it is), a de-listed domain ("no longer listed by Anjouan"; the regulator is named) and a miss ("not found in the 7 registers we cover"). No licence number for Kahnawake, Tobique or the Isle of Man, whose registers publish none. `?style=large` draws a two-line card with the licence number where there is one. Cached for an hour (`Cache-Control: public, max-age=3600, s-maxage=3600`); a non-hostname is a 400 badge. Free, no key. Every brand page has the embed code. See [Licence badge](https://igregulator.io/docs/badge/). ## 1.18.0 — 2026-09-30 Additive: every existing field keeps its name, type and meaning. - **`verdict` and `verdict_detail` on `/v1/check` and every batch row.** `verdict` is the answer in one field — `licensed`, `licensed_provisional`, `domain_not_listed`, `licence_not_active`, `name_match_only`, `not_found` or `generic_term` — derived from `status`, `domain_status`, `status_qualifier` and `confidence` by the rules on [confidence scoring](https://igregulator.io/docs/confidence/#verdict--the-answer-in-one-field). `verdict_detail` is one sentence to quote as it stands: it names the regulator, operator and licence, says when we last read the listing, scopes a miss to the registers we cover and names any that are stale, and never calls anything "unlicensed". In blind tests, agents given `status: active`, `confidence: high` and `domain_status: delisted` answered "licensed"; that response now says `domain_not_listed`. - **New `match` fields**: `regulator_name` (e.g. `Curaçao Gaming Authority`), `license_id` (the UUID for `/v1/licenses/{id}`), `license_reference_is_ours` (`true` for KH, TGC and IOM, whose `license_number` is our reference), `status_source_url` and `status_observed_at` (the status's own provenance, as on `/v1/licenses/{id}`), `matched_domain` (the host the register lists — it can differ from the query, e.g. `www.`) and `domain_last_listed_at` (when a regulator source last listed that host on the licence; `null` once it is de-listed — we keep no "de-listed since" time we could stand behind). - **`_meta` on `/v1/check`**: `checked_at` (when the answer was computed, on every response); `register` — `{ jurisdiction, last_read_at, fresh, sla_hours }` for the matched jurisdiction, the same freshness rule as `/v1/health/coverage`; and, on a miss or a name-only match, `stale_jurisdictions` — `[{ code, last_read_at }]` for the covered registers past their SLA, each of which weakens a "not found". `scraped_at` is unchanged; on a name match or a miss it has always been the request time, and is now documented as such. - **Batch**: each row carries `verdict`, `verdict_detail` and, when a jurisdiction matched, `_meta.register`; `_meta.checked_at` and `_meta.stale_jurisdictions` are sent once at the top. ## 1.17.0 — 2026-09-30 - **`GET /v1/export/{dataset}` — CSV/JSON export (Pro and above).** A whole dataset as one streamed file: `licences` (one row per licence), `operators` (one per legal entity) or `domains` (one per domain ↔ operator link), as CSV (`?format=csv`, the default) or NDJSON (`?format=json`, a `_meta` line first), optionally sliced by `?jurisdiction=` and `?status=`. Every row carries its status provenance (`status_source_url`, `status_observed_at`, `last_listed_at`, `not_listed_since`) and a `license_number_kind` that marks the KH, TGC and IOM numbers as iGregulator references. Headers: `X-Dataset-Generated-At`, `X-Export-Row-Count`, `X-Export-Daily-*`. Current state only: `as_of` is a `400` (`as_of_not_supported`), as is any parameter exports don't take. See [export](https://igregulator.io/docs/export/). - **Plans.** Pro gets 10 exports per UTC day, Business 100, Enterprise no cap — per account, shared with the dashboard's new Export button. An export counts as one request against the monthly quota. Starter and legacy trial keys get `402 payment_required`, `details.reason: "export_requires_pro"` (with `X-Upgrade-URL`); over the daily cap → `429 rate_limited`, `details.reason: "export_daily_limit_reached"`, with `Retry-After`. Pro isn't open yet — email founder@igregulator.io. - MCP: no export tool (a file download isn't a tool call). ## 1.16.0 — 2026-09-30 - **`GET /v1/stats` — headline counts, each with its definition.** Licence records (`licences.total`, `licences.by_status` — every status present, only `active` means licensed now); per jurisdiction its licences, active licences, when we last read its register and whether that read is inside its 24 h / 48 h window (the same rule as `/v1/health/coverage`); operators with at least one licence record; domains with an active link (`domains.linked`) and how many of those carry the regulator's own certificate or seal page (`domains.regulator_verified`); brand pages (the [/brands](https://app.igregulator.io/brands) directory's total); licence status changes a scraper read in the last 30 days (`status_changes_30d` — first sightings, data-only updates, withdrawn events, our correction migrations, and a read that only puts a status back after a withdrawn event are excluded); withdrawn events (`corrections`); the latest register read; and `generated_at`. The body's `definitions` says what each number counts. No key and no per-IP cap: every caller gets one payload, recounted at most every 10 minutes (`Cache-Control: public, max-age=300`). The [homepage](https://igregulator.io/) prints it under the hero. ## 1.15.0 — 2026-09-30 - **Isle of Man coverage.** The Isle of Man Gambling Supervision Commission (`IOM`, country `IM`) is the seventh jurisdiction. Its Online Gambling Licensee Register (isleofmangsc.com) is read nightly at 04:25 UTC: 53 licences, all `active` on the first read, across the three licence types the Commission names (`Full`, `Network Services`, `Software Supply`), and 50 domain links on 27 licensees. The register page is the source; the `.xlsx` it links is read as a cross-check, and a licence the two disagree on is `unknown` rather than a guess. A status other than `active` comes only from the Commission's Former Licence Holders page: `Surrendered` → `surrendered`, `Cancelled` (a cancellation under OGRA 2001 s.13) → `revoked`; any other wording sets nothing, and a licence that merely leaves the register becomes `not_in_register`. The Commission publishes no per-domain verification page, so `verification_url` is `null` for IOM. - **`license_number` for KH, TGC and IOM is our reference.** The Kahnawake, Tobique and Isle of Man registers publish no licence number (the Isle of Man publishes no company number either). The value we return — `KH/IG/`, `KH/CSPA/`, `TGC/B2C/`, `TGC/B2B/`, `IOM/OGRA/` — identifies the record in our API and round-trips through `/v1/check?license_number=`, but no regulator issued it: don't quote it as one. The field is unchanged; the OpenAPI spec now says so. - `/v1/health/coverage`: IOM's freshness SLA is 24 h, like the other single-fetch registers (AN, TGC) — it had fallen back to the 48 h default — and its `domain_coverage` counts `Full` licensees as the consumer-facing subset (14 of 16 have a domain). See [coverage methodology](https://igregulator.io/docs/coverage-methodology/). - `checked_jurisdictions` on a `/v1/check` miss has included `IOM` since the first load, and `/v1/jurisdictions` lists it with its licence types. - MCP: tool descriptions and server instructions name seven jurisdictions, and `get_jurisdiction` accepts `IOM`. - The [Terms of Service](https://igregulator.io/terms/) (§1) now name the Isle of Man GSC among the registers we read. A coverage update only: nothing about your rights or obligations changed. ## 1.14.1 — 2026-09-29 - **Fixed: `GET /v1/watchlist/events` was empty without a webhook endpoint.** It returned only events queued for your endpoints. It now returns every operator event (`license.*`, `regulatory_action.added`) for the operators on your watchlist, endpoint or not, plus anything queued for your endpoints, as before. Same envelope and `event_id` as the webhook. An event we have since withdrawn as wrong is not served. - **Fixed: each page of `/v1/watchlist/events` repeated the previous page's last event**, and with `limit=1` `has_more` never turned `false`. Saved cursors keep working. - **Fixed: a legacy `trial` key got `402` on endpoints that work without a key** (`/v1/jurisdictions`, `/v1/operators/search`, `/v1/health/coverage`). They now answer it, within the key's 1,000/day cap. - Limit and plan errors no longer send you to the pricing page (paid tiers are not open yet); they name founder@igregulator.io. ## Docs corrections — 2026-09-29 Documentation only — nothing changed on the wire. Pages that described the API differently from how it behaves now match the code. - **Rate-limit headers.** On keyed calls `X-RateLimit-Limit` / `-Remaining` / `-Reset` describe your **monthly** quota, not the per-second limit; `X-RateLimit-Policy` is only ever `tier=unlimited` or `tier=authenticated`, and `RateLimit-Policy` is sent on keyless calls only. See [rate limits](https://igregulator.io/docs/rate-limits/#response-headers). - **Enforcement.** Monthly quotas and per-second limits are enforced now. There is no 10,000/day cap on every plan: the daily cap is 1,000 per key and applies only to legacy `trial` keys, which are also limited to `GET /v1/check`. Business is 100 req/s, not uncapped. - **Errors.** [Error handling](https://igregulator.io/docs/errors/) is now the full `code` + `details.reason` matrix. The keyless 429 body is `{ reason: "quota_exceeded", suggestion }` (no `limit` / `window_seconds` / `upgrade_url`); a monthly quota 429 is `quota_exceeded`, not `rate_limited`; a rejected webhook URL is `400 invalid_query` with an SSRF `details.reason` (there is no `invalid_webhook_url` code). - **Webhooks.** `webhook.endpoint_degraded` is reserved and not sent — poll `GET /v1/webhooks/:id/deliveries?status=abandoned` and watch `X-iGregulator-Missed-Deliveries` instead. `license.status_changed` always has a `previous_status`, and is not sent for a move to `expired` (`license.expired`) or for a new licence (`license.issued`). `api_version` is a single value; per-subscriber pinning is not built. Seven attempts means the first plus six retries. `GET /v1/watchlist/events` returned only events queued for your active webhook endpoints (fixed in 1.14.1). The Python polling example now runs. - **Pagination and endpoints.** `/v1/operators/:slug/licenses` and `/v1/licenses/:id/history` are not paginated; search and regulatory actions default to 20 rows (max 100); `/v1/jurisdictions/:code/operators` is ordered by internal id, not by name. [Endpoints](https://igregulator.io/docs/endpoints/) now maps batch, regulatory actions, watchlist, webhooks and `/v1/health/coverage`. Operator search matches display name, slug and registered name — not trading names. - **MCP.** Rate-limit headers do not pass through the MCP server; the API's error body does, as `{ http_status, … }`. Quotas are per account, not per key. - **`Deprecation` is RFC 9745 and `Sunset` is RFC 8594** — we had cited RFC 9745 for `Sunset`. Neither header is sent today. - **`as_of` and `_meta`.** The AI-agents guide now lists every `knowledge` value (`corrected`, `no_such_license`, `no_license_resolved` were missing). `_meta.source_modified_at` is always `null` today. - **Numbers** refreshed to 2026-09-28: 6,597 licences, 5,638 operators, 12,009 domains, per-jurisdiction domain coverage. - **Verification-page cadence.** "Re-read nightly" overstated it: the verifier re-reads up to 500 certificates per jurisdiction per night, oldest first — every Tobique seal nightly, each Curaçao certificate every 2–3 days. - **Regulatory actions.** An empty `GET /v1/operators/:slug/regulatory-actions` means no action is linked to that operator, not a clean record — many published actions are not matched to an operator yet. - The 1.13.0 entry below said to dedupe on `type` + `data`; the envelope field is `event`. - **Freshness wording.** The docs intro no longer says "updated within 24 hours of regulator changes": every register is read daily, each status shows when we last read it, and live per-register freshness is at [igregulator.io/status](https://igregulator.io/status/). - **Removed links to our source repository**, which is private — they answered 404. The MCP page no longer calls the server open source; tool feedback goes to founder@igregulator.io. ## 1.14.0 — 2026-09-28 - **The MCP server works without a key.** `initialize` and `tools/list` no longer need an `Authorization` header, and four tools answer anonymously — `check_domain`, `search_operators` (top 3), `list_jurisdictions`, `check_coverage` — under the REST API's public limit of 10 requests per hour per IP (your IP, not the gateway's). The other six say in their descriptions that they need a free key, and answer an anonymous call with a structured error plus a `how_to_fix` pointing at signup. A malformed `Authorization` header is still a 401. The discovery manifests carry `auth.required: false` and an `anonymous` block. ## 1.13.3 — 2026-09-28 - **`status_observed_at` is the latest read that still says the status.** On `GET /v1/licenses/{id}` and the licences in `GET /v1/operators/{slug}`, it (and the evidence snapshot behind it) now moves every time we re-read `status_source_url` and find the same status. It used to stay at the read that first set the status for licences whose status comes from the main register — most UKGC licences cited April. Statuses from enforcement registers and MGA's verification pages already behaved this way. When a status *changed* is in `license_history`. ## 1.13.2 — 2026-09-27 - **`upstream_status` no longer contradicts `status`.** When `status` is `revoked`, `suspended`, `surrendered` or `expired` and the register's word says the licence is in force (`valid`, `Active`, `Licensed`, `Assessment in progress`…), `upstream_status` is now `null`. The status came from a different publication — an enforcement register, an advisory notice — and the register row had not caught up; served side by side, the word read as the regulator disagreeing. 10 licences were affected (Anjouan, Kahnawake, Curaçao). A negative word next to `active` is always shown. The raw register row is unchanged in `raw_data` on `/v1/licenses`. ## 1.13.1 — 2026-09-27 - **Refused and failed requests no longer count against the monthly quota.** Any 4xx (bad parameter, unknown slug) or 5xx response is not charged, and its quota headers report usage without it. The per-second burst limit still counts them. Until now every response was charged, although the quota was always meant to bill answers only. ## 1.13.0 — 2026-09-27 Additive on the wire. Two data corrections change what some Curaçao licences answer. - **New field `status_qualifier`** on `/v1/check` → `match` and on each `jurisdictions[]` entry, and on the MCP `check_domain` verdict. Set when `status` is right but not the whole truth; `null` otherwise. Today it has one value: **`provisional_under_assessment`** — a Curaçao licence the CGA register lists as "*date* Assessment in progress". Under the CGA's transitional regime a provisional licence past its stated term stays in force until the CGA communicates a final decision, so `status` stays `active` (and `expires_at` may be in the past). Treat it as licensed, flag that a decision is outstanding, and re-check. 263 licences carry it today. We considered answering `pending` and did not: that would tell you a licensed operator is not licensed. - **Curaçao: "Revoked as of …, at the request of the operator" is now `surrendered`** (43 licences), not `revoked`. The CGA's verb, the operator's act — the same distinction UKGC `Surrendered` got in 1.10.0. `upstream_status` keeps the CGA's exact words. A licence the CGA also lists in its Enforcement Register stays `revoked`. - **Webhooks: fixed a bug that re-sent the most recent event every minute.** The emitter's cursor lost microseconds and re-matched its own last row. If you received repeated events whose `data` was identical, they were duplicates of one event — dedupe on `event` + `data`. - **Provenance:** those 263 provisional licences now cite the latest register read as their status source, and 54 Curaçao status changes that were never written to licence history now have a history row saying so. ## 1.12.0 — 2026-09-20 Additive on the wire. One of these changes what `as_of` answers for a small set of licences — read the first bullet if you use point-in-time. - **`as_of` no longer serves back events we withdrew.** New `knowledge` value: **`corrected`**, with `status_as_of: null` and a `correction` object (`changed_at`, `withdrawn_status`, `corrected_at`, `note`). The 93 revocations we had inferred from a licence dropping off a register were corrected on 2026-09-17 (see 1.10.0), but history is never deleted here, and `as_of` read the latest event without checking whether it had been withdrawn — so a date inside one of those windows still answered `revoked` / `observed`. It now answers `corrected`. We do not fall back to the previous status either: that would report `active` for a period in which the register did not list the licence. If you branch on `knowledge === 'observed'`, nothing changes for you — `corrected` lands in your "unknown" path, which is where it belongs. See [point-in-time](https://igregulator.io/docs/point-in-time/). - **`/v1/check` — `_meta.source_url` now cites the page that published the matched licence's status**, as `/v1/licenses/{id}` has since 1.11.0. For most licences that is still the register. Where it is not — a Curaçao revocation from the CGA Enforcement Register, an MGA status from the company's verification page, a certificate-backed Curaçao licence — you now get that page instead of a register that never said so. - **Fixed: `?as_of=` on `/v1/check` was silently ignored.** The parameter has been documented since point-in-time shipped, but on `/v1/check` — and therefore on the MCP `check_domain` tool — it never reached the handler: the response carried no `as_of` object and `match.status` was simply today's. `/v1/operators/{slug}` and `/v1/licenses/{id}` were not affected. It works now, and a malformed or future `as_of` answers `400 invalid_query` instead of `200`. **If you relied on `/v1/check?as_of=` for a historical verdict, you were reading the current status — check for the `as_of` object in the response and re-run those lookups.** - **MCP: `get_operator` returns `license_id` on each licence.** It is the UUID `get_license` and `get_license_history` take, and no tool returned it, so those two were unreachable from an agent. Their descriptions now cover the provenance fields (`status_source_url`, `status_observed_at`, `not_listed_since`, `last_listed_at`) and corrected history events. ## 1.11.0 — 2026-09-18 Additive. Every status now says where **it** came from, and one billing bug is fixed. - **Per-status provenance on licences** — `status_source_url`, `status_observed_at` and `last_listed_at` on `GET /v1/licenses/{id}` and on the licences inside `GET /v1/operators/{slug}`. A licence's register (`source_url`) is often not where its status was published: a Curaçao revocation comes from the CGA Enforcement Register, an Anjouan suspension from the Authority's suspended-licences page, a Kahnawake termination from an advisory notice. `status_source_url` is that page; `last_listed_at` is when we last saw the licence in its register. - **`_meta.source_url` for a licence now cites the status's source** (falling back to the register when they are the same page). If you show "source" next to a status, this is the URL that actually published it. - **Evidence on history events** — `GET /v1/licenses/{id}/history` gains `snapshot_sha256` and `snapshot_fetched_at`: the hash of the bytes we read and when we first read them. It is the hash, not a file — checkable against your own copy of the regulator's page. `null` where we hold no stored copy — we started keeping the bytes on 2026-09-17. - **Enforcement statuses are read from the regulator's own publication on every run**, in every jurisdiction that has one: AGA's revoked / suspended lists, the CGA Enforcement Register, KGC's advisory notices, the MGA enforcement register. Tobique publishes none, so a Tobique licence can only ever be `active` or `not_in_register`. A "Notice of Cancellation" from the MGA is a notice, not a cancellation, and changes no status. - **MGA statuses are now read, not assumed.** Every MGA licence used to be `active` because the register "only lists live licensees". We now read the per-licence word the MGA publishes: `Licensed`/`Approved` → `active`, `Surrendered` → `surrendered`, `Expired` → `expired`, `Suspended`/`Voluntary Suspended` → `suspended` (verbatim wording in `upstream_status`). A handful of MGA licences changed status as a result. A word we have never seen maps to `unknown`, never to a default. - **`GET /v1/operators/search` — `_meta.scraped_at` is now when we last read a register about that operator** (its freshest licence check). It used to be the operator row's own timestamp, which only moves on a rename — so it claimed April for records verified three days ago. `_meta.freshness_range` follows. - **Fixed: authenticated calls to `/v1/operators/{slug}`, `/v1/licenses`, `/v1/watchlist` and `/v1/webhooks` were metered twice** (fixed 2026-09-16). The per-second limit behaved as half your plan's, and monthly quota was consumed 2× on those routes. If you saw unexplained 429s on operator lookups, that was us. September usage counters for affected keys may still read high until the 1 October reset. ## 1.10.0 — 2026-09-17 Additive on the wire, but **two status values changed on existing records**. If you store our `status` verbatim, re-read the licences you hold. - **Two new `license_status` values: `not_in_register` and `surrendered`.** Neither is a revocation, and neither is `active`. - `not_in_register` — the regulator's public register no longer lists the licence, since `not_listed_since`. Registers drop rows for many reasons — expiry, surrender, renumbering, a bad day on their side — and none of them is published, so we do not publish one either. - `surrendered` — the operator gave the licence up. UKGC publishes it verbatim ("Surrendered"); Kahnawake calls it a voluntary termination. - **What changed on existing records.** Licences that had dropped off a register were reported as `revoked`. That asserted an enforcement decision no regulator had made, and it was wrong: 80 licences across six jurisdictions carried it. They are now `not_in_register`, except the seven where a regulator does publish an explicit decision (those are `revoked` or `suspended`, sourced to that publication). Separately, 627 UKGC licences published as `Surrendered` were mapped to `revoked` and are now `surrendered`. Every corrected record's history says what happened and when, and the superseded event is kept and marked corrected rather than deleted. - **If you branch on status**, `if (status === 'revoked') block()` now misses these values — by design, because they are not revocations. Approve only on `active` and route the rest to a human. `GET /v1/licenses/{id}/history` gains `note`, `corrected_at` and `correction_note`; licences gain `not_listed_since`. - **`upstream_status` is `null`** when a licence is `not_in_register`: there is no current regulator wording for a licence the register does not list, and repeating the last one we read produced pages that said "revoked · upstream: valid". ## 1.9.0 — 2026-07-16 All additive — no breaking changes. - **`verification_url` on `/v1/check`.** Where the regulator publishes a per-domain verification page — a Curaçao certificate (`cert.cga.cw`) or a Tobique validation seal (`validate.thetgc.ca`) — `match.verification_url` links straight to it, so you can confirm any verdict against the primary source in one click. `null` where the regulator has no such page (UKGC, MGA, KH, AN). We re-read every stored verification page **nightly** and move `domain_status` only on a clean read of the regulator's own words — in both directions, never on a guess. - **Multi-jurisdiction domains: `jurisdictions[]` on `/v1/check`.** The data model is now many-to-many — a brand can be licensed by two legal entities in two jurisdictions at once (spinsup.com: Anjouan + Tobique; me88.com: Anjouan active + Curaçao). When a matched domain has more than one (operator, jurisdiction) pair, the response carries a best-first `jurisdictions[]` array with per-link `status`, `domain_status`, `domain_association`, and `verification_url`. Per-link status means "delisted in Curaçao" can no longer clobber "active in Anjouan" — both are true at once, and now both are visible. Absent for ordinary single-licence domains. - **Curaçao domain coverage 0% → 91%.** Curaçao publishes no bulk domain list, so we built the harvest around the regulator's own verification portal: the CGA `/token` registry (which lists each licence's complete approved-domain cluster — and is more complete than the published OGL PDF) plus archived certificate URLs. ~3,500 CW domains loaded, every one carrying its regulator `verification_url`, kept fresh by the nightly re-verification pass and a weekly `/token` discovery sweep. - **Tobique domain coverage 0% → live.** Same authoritative-seal approach against `validate.thetgc.ca`: one seal page lists the licence's whole registered-website cluster. Weekly headless-render discovery finds new seals (they're JS-injected in casino footers, invisible to plain fetches); the nightly shared verifier keeps every found seal current. Coverage is growing run by run — see [coverage methodology](https://igregulator.io/docs/coverage-methodology/). - **MCP `check_domain` output** now includes `verification_url` and (when present) the compact `jurisdictions[]` array, so agents cite the regulator's own page and never phrase a single-register verdict about a dual-licensed brand. - **OpenAPI**: `CheckMatch.verification_url`, the `DomainJurisdiction` schema and `CheckResult.jurisdictions` are documented in the spec. ## 1.8.0 — 2026-05-29 All additive — no breaking changes. - **Batch domain check.** New `POST /v1/check/batch` (authenticated) resolves up to 100 domains in one request; each result mirrors the single-check shape, `checked_jurisdictions` is returned once at the top, and a malformed hostname comes back as a per-row `error` without failing the batch. See [Batch domain check](https://igregulator.io/docs/batch/). - **`match_absence_reason` + `checked_jurisdictions` on `/v1/check`.** When `match` is `null`, the response now says *why* — `generic_term` (ambiguous label) vs `no_record_found` (checked, not present) — and lists the exact registers checked, so a "not licensed" verdict is scoped to coverage, never absolute. Present only on a miss. See [Confidence scoring](https://igregulator.io/docs/confidence/). - **Point-in-time lookups (`?as_of=`).** `/v1/check`, `/v1/licenses/{id}`, and `/v1/operators/{slug}` accept `?as_of=` to reconstruct a licence's status as of a past date from transition history — **strictly within our observation window** (`knowledge: observed | before_tracking | no_such_license`; never extrapolated before `tracking_since`; future dates `400`). See [Point-in-time lookups](https://igregulator.io/docs/point-in-time/). - **`domains[].association` on operator detail.** `GET /v1/operators/{slug}` now returns `direct` / `white_label` per domain (the column was always populated; the field was missing from the response). - **`/v1/check` domain matching now collapses www / apex / subdomain variants** via the Public Suffix List (registrable-domain fallback after exact-host), so `virginbet.com` and `www.virginbet.com` resolve to the same operator. Single-owner guard prevents over-matching shared white-label platform domains. - **Rate-limit headers on authenticated responses.** `X-RateLimit-Limit` / `-Remaining` / `-Reset` + `X-Upgrade-URL` now accompany authenticated `/v1/*` responses, not just the public path. - **OpenAPI completeness.** `GET /v1/operators/{slug}/regulatory-actions` and `GET /v1/health/coverage` are now in the spec; `ApiError.code` documents `payment_required` + `quota_exceeded`. - **MCP server caught up to the API.** New tools `check_domain_batch`, `get_operator_regulatory_actions`, `check_coverage`; `check_domain` + `get_operator` accept `as_of`. Tool output is now **lean** (a compact verdict, not the full REST payload) — and `match_absence_reason` + `checked_jurisdictions` are preserved on a miss, so agents never collapse "not found" into "unlicensed". See [MCP server](https://igregulator.io/docs/mcp/). ## 1.7.0 — 2026-04-29 - **Tobique Gaming Commission (TGC) re-enabled — 6th jurisdiction live.** The Cloudflare Worker proxy at `igregulator-scraper-proxy.scvgr-agent.workers.dev` now bridges btc → thetgc.ca, bypassing the IP-reputation block that paused us in 1.6.1. Same scraper code, same daily 04:15 UTC slot — only the transport changed (HMAC-signed POST to the Worker, the Worker fetches the upstream CF→CF). Scraper opts in via `USE_PROXY=true`; other scrapers unaffected. - **New `@igregulator/scraper-utils` package** carrying the reusable `proxyFetch` helper. Future jurisdictions whose upstream blocks our IP can opt in by setting two env vars (`USE_PROXY=true`, `PROXY_HMAC_SECRET=…`) and adding their hostname to the Worker's `ALLOWED_DOMAINS` list — no code change in the scraper itself. - **Migration 0018** re-inserts the TGC jurisdiction row removed in 0017. ## 1.6.1 — 2026-04-28 - **Tobique Gaming Commission (TGC) ingestion deferred.** PR #119 shipped the scraper, but the upstream `thetgc.ca` blocks the production origin IP at the Cloudflare edge (HTTP 403 across all UAs and header shapes). Other hosts return 200; this is an IP-reputation block on the Hetzner range. We've surgically rolled the public surfaces back to 5 jurisdictions while the scraper code stays merged. Re-enables cleanly once we land a Cloudflare Worker proxy on `scvgr-agent.workers.dev`. Investigation + path-forward documented in an internal write-up. ## 1.6.0 — 2026-04-28 - **Tobique Gaming Commission (TGC) added — 6th jurisdiction.** *(Reverted on the public surface — see 1.6.1. Scraper code stays merged for re-enable when the proxy lands.)* ~160 licences ingested daily from [thetgc.ca/license-holders/](https://thetgc.ca/license-holders/). License-type vocabulary `B2C` / `B2B`. License numbers are synthesised as `TGC//` (TGC doesn't publish IDs, same convention as KH). Cron 04:15 UTC; regulatory tier shifted +15 min. The fuzzy + domain-exact match flow on `/v1/check` includes TGC automatically. - **Domain coverage 0% out of the box for TGC.** Same upstream-doesn't-publish-websites bucket as Curaçao. Documented at [/docs/coverage-methodology](https://igregulator.io/docs/coverage-methodology/). Phase 4 WHOIS / Tranco enrichment will close this for both regulators in one pass. ## 1.5.0 — 2026-04-28 - **Trust-signals + positioning sweep.** New pages: [/about](https://igregulator.io/about/), [/terms](https://igregulator.io/terms/), [/privacy](https://igregulator.io/privacy/). Footer reorganised — Company column now lists About / Changelog / Terms / Privacy. Stale "MCP server (soon)" replaced with a live link. - **Legal disclaimer surfaced.** Now rendered as a callout at the top of [/docs](https://igregulator.io/docs/) and embedded in the OpenAPI spec's top-level `info.description` so agents reading the spec see it. Same wording: results are informational, customers responsible for their own compliance decisions. - **Hero copy iteration — pain-driven.** "iGaming licensing intelligence API" → **"Verify gambling operator licenses before they cost you."** Sub-copy mentions the buyer profiles (compliance teams, payment providers, affiliate networks) explicitly. Meta description, og:description, llms.txt opening line aligned. No data or endpoint changes. ## 1.4.0 — 2026-04-28 - **MGA domain enrichment.** The MGA scraper now fans out from each B2C license to the legacy `authorisation.mga.org.mt/verification.aspx` page and pulls the **Website URL(s)** field. Runs daily in the same 03:15 UTC slot as the primary register pass, ~30 s wall time at p-limit 5, no separate cron entry. Recovers ~110 B2C operator domains from a previous baseline of zero. B2B / CRP licenses are skipped — the upstream verification page omits the Website URL section for non-consumer-facing license classes. - **Coverage methodology update.** `/v1/health/coverage` now exposes `domain_coverage.{operators_with_domain, normative_operators, coverage_pct}` per jurisdiction. The denominator is operators where domain disclosure is normative for their license type — excludes B2B-only types (CSPA, B2B, Non-Remote, Ancillary, supplier permits, etc.) that don't have consumer-facing domains by design. Methodology change only; no data changes. **Affected metrics under the new denominator:** - **AN** — 98% of B2C operators have ≥1 domain - **CW** — 0% (upstream ceiling, no scraper-side work possible) - **KH** — 69% of Interactive Gaming Permit holders (gap is upstream non-disclosure) - **MGA** — 0% pre-1.4.0 enrichment, ~90% post - **UKGC** — 40% of `Remote`-license operators (upstream meaningful ceiling, the rest don't operate consumer sites) - **UKGC parser audit closed without code changes.** Time-boxed re-audit confirmed the ~17.3% raw figure is 96% of the 482-operator meaningful ceiling (Active + White Label distinct accounts in `domain-names.csv`). Inactive-domain rows aren't ingested deliberately to avoid stale `/v1/check` matches. Findings documented in an internal write-up. ## 1.3.1 — 2026-04-28 - **MCP server verified live in production.** End-to-end smoke against `https://mcp.igregulator.io/mcp`: `tools/list` returns all 7 tools, `check_domain` resolves UKGC + AN matches with correct confidence hints, `api_request_log` rows tagged `source='mcp'`. DNS via Cloudflare proxy, TLS via the existing Origin CA cert (extended to cover the new subdomain). Pricing page lists MCP support on Starter onwards. Claude Code path documented at /docs/mcp via `claude mcp add --transport http`. ## 1.3.0 — 2026-04-28 - **MCP server live at `mcp.igregulator.io`.** Streamable-HTTP transport (current MCP spec, SSE for streaming). Seven tools exposed: `check_domain`, `search_operators`, `get_operator`, `list_jurisdictions`, `get_jurisdiction`, `get_license`, `get_license_history`. Bearer-token auth — same API keys as the direct HTTP API; tool calls forward to api.igregulator.io and count against your existing per-key quota. Setup walkthrough at [/docs/mcp](https://igregulator.io/docs/mcp/). Discovery manifests at `/.well-known/mcp.json` on all three iGregulator surfaces. - **`api_request_log.source` column added.** New requests are tagged `http` or `mcp` so admin analytics can split MCP usage from direct-HTTP usage. No client-visible change. ## 1.2.0 — 2026-04-28 - **Anjouan jurisdiction live.** 5th regulator: Anjouan Gaming Authority (AGA), ~1,275 licences ingested daily from [anjouangaming.com/license-register/](https://anjouangaming.com/license-register/). License-type vocabulary `B2C` / `B2B` / `White Labeling`. The fuzzy + domain-exact match flow on `/v1/check` includes AN automatically — no client-side change needed. Coverage table at [/docs/](https://igregulator.io/docs/) refreshed. - **Marketing copy correction.** Hero / meta / llms.txt now say "Daily-refreshed … updated within 24 hours" instead of "Real-time." The data was never real-time; the new wording matches what scrapers actually deliver (cron 03:00–04:00 UTC, depending on jurisdiction). ## 1.1.0 — 2026-04-28 - **Flat field removal on `/v1/check`.** Top-level legacy keys (`licensed`, `jurisdiction`, `license_number`, `operator`, `status`, `expires_at`) **removed** along with the `Deprecation` / `Sunset` / `Link` headers. Read `match.*` instead. Removed ahead of the announced 2026-05-19 sunset because no customers are integrated against the flat shape yet. - **Pre-launch surface gating.** `trial` keys are now restricted to `/v1/check` only (1,000/day per-key cap). Other authenticated endpoints return `402 payment_required` with `details.reason=endpoint_requires_paid_plan`. Behaviour lifts automatically once `PRELAUNCH_DAILY_CAP=0` (post-Stripe). - **Webhook retention 7 → 30 days.** `webhook_deliveries` history now matches the `webhook_events` replay window. Existing rows live longer immediately; nothing to migrate. - **Generic-label blocklist on `/v1/check` widened.** Now substring-match instead of exact-match — `bestcasino.com`, `casino-bonus.com` return `confidence: low` like `casino.com` already did. Licensed brands containing a generic keyword (`bet365.com`, `pokerstars.com`) still resolve via the domain hit before the gate runs. - **OpenAPI spec** documents the per-jurisdiction `license_types` vocabulary inline so client-side enums can be coded against the audited values (UKGC `Remote`/`Non-Remote`/`Ancillary Remote`, MGA `Type 1-4`/`B2B`/`B2C`, CW `B2C`/`B2B`, KH `Interactive Gaming Permit`/`CSPA`). ## 1.0.0 — 2026-04-19 **Initial public docs release.** - **/v1/check** response shape: `{ query, match, alternatives, confidence }`. `match.confidence` ∈ `high | medium | low`, `match_type` ∈ `domain_exact | trading_name_fuzzy | name_similarity`, `domain_association` ∈ `direct | white_label | null`. - **Public endpoints**: `/v1/check`, `/v1/jurisdictions`, `/v1/operators/search`. Rate-limited 10 req / IP / hour. - **White Label ingestion** live for UKGC — domains with `Status = 'White Label'` in the UKGC register now load with `association = 'white_label'` on the domain row. - **OpenAPI 3.1 spec** available at [api.igregulator.io/openapi.json](https://api.igregulator.io/openapi.json) (canonical source; Scalar + starlight-openapi both consume it). The old Swagger UI on `api.igregulator.io/docs` now 301-redirects to [/docs/api/](https://igregulator.io/docs/api/) — unified docs at [/docs](https://igregulator.io/docs/) supersede it. ## 0.3.0 — 2026-04-17 - **Regulatory actions** surfaced on the operator detail page. Cross-jurisdiction feed: UKGC Public Register, MGA Decisions, CGA Warnings. - New endpoint: `/v1/operators/:slug/regulatory-actions` (authenticated). ## 0.2.0 — 2026-04-08 - Kahnawake Gaming Commission jurisdiction added. - Curaçao scraper migrated to the post-LOK OGL PDF source. - Licence category harmonisation: `remote | non-remote | ancillary | permit | other`. ## 0.1.0 — 2026-03-28 - First operational release. UKGC-only coverage. - Core schema: `operators`, `licenses`, `domains`, `jurisdictions`. - Dashboard lives at `app.igregulator.io`.