100 free credits. No credit card required. Get a key

Gumtree seller API

A Gumtree seller’s public profile: posting history, verifications, items per category and current ads.

GET /v1/gumtree/sellers2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/gumtree/sellers?public_id=02637342fe651ba4b11b087826267c4c",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"public_id": "02637342fe651ba4b11b087826267c4c",
"url": "https://www.gumtree.com/profile/account/02637342fe651ba4b11b087826267c4c",
"name": "Tariq",
"review_count": 0,
"posting_for": "8+ months",
"last_active": "Active today",
"verified": [
"Email address verified"
],
"total_items": 2,
"categories": [
{
"name": "For Sale",
"count": 1
},
{
"name": "Property",
"count": 1
}
],
"listings": [
{
"id": "1804696895",
"title": "Trek Road Bike - Black, Good Condition",
"url": "https://www.gumtree.com/p/road-bikes/trek-road-bike-black-good-condition/1804696895",
"image": "https://img.gumtree.com/ePR8PyKf84wPHx7_RYmEag/d8852061414140519c_49ada1c050b5/86",
"price": "£650",
"location": "Gloucester Road, Bristol",
"attributes": [],
"badges": []
}
]
}

Parameters

NameTypeDescription
seller_idquerystringSeller id or profile URL.
public_idquerystringThe 32-character public id. Example: 02637342fe651ba4b11b087826267c4c.
account_idquerystringAlias of public_id.
Response fields

200 with a GumtreeSeller, in the labels Gumtree’s own listing and ad pages show.

FieldTypeDescription
public_idstring
urlstring
namestring | null
review_countnumber | null
posting_forstring | null
last_activestring | null
verifiedstring[]
total_itemsnumber | null
categoriesobject[]
listingsobject[]
Status codes
StatusMeaning
200The seller.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The ad, category or location does not exist.
429Too many requests. Wait for Retry-After seconds.
503Gumtree is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Gumtree is a trademark of Gumtree.com Limited. We are not affiliated with or endorsed by Gumtree.