Gumtree API for search results and ad pages
Send any Gumtree page URL with recipe=gumtree and get title, price, url and 6 more fields as JSON. No selectors to write, no proxies to pick.
- 2 page types
- 9 fields
- 25 credits a page · $2.49 per 1,000
- Working · 100% in 7 days
5,000 free credits for 21 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.gumtree.com/search?search_category=all&q=bike' \
--data-urlencode 'recipe=gumtree/listing'
{
"result": {
"ads": [
{
"title": "Bargin! Brand New, NEVER USED Claud Butler Ex...",
"price": "250"
}
]
},
"success": true
}
Is there an official Gumtree API?
No official API
No. Gumtree has no public API for listing data and no developer program.
Source: gumtree.com on gumtree.com, checked November 6, 2026.
How to get Gumtree data as JSON today
- Get a free API key: 5,000 free credits for 21 days, no card.
- Send any Gumtree page URL with
recipe=gumtreeto the Scrape API (the call). - Get 9 fields as JSON, 25 credits a page, billed only when the call succeeds.
Ujeebu's Gumtree recipe returns title, price, url and 6 more fields from any public Gumtree page as JSON: send the URL with recipe=gumtree to the Scrape API, 25 credits a page, no Gumtree account or partner approval needed.
What you get from Gumtree
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=gumtree/listing 25 credits a page
| Field | Type | Example |
|---|---|---|
ads | list of 3+ items | |
ads[].url | URL | https://www.gumtree.com/p/yamaha-motorbikes/yamaha-xjr1200-naked-mu... |
ads[].title | text | YAMAHA XJR1200 NAKED MUSCLE BIKE |
ads[].price | number (as text) | 2,895 |
Sample answer, validated 2026-11-21
{
"ads": [
{
"url": "https://www.gumtree.com/p/other-bikes/bargin-brand-new-never-used-claud-butler-explorer-1.0-eq-hybrid-bike/1804242608",
"title": "Bargin! Brand New, NEVER USED Claud Butler Explorer 1.0 EQ Hybrid Bike",
"price": "250"
},
{
"url": "https://www.gumtree.com/p/other-bikes/shimono-mountain-bike-/1513755211",
"title": "Shimono mountain bike",
"price": "160"
}
]
}
Ad pages recipe=gumtree/detail 25 credits a page
| Field | Type | Example |
|---|---|---|
product.availability | text | InStock |
product.condition | text | UsedCondition |
product.currency | text | GBP |
product.image | URL | https://img.gumtree.com/ePR8PyKf84wPHx7_RYmEag/700096c647c44679b6_9... |
product.name | text | Trek roscoe 8 |
product.price | number (as text) | 250.00 |
product.sku | number (as text) | 1803797679 |
product.url | URL | https://www.gumtree.com/p/mountain-bikes/trek-roscoe-8/1803797679 |
Sample answer, validated 2026-11-06
{
"product": {
"availability": "InStock",
"condition": "UsedCondition",
"currency": "GBP",
"image": "https://img.gumtree.com/ePR8PyKf84wPHx7_RYmEag/700096c647c44679b6_928077a6e7e4/86",
"name": "Trek roscoe 8",
"price": "250.00",
"sku": "1803797679",
"url": "https://www.gumtree.com/p/mountain-bikes/trek-roscoe-8/1803797679"
}
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Gumtree (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.gumtree.com/search?search_category=all&q=bike' \
--data-urlencode 'recipe=gumtree/listing'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.gumtree.com/search?search_category=all&q=bike", "recipe": "gumtree/listing"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"])
# Example output:
# Bargin! Brand New, NEVER USED Claud B... 250
# Shimono mountain bike 160
const params = new URLSearchParams({
url: "https://www.gumtree.com/search?search_category=all&q=bike",
recipe: "gumtree/listing",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title, item.price);
}
// Example output:
// Bargin! Brand New, NEVER USED Claud B... 250
// Shimono mountain bike 160
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=gumtree/detail, or recipe=gumtree and the API picks the page type from the URL. Your own parameters always win over the recipe.
Search Gumtree with parameters
One call, no URL: send recipe=gumtree/search with the parameters below. We build the Gumtree search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
query required | string | Search words, as typed in the Gumtree search box. |
page | int | 1 to 10 |
One call (query=bike)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=gumtree/search' \
-d 'query=bike'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "gumtree/search", "query": "bike"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"])
# Example output:
# Bargin! Brand New, NEVER USED Claud B... 250
# Shimono mountain bike 160
const params = new URLSearchParams({
recipe: "gumtree/search",
query: "bike",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title, item.price);
}
// Example output:
// Bargin! Brand New, NEVER USED Claud B... 250
// Shimono mountain bike 160
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=gumtree/listing. Search with parameters in the docs
What people build with Gumtree data
Price research
See what similar items sell for, by condition and location.
Learn moreNew ads alerts
Catch new ads for the searches you care about shortly after they appear.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results, Ad page | 25 | $4.08 | $2.49 |
FAQ
Is there a Gumtree API?
No. Gumtree has no public API for listing data and no developer program. Ujeebu's Gumtree recipe returns title, price, url and 6 more fields from any public Gumtree page as JSON: send the URL with recipe=gumtree to the Scrape API, 25 credits a page, no Gumtree account or partner approval needed.
Does Gumtree have a public API?
No. Gumtree has no public API for listing data and no developer program. The public pages are the way in: Ujeebu's Gumtree recipe returns title, price, url and 6 more fields from any public Gumtree page as JSON: send the URL with recipe=gumtree to the Scrape API, 25 credits a page, no Gumtree account or partner approval needed.
What does the Gumtree recipe return?
JSON with 9 fields from search results (recipe=gumtree/listing) and ad page (recipe=gumtree/detail), for example title, price, url. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Gumtree?
25 credits a page ($2.49 per 1,000 on Pro, $4.08 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on Gumtree: JavaScript rendering. Send only the URL and recipe=gumtree/listing.
What happens when Gumtree changes its pages?
We check Gumtree every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I search Gumtree with parameters?
Yes, in one call: send recipe=gumtree/search with query, page and no URL. We build the Gumtree search URL (returned in the Ujb-Url header), apply recipe=gumtree/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
Facebook MarketplaceSearch results · 5 credits
VintedSearch results, Ad page · 5 credits
KleinanzeigenSearch results · 5 credits
LeboncoinSearch results · 25 credits
OLXSearch results · 25 credits- AvitoSearch results · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Gumtree.
Get Gumtree data as JSON today.
5,000 free credits for 21 days. No card.