Scraper API
Gumtreegumtree.searchAvailable
Gumtree search
A page of ads: title, price, place, the start of the text, a picture and the ad's address.
Give it Words to search for on gumtree.com, a place, and optionally a category and a price range.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 6
- Record
- 11 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/gumtree.search/runs
sent, and answered
a record of the run11 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 11 fields are set down here; the whole record is below.

What it is used for
- Watch a market
- Search Gumtree for a kind of item in a place and read the prices and locations of the ads in the order Gumtree lists them.
- Price an item
- Compare
priceacross the ads for the same thing to know what it sells for in a town. - Find the ads to follow
- Use a search to collect each
ad_id, then read each ad with the listing scraper.
What you send
Words to search for on gumtree.com, a place, and optionally a category and a price range. These are its 6 inputs, as its schema has them.
querystring Optional- Words to search for. May be left out when a category is given.
locationstring Optional- A town, a county or a postcode in the United Kingdom. The whole country unless you say otherwise.Default
uk categorystring Optional- A category as Gumtree's addresses name it: cars, for-sale, property-to-rent, jobs.
min_priceinteger Optional- Only ads at this price or above, in pounds.
max_priceinteger Optional- Only ads at this price or below, in pounds.
pageinteger Optional- The results page, from 1. Gumtree shows fifty pages of a search at most.Default
1
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/gumtree.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"bike","location":"london"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("gumtree.search", {
"query": "bike",
"location": "london",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("gumtree.search", {
query: "bike",
location: "london",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "gumtree.search", map[string]any{"query": "bike", "location": "london"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("gumtree.search", Map.of("query", "bike", "location", "london"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run gumtree.search --input query=bike --input location=londonInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
A page of ads: title, price, place, the start of the text, a picture and the ad's address. A record has 11 fields. One we could not read is null, never an empty string or a zero.
{
"position": 4,
"page": 1,
"ad_id": "1800284229",
"url": "https://www.gumtree.com/p/mountain-bikes/dawes-mountain-bike-black-and-blue-good-used-condition/1800284229",
"title": "Dawes Mountain Bike – Black and Blue, Good Used Condition",
"description": "A Dawes mountain bike in black with blue accents. It's in good condition overall, ready to ride. Has some expected signs of use but nothing major. Perfect for casual rides or getting around town.",
"price": 85,
"price_text": "£85",
"location": "Maida Vale, London",
"image": null,
"fetched_at": "2026-11-19T18:07:40.792583Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
positioninteger- The rank on its results page, from 1. Gumtree lists featured ads first, and the number of ads a page holds varies.
pageinteger- The results page the ad was on.
ad_idstring- Gumtree's number for the ad.
urlstring- The ad's page on Gumtree.
titlestring- The ad's title.
descriptionstring or null- The start of the ad's text, as the card shows it.
pricenumber or null- The price in pounds; null when the card shows none or words instead of a number.
price_textstring or null- The price as printed, e.g.
£85,£1,250pm,Free. locationstring or null- Where the ad is, as the card shows it, e.g.
Maida Vale, London. imagestring or null- The address of the ad's first picture.
fetched_atdatetime- When the results were read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one page of results.
- Searches among services are not read: such a run ends as failed, with the reason layout_not_recognised, and costs nothing.
- A search nothing matches ends as ok with no records; the other ads Gumtree shows instead are not returned.
The bounds its schema sets
min_price- 0 to 10,000,000
max_price- 0 to 10,000,000
page- 1 to 50; 1 unless you say otherwise
Questions
What does Gumtree search return?
A page of ads: title, price, place, the start of the text, a picture and the ad's address. A record has 11 fields, among them position, page, ad_id, url, title and description. A value that could not be read is null, never an empty string or a zero.
What do I send?
Words to search for on gumtree.com, a place, and optionally a category and a price range. Optional: query, location, category, min_price, max_price and page.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: min_price 0 to 10,000,000; max_price 0 to 10,000,000; page 1 to 50 (1 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One run reads one page of results. Searches among services are not read: such a run ends as failed, with the reason layout_not_recognised, and costs nothing. A search nothing matches ends as ok with no records; the other ads Gumtree shows instead are not returned.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id gumtree.search and the same input. It costs what the same API call costs.
Gumtree
Classified ads on gumtree.com in the United Kingdom: search results and an ad's public page, as offers, without their sellers.
Gumtree ad
gumtree.listingAn ad's number on Gumtree, or the address of its page. Its title, text, price, place, condition, category, the details Gumtree files it under, when it was posted, and its pictures.
- Industry
- Shopping and retail
- Where
- United Kingdom
- For
- E-commerce
- Data
- Prices
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.