# UK Operator Licence Scraper – HGV & Bus Operators (DVSA VOL) (`devteamdrew/uk-operator-licences`) Actor

Export every GB HGV (goods vehicle) and bus/coach (PSV) operator licence from the Traffic Commissioners' VOL register: operator, company number, vehicles and trailers authorised, operating centres, transport managers, licence type. Filter by area, postcode, fleet size. Official OGL data, no key.

- **URL**: https://apify.com/devteamdrew/uk-operator-licences.md
- **Developed by:** [Andrew Moffat](https://apify.com/devteamdrew) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## UK Operator Licence Scraper – HGV & Bus Operators (DVSA VOL)

Export every GB HGV (goods vehicle) and bus/coach (PSV) operator licence from the Traffic Commissioners' VOL register: operator, company number, vehicles and trailers authorised, operating centres, transport managers, licence type. Filter by area, postcode, fleet size. Official OGL data, no key.

**UK Operator Licences Scraper** by Moxie: fast, reliable and polite, built on official/public data sources.

### What can it do?

- Lead generation for suppliers to hauliers and coach firms: fuel cards, telematics, tachograph analysis, insurance, tyres, truck finance
- Find new HGV operators each week (schedule with incremental mode and sort by newest)
- Map fleets by postcode for depot, workshop or truck-stop site selection
- Recruitment of HGV drivers and transport managers
- Enrich Companies House data with fleet size

### Data source

The Traffic Commissioners' goods and public service vehicle operator licence records (Vehicle Operator Licensing, VOL), published weekly every Sunday on data.gov.uk by the DVSA under the Open Government Licence v3.0. No login, no key.

### Features

- **Pay only for results** (pay-per-event pricing, no monthly rental)
- **Incremental mode**: scheduled runs return only items you haven't received before
- **LLM-ready output**: optional compact Markdown per item for RAG / AI agents
- **Polite rate limiting** with automatic retries and backoff
- Clean, flat JSON you can export as CSV, Excel, JSON or via API

### Input example

```json
{
  "trafficAreas": [
    "North West of England"
  ],
  "licenceCategories": [
    "goods"
  ],
  "minVehicles": 5,
  "maxItems": 20
}
```

### Output example

```json
{
  "id": "OC2094938",
  "licenceNumber": "OC2094938",
  "url": "https://www.vehicle-operator-licensing.service.gov.uk/search/find-lorry-and-bus-operators/?searchBy=licNo&search=OC2094938",
  "category": "goods",
  "licenceType": "Standard International",
  "status": "valid",
  "trafficArea": "North West of England",
  "operatorName": "JPHTRANSPORT LTD",
  "operatorType": "Limited Company",
  "companyNumber": "17428927",
  "companyUrl": "https://find-and-update.company-information.service.gov.uk/company/17428927",
  "correspondenceAddress": "5 MONTREAL ROAD LIVERPOOL GB L27 7DD",
  "correspondencePostcode": "L27 7DD",
  "operatingCentres": [
    "66 LONG LANE YARD 1 FAZAKERLEY LIVERPOOL FAZAKERLEY GB L9 7BN"
  ],
  "operatingCentrePostcodes": [
    "L9 7BN"
  ],
  "vehiclesAuthorised": 5,
  "trailersAuthorised": 5,
  "vehiclesSpecified": 0,
  "trailersSpecified": 0,
  "continuationDate": "2031-10-31",
  "transportManagers": [
    "JANE DOE"
  ],
  "directorsOrPartners": [
    "JANE DOE (Director)"
  ]
}
```

### Pricing

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| Operator licence (`result`) | $0.002 | $0.0018 | $0.0016 | $0.0014 |
| Actor start | $0.003 per run | $0.003 | $0.003 | $0.003 |

Paid Apify plans get automatic discounts (Bronze -10%, Silver -20%, Gold -30%) on results.

**Example:** 1,000 results ≈ $2.00 + $0.003 start fee. Apify platform usage is included in the price.

Benchmark: scrapersdelight (6 users) and solidfetch (3 users) are the only dedicated operator licence actors (Apify Store, 6 Nov 2026).

### Use via API or MCP

```bash
curl -X POST "https://api.apify.com/v2/acts/devteamdrew~uk-operator-licences/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' -d '{"trafficAreas": ["North West of England"], "licenceCategories": ["goods"], "minVehicles": 5, "maxItems": 20}'
```

AI agents (Claude, Cursor, etc.) can call this actor through the Apify MCP server: add `https://mcp.apify.com/?actors=devteamdrew/uk-operator-licences` as an MCP server.

### FAQ

**Where does the data come from?**\
The Traffic Commissioners' public operator licence register (VOL), exported weekly by the DVSA under the Open Government Licence.

**What do the licence types mean?**\
Standard National and Standard International licences carry goods for hire or reward (in GB only, or also abroad); Restricted licences carry the holder's own goods. P-licences are buses and coaches (PSV).

**How do I find new operators?**\
Leave sort on `newest` (licence numbers are issued sequentially) and turn on incremental mode on a weekly schedule: you only get licences you haven't seen before.

**Does it include personal data?**\
Transport manager and director/partner names are published on the register; turn `includePeople` off to drop them. Sole traders are excluded by default.

**Can I schedule it?**\
Yes. Use Apify Schedules together with incremental mode to receive only new items.

**Something broke?**\
Open an issue on the actor's Issues tab; we monitor nightly and usually fix within 24 hours.

### Ready-made examples

Open one of these pre-filled tasks and click Try for free:

- [Get newly issued HGV operator licences](https://apify.com/devteamdrew/uk-operator-licences/examples/new-hgv-operator-licences)
- [List the largest HGV fleets in Great Britain](https://apify.com/devteamdrew/uk-operator-licences/examples/largest-hgv-fleets-uk)

### Related actors

- [Bluesky Scraper – Posts, Profiles & Search](https://apify.com/devteamdrew/bluesky-scraper)
- [UK Companies House Scraper – Companies & Directors](https://apify.com/devteamdrew/companies-house-scraper)
- [UK Planning Applications Scraper – 400+ Councils & Postcodes](https://apify.com/devteamdrew/uk-planning-applications)
- [Hacker News Scraper – Stories, Comments & Jobs](https://apify.com/devteamdrew/hacker-news-scraper)
- [npm Package Scraper – Downloads & Dependencies](https://apify.com/devteamdrew/npm-package-scraper)
- [GitHub Trending Scraper – Repos, Stars & Developers](https://apify.com/devteamdrew/github-trending-scraper)
- [Mastodon Scraper – Fediverse Hashtags, Accounts & Trends](https://apify.com/devteamdrew/mastodon-scraper)
- [Lemmy Scraper – Posts, Comments & Communities (Fediverse)](https://apify.com/devteamdrew/lemmy-scraper)
- [SEC EDGAR Scraper – 10-K, 8-K & Form D Funding Filings](https://apify.com/devteamdrew/sec-edgar-scraper)
- [arXiv Scraper – Paper Search, Abstracts & Authors](https://apify.com/devteamdrew/arxiv-scraper)
- [UK Government Tenders Scraper – Contracts Finder, Find a Tender](https://apify.com/devteamdrew/uk-public-tenders)
- [UK CQC Care Homes & Providers Scraper – Ratings & Care Leads](https://apify.com/devteamdrew/uk-cqc-care-providers)
- [SAM.gov Scraper – Federal Contract Opportunities, No API Key](https://apify.com/devteamdrew/sam-gov-opportunities)
- [USAspending Federal Awards Scraper – Contracts & Grants](https://apify.com/devteamdrew/usaspending-awards)
- [EU Tenders Scraper – TED Public Procurement Notices](https://apify.com/devteamdrew/eu-ted-tenders)

### Legal and GDPR

This actor only collects publicly available data from official or open APIs and respects their rate limits and terms of use.

Results may contain personal data (e.g. names, handles). You are responsible for having a lawful basis under GDPR/UK GDPR and similar laws to process it, and for using the data in line with the source platform's terms. Do not use it for spam or for profiling individuals.

***

See real sample rows, FAQs and ready-made feeds at [rowsift.co.uk](https://rowsift.co.uk/operator-licences/?utm_source=apify\&utm_medium=readme\&utm_campaign=uk-operator-licences\&utm_content=footer).

# Actor input Schema

## `trafficAreas` (type: `array`):

Which Traffic Commissioner areas to include (only these files are downloaded). Empty = all of Great Britain.

## `licenceCategories` (type: `array`):

`goods` = goods vehicle (HGV/lorry) operator licences (O-licences), `psv` = bus and coach operator licences (P-licences). Empty = both.

## `licenceTypes` (type: `array`):

Standard National, Standard International or Restricted (own-account). Empty = all.

## `statuses` (type: `array`):

Valid, curtailed or suspended. Empty = all.

## `keywords` (type: `array`):

Operator name contains any of these, e.g. `logistics`, `haulage`, `coaches`.

## `postcodePrefixes` (type: `array`):

Correspondence or operating centre postcode starts with any of these, e.g. `M`, `L9`, `BS11`.

## `minVehicles` (type: `integer`):

Only operators authorised for at least this many vehicles (0 = no minimum).

## `maxVehicles` (type: `integer`):

Only operators authorised for at most this many vehicles (0 = no maximum).

## `operatorTypes` (type: `array`):

e.g. `Limited Company`, `Partnership`, `Sole Trader`, `Limited Liability Partnership`, `Other`.

## `excludeSoleTraders` (type: `boolean`):

Skip licences held by individuals trading as sole traders (privacy-friendly default).

## `requireCompanyNumber` (type: `boolean`):

Only operators with a Companies House registration number (handy for enrichment).

## `includePeople` (type: `boolean`):

Include transport manager and director/partner names as published on the register.

## `sortBy` (type: `string`):

`newest` = most recently issued licences first (licence numbers are sequential); `vehicles` = largest fleets first; `none` = file order (fastest to first result).

## `maxItems` (type: `integer`):

Maximum number of results to return (and pay for) per run.

## `incremental` (type: `boolean`):

Remember items delivered in previous runs with the same input and skip them. Great for scheduled monitoring runs: you only pay for new results.

## `outputFormat` (type: `string`):

`json` = structured fields; `llm` = id, url and a compact Markdown block ready for LLMs/RAG; `both` = structured fields plus Markdown.

## `requestDelayMs` (type: `integer`):

Polite rate limit between API requests. Retries with backoff on 429/5xx are automatic.

## Actor input object example

```json
{
  "trafficAreas": [],
  "licenceCategories": [],
  "licenceTypes": [],
  "statuses": [],
  "keywords": [],
  "postcodePrefixes": [],
  "minVehicles": 0,
  "maxVehicles": 0,
  "operatorTypes": [],
  "excludeSoleTraders": true,
  "requireCompanyNumber": false,
  "includePeople": true,
  "sortBy": "newest",
  "maxItems": 100,
  "incremental": false,
  "outputFormat": "json",
  "requestDelayMs": 500
}
```

# Actor output Schema

## `results` (type: `string`):

All results in the default dataset (overview view).

## `runSummary` (type: `string`):

Counts of pushed and skipped (already seen) items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

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

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [],
    "postcodePrefixes": [],
    "operatorTypes": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("devteamdrew/uk-operator-licences").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": [],
    "postcodePrefixes": [],
    "operatorTypes": [],
}

# Run the Actor and wait for it to finish
run = client.actor("devteamdrew/uk-operator-licences").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [],
  "postcodePrefixes": [],
  "operatorTypes": []
}' |
apify call devteamdrew/uk-operator-licences --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devteamdrew/uk-operator-licences"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eU0yKoXwT05kfTGPY/builds/8VqFPN7C01hbRmRD1/openapi.json
