This Gumtree scraping tutorial shows how to scrape Gumtree cars from a reviewed list of ad URLs into a local CSV with the Gumtree Car Details Scraper for UScraper. You will import the template, replace the sample URLs, confirm the export path, run a small test, and validate fields before using the data for used car prices, inventory checks, or research.
Before you start
Prerequisites, inputs, and Gumtree policy checks
You need UScraper installed as a local desktop app, a short list of Gumtree car ad URLs you are allowed to review, and a folder where the CSV should be written. Start with two or three URLs. The workflow is designed for detail pages, not broad search pages, so a URL should look like a single Gumtree ad rather than the general Gumtree cars category.
Before running automation, review Gumtree's current terms of use, policies, and robots.txt. Public visibility does not automatically mean automated reuse is permitted. Keep collection narrow, avoid login-only pages, stop when access is denied, and get legal review before resale, outreach, enrichment, or high-volume monitoring.
Treat source access and source permission as separate questions. If the browser shows Access Denied, CAPTCHA, or a blocked page, the correct next step is review, not force.
Workflow anatomy
What the Gumtree car details scraper exports
The JSON template is the source of truth. Its flow is intentionally simple: Navigate -> Wait for Page Load -> Wait for Element -> Sleep -> Inject JavaScript -> Structured Export -> Loop Continue. The Navigate block holds a urls array, so each supplied Gumtree ad URL is visited in sequence. Structured Export then writes one row per page with fixed headers and append mode.
| Field group | Columns | Validation check |
|---|---|---|
| Listing identity | type, id, title, page_url, img_url | Confirm the ad ID and title match the open page. |
| Commercial details | price, seller_type, address, description, date_listed, last_edited | Check price, seller type, and location against the visible ad. |
| Vehicle specs | variant, body_type, make, model, year, kilometers, transmission, drive_train, fuel_type, colour, air_conditioning | Expect blanks when Gumtree does not expose a specific attribute. |
| Registration data | stock_number, vin, registered, registration_number | Treat VIN and registration fields as sensitive operational data and validate before reuse. |
The bundled workflow also notes that Gumtree returned 403 Access Denied during autonomous testing. To keep the template demonstrable, the sample preview URLs include fallback rows; for your own URLs, expect best-effort live extraction from whatever Gumtree actually serves to the browser session.
{
"project": {
"name": "Gumtree Car Details Scraper",
"description": "Scrapes Gumtree Australia car detail pages by input URL list."
},
"blocks": [
{
"title": "Navigate",
"config": {
"urls": [
"https://www.gumtree.com.au/s-ad/elizabeth/cars-vans-utes/2019-mitsubishi-pajero-sport-qe-my19-black-edition-greyish-bronze-8-speed-sports-automatic-wagon/1296778858"
]
}
},
{ "title": "Wait for Page Load", "config": { "timeout": 30 } },
{ "title": "Wait for Element", "config": { "selector": "body", "timeout": 30 } },
{ "title": "Sleep", "config": { "duration": 2 } },
{ "title": "Inject JavaScript", "config": { "waitForCompletion": true, "timeout": 10 } },
{
"title": "Structured Export",
"config": {
"rowSelector": "body",
"fileName": "gumtree-car-details-scraper.csv",
"includeHeaders": true,
"fileMode": "append",
"columns": [
"type",
"id",
"title",
"price",
"address",
"seller_type",
"make",
"model",
"year",
"kilometers",
"transmission",
"vin",
"registration_number",
"page_url",
"img_url"
]
}
},
{ "title": "Loop Continue" }
]
}
Runbook
How to scrape Gumtree cars to CSV
Download and import the template
Open the Gumtree Car Details Scraper, download the JSON, and import it into UScraper.
Replace the sample URL list
Open the Navigate block and replace the bundled sample URLs with Gumtree car detail URLs you have reviewed. Keep this first batch small.
Set the export folder
In Structured Export, confirm the save location and file name. The default output is gumtree-car-details-scraper.csv with headers and append mode enabled.
Run visibly first
Watch the first run in the browser window. Confirm the page is a real Gumtree car ad, not a policy prompt, unavailable listing, or Access Denied response.
Open and validate the CSV
Check the title, price, address, make, model, year, kilometers, VIN, registration number, page URL, and image URL before adding more links.
Validate the CSV before scaling
A Gumtree cars CSV is only useful if every row can be trusted. Sort by id to catch duplicates, filter blank title or price cells, and compare page_url against the browser history from the run. For pricing work, normalize currency, kilometers, year, and seller type before using the data beside broader used car prices or dealership benchmarks.
If the export has blank rows, do not immediately rerun a larger batch. First decide whether the problem is access, layout, missing data, or the input URL list. A blocked page usually exports clean-looking blanks because the page body still exists; that is why manual review matters.
| Symptom | Likely cause | Fix |
|---|---|---|
| All rows blank | Access Denied, 403 content, or no real ad loaded | Stop, review source access, and rerun one URL only. |
| Price or VIN missing | Field absent, hidden, or label changed | Inspect the page and update the helper only if the field is visible. |
| Duplicate rows | Same URL repeated or append file reused | Deduplicate by id and page_url before analysis. |
| Wrong vehicle details | Redirected or unavailable listing | Remove that URL and keep an audit note. |
Alternatives
Gumtree scraper alternatives and when to use them
The best Gumtree scraper depends on the operating constraint. Some teams want a no-code local desktop app, some want a cloud actor, and engineering teams may prefer a Gumtree cars scraper Python or Scrapy project.
| Option | Best fit | Trade-off |
|---|---|---|
| UScraper Gumtree template | Small to medium reviewed URL lists, local CSV custody, no-code edits | Runs from your machine and needs visible validation when Gumtree changes access. |
| Octoparse Gumtree templates | No-code users who already live in Octoparse's template ecosystem | Cloud and account model may be unnecessary for one-off local exports. |
| Apify Gumtree actors | Cloud scheduling, APIs, managed runs, JSON or CSV delivery | Better for platform workflows, but costs and data routing are different. |
| Bright Data Gumtree scraper | Enterprise data procurement and managed infrastructure | Stronger vendor layer, heavier commitment than a quick tutorial workflow. |
| Python or Scrapy script | Full engineering control, tests, package deployment | Requires selector maintenance, error handling, and compliance review in code. |
For most analysts building a controlled CSV from known ad URLs, UScraper is the practical starting point. For fleet-scale collection, procurement-grade SLAs, or deeply customized pipelines, compare hosted vendors and custom code before calling any tool the best Gumtree scraper.
Frequently asked questions
Gumtree car ads may be publicly visible, but automated collection can still be limited by Gumtree terms, robots directives, privacy law, copyright, anti-abuse controls, and local marketplace rules. Review the current source policies, keep batches narrow, avoid bypassing access controls, and get legal review before resale, outreach, or large-scale commercial reuse.
Next step
Download the Gumtree car details scraper
Use the free Gumtree Car Details Scraper template when you have reviewed ad URLs and need a spreadsheet-ready export. For adjacent workflows, browse the full UScraper template library, read more tutorials on the UScraper blog, or pair this detail workflow with a separate listing scraper that finds Gumtree ad URLs first.

