Commerce and retail
Gumtree data API
Read classified listings from Gumtree with one key and one response shape.
Read Gumtree UK classified listings, one listing in full, similar listings, seller profiles and their active listings, and the trending search terms. Listing rows use the same commerce schema as Amazon and eBay, with the Gumtree extras under product.ext.gumtree.
Listings are keyed on the ad id, the number at the end of a gumtree.com/p/.../{id} URL. Every search row carries one.
Your first call
curl "https://www.socialcrawl.dev/v1/gumtree/search?query=bicycle" \
-H "x-api-key: sc_your_key_here"const url = new URL("https://www.socialcrawl.dev/v1/gumtree/search");
url.searchParams.set("query", "bicycle");
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALCRAWL_API_KEY! },
});
const data = await res.json();
console.log(data.data.items[0]);import os
import requests
res = requests.get(
"https://www.socialcrawl.dev/v1/gumtree/search",
headers={"x-api-key": os.environ["SOCIALCRAWL_API_KEY"]},
params={
"query": "bicycle",
},
)
data = res.json()
print(data["data"]["items"][0])Each row carries the ad id, title, price in GBP, location, category, seller type (private or trade), image and listing URL. Measured on 22/11/2026: this call returned 22 listings for 5 credits in under a second. Pass an ad id from a row to product for the description, images and seller ids.
What it covers
| What you want | Call |
|---|---|
| Listings for a keyword | GET /v1/gumtree/search |
| One listing in full | GET /v1/gumtree/product |
| Listings similar to one listing | GET /v1/gumtree/product/similar |
| A seller's profile | GET /v1/gumtree/seller |
| A seller's active listings | GET /v1/gumtree/seller/listings |
| Search-box suggestions | GET /v1/gumtree/search/suggestions |
| What people are searching for now | GET /v1/gumtree/trending |
| The category tree | GET /v1/gumtree/categories |
| The filters for a category | GET /v1/gumtree/filters |
| A place name or postcode as an id | GET /v1/gumtree/locations |
| The location nearest a coordinate | GET /v1/gumtree/locations/nearest |
What it does not cover
- Sold prices. Every price is an asking price.
- The publish date of a listing. Gumtree exposes only a relative age, so
published_atis not returned. - Gumtree outside the UK.
- Messaging a seller, or anything behind a Gumtree login.
Search by place and category
search takes a keyword as query, or a gumtree.com/search URL as url to replay an existing web search. Narrow it with category_id (from categories), location_id (from locations or locations/nearest), distance, min_price, seller_type and attributes. The attribute names for a category come from filters. Location slugs default to a 15-mile radius unless the URL carries a distance.
All endpoints
11 endpoints available.
| Endpoint | Path | Credit Tier |
|---|---|---|
| Get the Gumtree category tree | /v1/gumtree/categories | standard (1cr) |
| Get Gumtree filters for a category | /v1/gumtree/filters | standard (1cr) |
| Get trending Gumtree searches | /v1/gumtree/trending | standard (1cr) |
| Autocomplete Gumtree locations | /v1/gumtree/locations | advanced (5cr) |
| Find the nearest Gumtree location | /v1/gumtree/locations/nearest | advanced (5cr) |
| Get a Gumtree listing by ad id or URL | /v1/gumtree/product | advanced (5cr) |
| Get listings similar to a Gumtree ad | /v1/gumtree/product/similar | advanced (5cr) |
| Search Gumtree UK listings | /v1/gumtree/search | advanced (5cr) |
| Get Gumtree search suggestions | /v1/gumtree/search/suggestions | advanced (5cr) |
| Get a Gumtree seller profile | /v1/gumtree/seller | advanced (5cr) |
| List a Gumtree seller's active ads | /v1/gumtree/seller/listings | advanced (5cr) |
How far back and how deep
Each list returns one page at a time. Send cursor for the next page, or max_items or max_pages to collect several pages in one call. A page size appears only where it has been verified. How paging works
| Path | Rows per page | Date window | One call collects |
|---|---|---|---|
/v1/gumtree/search | about 22 | none | up to 5,000 rows or 50 pages |
/v1/gumtree/seller/listings | about 20 | none | up to 5,000 rows or 50 pages |
Platform notes
Sellers need two ids. seller and seller/listings take both seller_id and public_id. They come back on product as product.ext.gumtree.user_id and public_user_id.
Seller listings paginate until a page comes back short. The count Gumtree reports equals the page size, so it is not returned. Category and location are often null on seller listings and similar listings.
A missing seller is a not found. It is not billed.
