-
Notifications
You must be signed in to change notification settings - Fork 1
geocode
Adrian Gortzak edited this page Apr 30, 2026
·
11 revisions
Converts the search query to coordinates
The code below gives an example of how to use the client to get a geocode
import valueguard
vgClient = valueguard.Client()
vgClient.authenticate("<username>", "<password>")
print(vgClient.geocode(
query="Drottninggatan",
limit=10,
match_type="address",
exact_match=False
))| Field name | Description | Example |
|---|---|---|
| name | The complete name of the search result | UPPSALA KÅGARBOL 1:3 |
| wgs84lat | Latitude coordinate in the WGS84 format | 59.82456923826135 |
| wgs84lon | Longitude coordinate in the WGS84 format | 18.0641791324908 |
| Field Name | Description | Example |
|---|---|---|
| match_type | Specifies the type of data used for matching. Supported values are address and property_unit_designation
|
address |
| exact_match | Indicates whether an exact (full) match is required | true |
| query | The search string to retrieve coordinates | Uppsala |
| limit | The maximum number of search results to return | 10 |
Address
You can enter addresses in any of the following formats:
Myrgången 198Myrgången 198, TrollhättanMyrgången 198, 461 62 TrollhättanMyrgången 198, 46162 Trollhättan
property_unit_designation
You can enter property unit designations such as:
UPPSALA KÅGARBOL 1:3STOCKHOLM NORRMALM 1:1
curl https://api-prod.valueguard.se/v1/geocode?access_token={access_token}&match_type={match_type}&query={query}- General description
- Residential Registry
- Residential Registry Markups
- Residential Registry Valuations
- General description
- Index normalized
- Index definitions*
- Publishing calendar
- Best index
- Index recount
- Index volume
- General description
- Area
- Area polygon
- Area category
- Area information
- Area information field
- Area information tag
- Area information dates
- Area map
*= only for internal use