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 failureimport 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
| Name | Type | Description |
|---|---|---|
seller_idquery | string | Seller id or profile URL. |
public_idquery | string | The 32-character public id. Example: 02637342fe651ba4b11b087826267c4c. |
account_idquery | string | Alias of public_id. |
Response fields
200 with a GumtreeSeller, in the labels Gumtree’s own listing and ad pages show.
| Field | Type | Description |
|---|---|---|
public_id | string | |
url | string | |
name | string | null | |
review_count | number | null | |
posting_for | string | null | |
last_active | string | null | |
verified | string[] | |
total_items | number | null | |
categories | object[] | |
listings | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | The seller. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The ad, category or location does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Gumtree 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.