# Source: https://www.zabbix.com/documentation/7.4/en/manual/api/reference/host/get

### Query
```graphql
query GetLocations($name_pattern: String) {
  locations(name_pattern: $name_pattern) {
    name
    latitude
    longitude
  }
}
```

### Variables
```json
{
  "name_pattern": "Riga%"
}
```
