# UK Gambling Commission licence check API: domains, operators and changes

> Check websites against the UK Gambling Commission register in bulk: matching domain, licensee, licences and a clear licensed_now answer, with history since December 2023.

Source: https://cozybit.dev/tools/uk-gambling-licences/

Paste websites or URLs and get, for each one, the matching registered domain, the operator that holds it, its licences and a clear `licensed_now` answer. Also look up operators and follow new, suspended, revoked and surrendered licences.

[Try it in Apify Console](https://apify.com/cozybit/uk-gambling-licence-register)

- [0.00001 USD per event](https://apify.com/cozybit/uk-gambling-licence-register/pricing), trial price until 31 Dec 2026
- Errors are never charged
- Free Apify plan: 100 rows per run

## What you get

- **Domain checks:** subdomains and full URLs match their registered parent domain.
- **Operators:** every licensee with licences, activities, trading names and domains in one row.
- **Changes:** licences added, suspended, revoked or surrendered, and domains and brands added or dropped.
- **History the register no longer shows:** everything seen since 31 December 2023, including dropped domains.

## Who uses it

- **Payment providers and banks**: Check a merchant's websites before onboarding, and re-check daily.
- **Affiliates and comparison sites**: Confirm every promoted brand holds an active licence.
- **Ad networks**: Check advertisers' landing pages against the register.
- **Compliance teams**: Follow suspensions and revocations.

## Input

| Field | Key | What it does | Default |
|---|---|---|---|
| What to return | `mode` | `operators`, `domains` or `changes` | operators |
| Domains or website URLs | `domains` | Domains mode: websites to check | - |
| Business or trading names | `names` | Parts of names | all |
| Statuses, types, activities | `licenceStatuses`, `types`, `activities` | Filters | all |
| Changes after date | `changedSince` | Changes mode | newest update only |
| Only new since last run | `onlyNewSinceLastRun` | For schedules | off |
| Maximum charged rows | `maxResults` | Stop after this many rows | 1,000 |

### Check one website (this one is not on the register)

**Input**

```json
{
  "mode": "domains",
  "domains": ["example-casino.test"]
}
```

We ran this exact input on 2 Dec 2026: 1 record, run status `SUCCEEDED`.

#### Every licence suspended or revoked since 1 September 2026

**Input**

```json
{
  "mode": "changes",
  "changedSince": "2026-08-31",
  "entityTypes": ["licence"],
  "newStatuses": ["Suspended", "Revoked", "Revoked - Non Payment of Fee"]
}
```

## Output

One record per item in the run's dataset, exportable as JSON, CSV or Excel.

**Example record**

```json
{
  "query": "https://sports.example-bet.test/en/",
  "match": "parent",
  "matched_domain": "example-bet.test",
  "domain_status": "Active",
  "licensed_now": true,
  "account_number": "000000",
  "licensee": "Example Gaming Ltd",
  "licences": [
    {
      "licence_number": "000000-R-000000-001",
      "type": "Remote",
      "status": "Active",
      "activities": [
        {
          "activity": "General Betting Standard - Real Event",
          "start_date": "2021-05-04",
          "end_date": null
        }
      ],
      "start_date": "2021-05-04",
      "end_date": null,
      "on_register": true
    }
  ],
  "multiple_accounts": false,
  "first_seen": "2023-12-31",
  "last_seen": "2026-12-02",
  "on_register": true,
  "register_date": "2026-12-02",
  "history_starts": "2023-12-31"
}
```

| Field | What it means |
|---|---|
| `match` | `exact`, `parent` (a subdomain matched its registered domain) or `none`. |
| `licensed_now` | `true` when the domain is active or white label for a licensee with an active Remote licence today. |
| `first_seen / last_seen / on_register` | When we first and last saw the entry, and whether today's register lists it. |
| `accounts` | Every licensee that lists the domain, when there are several. |

Contains public sector information licensed under the Open Government Licence v3.0, from the Gambling Commission's register of gambling businesses. Historical copies from the Internet Archive.

## Use it from your code, agent or workflow

Every example runs the same input. Get your API token in Apify Console under *Settings, API & Integrations*, and keep it in the `APIFY_TOKEN` environment variable.

**curl**

**Synchronous run (token in APIFY_TOKEN)**

```bash
curl -sS --max-time 310 -X POST \
  "https://api.apify.com/v2/acts/wWvHi6YQHyk6X9raL/run-sync-get-dataset-items?maxTotalChargeUsd=0.10" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "domains", "domains": ["example-casino.test"]}'
```

**Python**

**apify-client 3.x**

```python
# pip install apify-client
import os
from decimal import Decimal

from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("wWvHi6YQHyk6X9raL").call(
    run_input={
        "mode": "domains",
        "domains": ["example-casino.test"],
    },
    max_total_charge_usd=Decimal("0.10"),  # spend cap for this run
)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item.get("query"), item.get("match"), item.get("licensed_now"))
```

**JavaScript**

**apify-client 2.x, Node 18+**

```javascript
// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('wWvHi6YQHyk6X9raL').call(
  {
    mode: 'domains',
    domains: ['example-casino.test'],
  },
  { maxTotalChargeUsd: 0.1 }, // spend cap for this run
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.query, item.match, item.licensed_now);
```

**AI agents (MCP)**

**MCP client configuration**

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=cozybit/uk-gambling-licence-register"
    }
  }
}
```

Works in any MCP client that accepts a remote server URL ([Apify's MCP docs](https://docs.apify.com/platform/integrations/mcp)). Clients with OAuth sign you in to Apify on first use; others send `"headers": {"Authorization": "Bearer <APIFY_TOKEN>"}`. The tool is called `cozybit--uk-gambling-licence-register`. Try a prompt such as: Are these five websites covered by a UK Gambling Commission licence? More in [AI agents and MCP](https://cozybit.dev/integrations/ai-agents/).

**n8n, Make, Zapier**

Apify has its own apps for the main automation platforms. Point them at this actor's ID `wWvHi6YQHyk6X9raL` and paste the input JSON.

- **n8n:** the Apify node, operation *Run an Actor and get dataset*.
- **Make:** the Apify module *Run an Actor*, then *Get Dataset Items*.
- **Zapier:** the Apify action *Run Actor*, or the trigger *Finished Actor run* for scheduled runs.

Step-by-step setup: [n8n, Make and Zapier](https://cozybit.dev/integrations/no-code/).

**Apify Console**

1. **Open the [Store page](https://apify.com/cozybit/uk-gambling-licence-register)** and choose *Try for free*. Apify asks you to sign in or create a free account.
2. **Paste the input** into the JSON tab of the input form, or fill in the fields.
3. **Start the run**, then open the dataset and export it as JSON, CSV or Excel. Save the input as a task to schedule it.

- `run-sync-get-dataset-items` waits at most 300 seconds, then answers HTTP 408. Keep synchronous calls small and start an asynchronous run for batches (below).
- `maxTotalChargeUsd` caps what one run may charge; the run stops cleanly when it is reached.
- Send the token in the `Authorization` header, never as `?token=` in the URL, where it ends up in logs.
- The ID `wWvHi6YQHyk6X9raL` never changes; the name `cozybit/uk-gambling-licence-register` works too.

**Batches and schedules: start a run, wait, read the results**

**Asynchronous run, results as CSV**

```bash
# 1. Start a run; the answer comes back at once
curl -sS -X POST "https://api.apify.com/v2/acts/wWvHi6YQHyk6X9raL/runs?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d @input.json
# The answer's data.id is RUN_ID and data.defaultDatasetId is DATASET_ID.

