SMMT Car Registrations – Fuel Type avatar

SMMT Car Registrations – Fuel Type

Pricing

Pay per usage

Go to Apify Store
SMMT Car Registrations – Fuel Type

SMMT Car Registrations – Fuel Type

Gathers the 'fuel type' registrations table from the SMMT car registrations page.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Dave Eviey

Dave Eviey

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Share

SMMT Fuel Type Scraper

An Apify actor that scrapes the fuel type registrations table from the SMMT car registrations page: https://www.smmt.co.uk/vehicle-data/car-registrations/.

The page renders several data tables inside a tabbed section. This actor targets one tab (by default fuel-type) and outputs one dataset record per fuel-type row (BEV, HEV, PHEV, PETROL, DIESEL, TOTAL).

Input

FieldDefaultDescription
startUrlthe SMMT car registrations URLPage to scrape.
sectionIdtable-tabs-block_6e042ad3f05f31dc75625095e32f44f4id of the tabbed section holding the tables.
tabSlugfuel-typeWhich tab to extract (matched on data-tab-slug).

Output

Each record (fields parsed to numbers; null where the source cell is empty, e.g. TOTAL market share):

{
"fuelType": "BEV",
"period": "May",
"currentYear": 2026,
"currentRegistrations": 43931,
"previousYear": 2025,
"previousRegistrations": 32738,
"percentChange": 34.2,
"marketShareCurrentPct": 27.3,
"marketSharePreviousPct": 21.8,
"sourceUrl": "https://www.smmt.co.uk/vehicle-data/car-registrations/",
"scrapedAt": "2026-06-20T08:52:43.447Z"
}

The period (May) and the two years are read from the table header at runtime, so the actor keeps working as SMMT publishes new monthly figures.

Running

npm install
npm run start:dev # run from TypeScript source via tsx (local dev)
npm run build # compile to dist/
npm run start:prod # run compiled dist/main.js (used in the Docker image)

Local runs read input from storage/key_value_stores/default/INPUT.json if present, otherwise the defaults above apply. Output is written to storage/datasets/default/.

Deploy with the Apify CLI: apify push.