Scraper API for Gumtree
The ScrapeBadger Gumtree API turnsgumtree.com, the UK’s classifieds
marketplace, into a clean JSON feed: keyword and category search with postcode
radius and category-specific filters, filter discovery with live counts, full
listing detail (every attribute, the full vehicle spec for cars, the seller’s
profile and similar ads), a seller’s other listings, search and location
autocomplete, and the category and location trees.
All endpoints are
GET, live under https://scrapebadger.com/v1/gumtree/*,
and authenticate with the X-API-Key header. Credits are charged per request
(see the table below) and reported on the X-Credits-Used response header.Features
- Every vertical — For Sale, Motors (cars, vans, motorbikes), Property (to rent, for sale, flatshare), Jobs, Services, Pets and Community. ~25–30 listings per search page, up to 50 pages.
- Postcode-radius search —
locationtakes a town slug, a town name or a full UK postcode (SW1A 1AA), plus adistancein miles. - Category filters with live counts —
/search/filterslists every filter Gumtree offers for a category (make, fuel type, mileage range, bedrooms …) with the result count per value; pass them back to/searchasfilters=key:value. - Full vehicle spec on Motors listings — make, model, year, mileage, fuel, transmission, body type, engine size and power, MPG, CO2, insurance group, 0–62, top speed, previous keepers, the registration where shown, and the history-check flags (not stolen, not written off, not scrapped).
- Seller profile — private or trade, verified-business status with the checks Gumtree ran, rating with per-star breakdown, posting since, last active, total listings and listings by category, and the masked phone number.
- Promotion flags —
is_featured,is_urgent,is_bumped_up,is_standoutandfavourite_counton every listing. - Dates in both forms — every timestamp ships as Unix seconds (
*_utc) and ISO 8601 (*_at). Listing detail separatescreated_at(first posted) fromposted_at(moves on a bump).
Phone numbers are masked. Only the masked form Gumtree shows on the public
listing page is returned (e.g.
0794997XXXX). Full numbers are never
returned.Coverage
United Kingdom only. Onlygumtree.com is supported, so there is no market
parameter — scope results with location and distance instead.
Credit Costs
Quickstart
Typical workflow
- Pick a category —
/categoriesor/autocompletegive you theslug(cars,property-to-rent,sofas-couches…). - Discover its filters —
/search/filtersreturns each filter’skeyand values with live counts. - Search —
/searchwithcategory,location+distance, price band andfilters. - Enrich —
/listings/{id}for the full description, attributes and seller, and/listings/{id}/seller-listingsfor everything else that seller has listed.
Limits
- 50 pages per result set (~1,500 listings). To go deeper, narrow by
sub-category, location and
distance, price band or filters. - Price filters need a category.
min_price/max_pricehave no effect withcategory=all. - Featured ads are pinned. Gumtree places up to 5 paid featured ads
(
is_featured) above the chosen sort order. - Seller listings are keyed by a listing. Pass any listing id of the seller
to
/listings/{id}/seller-listings; there is no separate seller lookup.
Errors
ScrapeBadger is an independent tool and is not affiliated with, endorsed by, or sponsored by Gumtree. “Gumtree” is a trademark of its respective owner, used here only to describe the platform this scraper is designed to work with.