# 2. Wait up to 60 s per call until data.status is SUCCEEDED
curl -sS "https://api.apify.com/v2/actor-runs/RUN_ID?waitForFinish=60" \
  -H "Authorization: Bearer $APIFY_TOKEN"

# 3. Read the records as JSON, CSV or Excel (format=json, csv or xlsx)
curl -sS "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv" \
  -H "Authorization: Bearer $APIFY_TOKEN" -o results.csv
```

Save a changes input with `onlyNewSinceLastRun` as a task and schedule it daily after 08:00 UK time. Schedules live in Apify Console under *Schedules*; a webhook or the no-code apps can pick up each finished run.

## Price

You pay per event, through your Apify account, with platform costs included. The live price is on the [Store page](https://apify.com/cozybit/uk-gambling-licence-register/pricing): **0.00001 USD per event, a trial price until 31 Dec 2026**.

| Event | What counts | Trial price until 31 Dec 2026 | Planned post-trial rate |
|---|---|---|---|
| `domain-check` | Domain check (including "not on the register") | 0.00001 USD (0.01 USD per 1,000) | 5.00 USD per 1,000 |
| `operator` | Operator | 0.00001 USD (0.01 USD per 1,000) | 3.00 USD per 1,000 |
| `change` | Register change | 0.00001 USD (0.01 USD per 1,000) | 5.00 USD per 1,000 |

### What each outcome costs

| Outcome | What it is | Charged? |
|---|---|---|
| Domain check | Every checked website, whether `match` is `exact`, `parent` or `none` | Charged |
| Operator | A licensee with its licences, brands and domains | Charged |
| Change | A licence, domain, brand or business change | Charged |
| `error` | A failed check | Free |

**Not charged:** Errors. Every checked domain counts, including "not on the register": that answer is part of the check.

**Apify's free plan** (no card) returns up to 100 rows per run. You can cap any run's cost with `maxTotalChargeUsd`.

### What typical jobs cost

| Example | Charged events | At the trial price | At the planned rate |
|---|---|---|---|
| Check 200 merchant websites | 200 × `domain-check` | 0.002 USD | 1.00 USD |
| Every licensed operator with licences, brands and domains | 2,600 × `operator` | 0.026 USD | 7.80 USD |

The post-trial rate is planned, not scheduled: the trial may be extended, Apify notifies users before any price increase, and the Store page always shows the price that applies. See [how pricing works](https://cozybit.dev/pricing/) and the [cost estimator](https://cozybit.dev/pricing/#estimate).

## Reliability

19 / 19 runs succeeded

All 19 runs on the Apify platform succeeded. They checked exact domains, subdomain URLs, domains that left the register and unknown domains, plus operator searches, change feeds, daily-alert repeats and the free-plan limit. A domain check takes 2 to 3 seconds. Archived copies had to pass checks; one damaged copy was excluded so it cannot produce false removals.

Problems and questions go to the actor's Issues tab on Apify.

## Limits

- Great Britain only (Gambling Commission operator licences); personal and premises licences are not included.
- A site missing from the register is not proof of illegal operation, and a listed domain is not proof that every product on it is licensed.
- Dates are register dates. Before 18 November 2026 changes are grouped by the archived copies available.

## Questions

**What does licensed_now: false with match: exact mean?**

The domain was on the register, but today it is inactive or its licensee has no active Remote licence.

**Does removed mean revoked?**

No. Revocations, suspensions and surrenders appear as `status_changed`; `removed` means the entry left the register files.

## Related

[Guide How to check whether a gambling website is licensed in Great Britain](https://cozybit.dev/guides/check-uk-gambling-licence-by-domain/)

### [UK Visa Sponsor Register](https://cozybit.dev/tools/uk-visa-sponsors/)

Registers and public files

Every licensed sponsor and every change since July 2021.

- Official files or APIs
- Change alerts

per registration or change

### [Peppol Directory Lookup](https://cozybit.dev/tools/peppol-directory/)

Registers and public files

Who can receive Peppol e-invoices, through which provider, and who joined today.

- Official files or APIs
- Change alerts

per lookup, participant or change

## Try UK Gambling Licence Register on the free Apify plan

No card needed. Errors are never charged, and every run can carry a spend cap.

[Try it in Apify Console](https://apify.com/cozybit/uk-gambling-licence-register)
