API · Gumtree
GET /gumtree/products
One Gumtree ad: price, description, attributes, images, seller.
| Request | GET /v1/gumtree/products |
| Operation id | gumtree.product.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Gumtree ad: price, description, attributes, images, seller.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | no | Ad number. Example: 1804696895. |
url | string | no | Or the ad URL. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The ad. | GumtreeAd |
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 |
GumtreeAd fields
| Field | Type | Description |
|---|---|---|
product_id | string | |
url | string | |
title | string | |
price | string | null | |
description | string | null | |
location | string | null | |
posted | string | null | |
attributes | object | |
images | string[] | |
seller | object | |
categories | object[] | |
similar | object[] | |
structured_data | object | null |
Errors use one shape everywhere; see Errors for every code and what to do.