## gumtree/locations

`GET /v1/gumtree/locations`

Location ids for a place name, with coordinates, for use in searches.

*Gumtree location lookup*

| Parameter | Required | Description |
| --- | --- | --- |
| `query` | yes | Place name, outcode or postcode — e.g. `london` |
| `type` | no | location, outcode or postcode |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. — e.g. `1` |

**Cost:** 2 credits at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/gumtree/locations?query=london" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "count": 0,
  "has_more": false,
  "items": [
    {
      "id": "example",
      "kind": "example",
      "latitude": 0,
      "longitude": 0,
      "name": "example"
    }
  ],
  "query": "example"
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/gumtree/locations#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/gumtree/locations.json)
