API · Gumtree
GET /gumtree/trending
Trending Gumtree searches in a location.
| Request | GET /v1/gumtree/trending |
| Operation id | gumtree.trending.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Trending Gumtree searches in a location.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
location_id | string | no |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Trending searches. | GumtreeTrending |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The ad, category or location does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Gumtree is temporarily unavailable. Retryable; nothing was charged. | Error |
GumtreeTrending fields
| Field | Type | Description |
|---|---|---|
location_id | string | |
tips | string[] |
Errors use one shape everywhere; see Errors for every code and what to do.