Get address by Swedish Lantmäteriet UUID
curl --request GET \
--url https://lens-api.tic.io/addresses/se/{externalId} \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/addresses/se/{externalId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://lens-api.tic.io/addresses/se/{externalId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://lens-api.tic.io/addresses/se/{externalId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lens-api.tic.io/addresses/se/{externalId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lens-api.tic.io/addresses/se/{externalId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/addresses/se/{externalId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"addressId": 123,
"label": "<string>",
"externalUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isDeleted": true,
"belagenhetsadress": {
"objektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adressomradeGata": "<string>",
"adressomradeKommunKod": "<string>",
"adressomradeKommunNamn": "<string>",
"adressplatsPostnummer": 123,
"adressplatsPostOrt": "<string>",
"adressplatsNummer": "<string>",
"adressplatsAvvikandeAdressPlatsBeteckning": "<string>",
"adressplatsBokstavsTillagg": "<string>",
"adressplatsLagesTillagg": "<string>",
"adressplatsLagesTillaggsnummer": 123,
"adressplatsObjektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adressBeskrivning": "<string>",
"adressplatsAvvikerFranStandarden": true,
"adressplatsPunktX": 123,
"adressplatsPunktY": 123,
"registerenhetObjektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"byggnadObjektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"byggnadHusnummer": "<string>",
"byggnadsdelarArea": 123,
"byggnadsdelarBoendeArea": 123,
"antalFolkborda": 123,
"registeromrade": "<string>",
"trakt": "<string>",
"block": "<string>",
"enhet": 123,
"latitude": 123,
"longitude": 123
},
"intelligence": [
{
"addressIntelligenceId": 123,
"addressId": 123,
"addressIntelligenceTypeDescription": "<string>",
"addressIntelligenceSubType": "<string>",
"addressIntelligenceSubTypeDescription": "<string>",
"addressIntelligencePolicyId": 123,
"notes": "<string>",
"notesEn": "<string>",
"notesSv": "<string>",
"score": 123,
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"intelligenceNotesType": 123,
"notesValue1": "<string>",
"notesValue2": "<string>",
"notesValue3": "<string>",
"notesValue4": "<string>"
}
]
}Addresses
Get address by Swedish Lantmäteriet UUID
Looks up a Swedish address by its Lantmäteriet Belägenhetsadress ObjektIdentitet UUID and returns the corresponding address record, including AddressIntelligence for max/enterprise tiers.
GET
/
addresses
/
se
/
{externalId}
Get address by Swedish Lantmäteriet UUID
curl --request GET \
--url https://lens-api.tic.io/addresses/se/{externalId} \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/addresses/se/{externalId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://lens-api.tic.io/addresses/se/{externalId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://lens-api.tic.io/addresses/se/{externalId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lens-api.tic.io/addresses/se/{externalId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lens-api.tic.io/addresses/se/{externalId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/addresses/se/{externalId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"addressId": 123,
"label": "<string>",
"externalUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isDeleted": true,
"belagenhetsadress": {
"objektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adressomradeGata": "<string>",
"adressomradeKommunKod": "<string>",
"adressomradeKommunNamn": "<string>",
"adressplatsPostnummer": 123,
"adressplatsPostOrt": "<string>",
"adressplatsNummer": "<string>",
"adressplatsAvvikandeAdressPlatsBeteckning": "<string>",
"adressplatsBokstavsTillagg": "<string>",
"adressplatsLagesTillagg": "<string>",
"adressplatsLagesTillaggsnummer": 123,
"adressplatsObjektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adressBeskrivning": "<string>",
"adressplatsAvvikerFranStandarden": true,
"adressplatsPunktX": 123,
"adressplatsPunktY": 123,
"registerenhetObjektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"byggnadObjektIdentitet": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"byggnadHusnummer": "<string>",
"byggnadsdelarArea": 123,
"byggnadsdelarBoendeArea": 123,
"antalFolkborda": 123,
"registeromrade": "<string>",
"trakt": "<string>",
"block": "<string>",
"enhet": 123,
"latitude": 123,
"longitude": 123
},
"intelligence": [
{
"addressIntelligenceId": 123,
"addressId": 123,
"addressIntelligenceTypeDescription": "<string>",
"addressIntelligenceSubType": "<string>",
"addressIntelligenceSubTypeDescription": "<string>",
"addressIntelligencePolicyId": 123,
"notes": "<string>",
"notesEn": "<string>",
"notesSv": "<string>",
"score": 123,
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"intelligenceNotesType": 123,
"notesValue1": "<string>",
"notesValue2": "<string>",
"notesValue3": "<string>",
"notesValue4": "<string>"
}
]
}Pro+ tier
Authorizations
Path Parameters
Lantmäteriet Belägenhetsadress UUID
⌘I