GroundsocialDocs

API · Gumtree

GET /gumtree/locations

Gumtree location suggestions with ids and coordinates.

RequestGET /v1/gumtree/locations
Operation idgumtree.locations.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Gumtree location suggestions with ids and coordinates.

Query parameters

NameTypeRequiredDescription
querystringyesPartial place name or postcode. Example: manch.
location_type"LOCATION" | "OUTCODE" | "POSTCODE"noOne of LOCATION, OUTCODE, POSTCODE.

Responses

StatusMeaningSchema
200Locations.GumtreeLocations
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The ad, category or location does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Gumtree is temporarily unavailable. Retryable; nothing was charged.Error

GumtreeLocations fields

FieldTypeDescription
querystring
locationsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.