API · Gumtree
GET /gumtree/sellers/listings
The ads a Gumtree seller lists.
| Request | GET /v1/gumtree/sellers/listings |
| Operation id | gumtree.seller.listings |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
The ads a Gumtree seller lists.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
seller_id | string | no | Seller id or profile URL. |
public_id | string | no | The 32-character public id. Example: 02637342fe651ba4b11b087826267c4c. |
account_id | string | no | Alias of public_id. |
page | integer | no |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The seller’s ads. | GumtreeSellerListings |
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 |
GumtreeSellerListings fields
| Field | Type | Description |
|---|---|---|
public_id | string | |
listings | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.