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

Gumtree trending searches API

The searches Gumtree shows as trending in a location.

GET /v1/gumtree/trending1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/gumtree/trending",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"location_id": "10000392",
"tips": [
"sofa",
"ps5",
"… 28 more"
]
}

Parameters

NameTypeDescription
location_idquerystring
Response fields

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

FieldTypeDescription
location_idstring
tipsstring[]
Status codes
StatusMeaning
200Trending searches.
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.