Lookup addresses
curl --request POST \
--url https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"postcode": "E17 4LN"
}
'import requests
url = "https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses"
payload = { "postcode": "E17 4LN" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({postcode: 'E17 4LN'})
};
fetch('https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses', 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://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'postcode' => 'E17 4LN'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses"
payload := strings.NewReader("{\n \"postcode\": \"E17 4LN\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"postcode\": \"E17 4LN\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"postcode\": \"E17 4LN\"\n}"
response = http.request(request)
puts response.read_body{
"addresses": [
{
"address_line_1": "Chapel End Infant School",
"address_line_2": "3 Beresford Road",
"building_name": null,
"building_number": "3",
"is_domestic": false,
"organisation": "CHAPEL END INFANT SCHOOL",
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Chapel End Infant School, 3 Beresford Road, London, E17 4LN",
"udprn": "8128172",
"uprn": "200001448611"
},
{
"address_line_1": "63A Beresford Road",
"address_line_2": null,
"building_name": "63A",
"building_number": null,
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "63A Beresford Road, London, E17 4LN",
"udprn": "57339088",
"uprn": "10095407016"
},
{
"address_line_1": "1 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "1",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "1 Beresford Road, London, E17 4LN",
"udprn": "8128175",
"uprn": "100022519833"
},
{
"address_line_1": "27 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "27",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "27 Beresford Road, London, E17 4LN",
"udprn": "8128176",
"uprn": "100022519883"
},
{
"address_line_1": "29 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "29",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "29 Beresford Road, London, E17 4LN",
"udprn": "8128177",
"uprn": "100022519887"
},
{
"address_line_1": "31 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "31",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "31 Beresford Road, London, E17 4LN",
"udprn": "8128178",
"uprn": "100022519892"
},
{
"address_line_1": "33 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "33",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "33 Beresford Road, London, E17 4LN",
"udprn": "8128179",
"uprn": "100022519896"
},
{
"address_line_1": "35 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "35",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "35 Beresford Road, London, E17 4LN",
"udprn": "8128180",
"uprn": "100022519900"
},
{
"address_line_1": "37 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "37",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "37 Beresford Road, London, E17 4LN",
"udprn": "8128181",
"uprn": "100022519904"
},
{
"address_line_1": "39 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "39",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "39 Beresford Road, London, E17 4LN",
"udprn": "8128182",
"uprn": "100022519908"
},
{
"address_line_1": "41 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "41",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "41 Beresford Road, London, E17 4LN",
"udprn": "8128183",
"uprn": "100023696218"
},
{
"address_line_1": "First Floor Flat",
"address_line_2": "41 Beresford Road",
"building_name": null,
"building_number": "41",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat, 41 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519912"
},
{
"address_line_1": "Ground Floor Flat",
"address_line_2": "41 Beresford Road",
"building_name": null,
"building_number": "41",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat, 41 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519913"
},
{
"address_line_1": "43 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "43",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "43 Beresford Road, London, E17 4LN",
"udprn": "8128184",
"uprn": "100023696219"
},
{
"address_line_1": "First Floor Flat",
"address_line_2": "43 Beresford Road",
"building_name": null,
"building_number": "43",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat, 43 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519917"
},
{
"address_line_1": "Ground Floor Flat",
"address_line_2": "43 Beresford Road",
"building_name": null,
"building_number": "43",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat, 43 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519918"
},
{
"address_line_1": "45 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "45",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "45 Beresford Road, London, E17 4LN",
"udprn": "8128185",
"uprn": "100023696220"
},
{
"address_line_1": "First Floor Flat",
"address_line_2": "45 Beresford Road",
"building_name": null,
"building_number": "45",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat, 45 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519922"
},
{
"address_line_1": "Ground Floor Flat",
"address_line_2": "45 Beresford Road",
"building_name": null,
"building_number": "45",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat, 45 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519923"
},
{
"address_line_1": "47 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "47",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "47 Beresford Road, London, E17 4LN",
"udprn": "8128186",
"uprn": "100022519927"
},
{
"address_line_1": "First Floor Flat 2",
"address_line_2": "47 Beresford Road",
"building_name": null,
"building_number": "47",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat 2, 47 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "10009143854"
},
{
"address_line_1": "Ground Floor Flat 1",
"address_line_2": "47 Beresford Road",
"building_name": null,
"building_number": "47",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat 1, 47 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "10009143168"
},
{
"address_line_1": "49 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "49",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "49 Beresford Road, London, E17 4LN",
"udprn": "8128173",
"uprn": "100023696222"
},
{
"address_line_1": "Flat 1",
"address_line_2": "49 Beresford Road",
"building_name": null,
"building_number": "49",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Flat 1, 49 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "200001448570"
},
{
"address_line_1": "Flat 2",
"address_line_2": "49 Beresford Road",
"building_name": null,
"building_number": "49",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Flat 2, 49 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "200001448571"
},
{
"address_line_1": "51 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "51",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "51 Beresford Road, London, E17 4LN",
"udprn": "8128187",
"uprn": "100022519940"
},
{
"address_line_1": "53 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "53",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "53 Beresford Road, London, E17 4LN",
"udprn": "8128188",
"uprn": "100022519943"
},
{
"address_line_1": "55 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "55",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "55 Beresford Road, London, E17 4LN",
"udprn": "8128189",
"uprn": "100022519946"
},
{
"address_line_1": "57 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "57",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "57 Beresford Road, London, E17 4LN",
"udprn": "8128190",
"uprn": "100022519950"
},
{
"address_line_1": "59 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "59",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "59 Beresford Road, London, E17 4LN",
"udprn": "8128191",
"uprn": "100022519954"
},
{
"address_line_1": "61 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "61",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "61 Beresford Road, London, E17 4LN",
"udprn": "8128192",
"uprn": "100022519958"
},
{
"address_line_1": "63 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "63",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "63 Beresford Road, London, E17 4LN",
"udprn": "8128193",
"uprn": "100022519962"
}
],
"count": 32,
"observed_at_ms": 1791923122162,
"postcode": "E17 4LN",
"source_url": "https://www.uswitch.com/broadband/uprn-lookup"
}Uswitch broadband
Lookup addresses
You have a UK postcode and need the uprn of a specific address before searching deals. Fails with not_found for a postcode Royal Mail does not know.
POST
https://api.aisa.one
/
apis
/
v1
/
uswitch-com
/
products
/
lookup-addresses
Lookup addresses
curl --request POST \
--url https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"postcode": "E17 4LN"
}
'import requests
url = "https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses"
payload = { "postcode": "E17 4LN" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({postcode: 'E17 4LN'})
};
fetch('https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses', 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://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'postcode' => 'E17 4LN'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses"
payload := strings.NewReader("{\n \"postcode\": \"E17 4LN\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"postcode\": \"E17 4LN\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"postcode\": \"E17 4LN\"\n}"
response = http.request(request)
puts response.read_body{
"addresses": [
{
"address_line_1": "Chapel End Infant School",
"address_line_2": "3 Beresford Road",
"building_name": null,
"building_number": "3",
"is_domestic": false,
"organisation": "CHAPEL END INFANT SCHOOL",
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Chapel End Infant School, 3 Beresford Road, London, E17 4LN",
"udprn": "8128172",
"uprn": "200001448611"
},
{
"address_line_1": "63A Beresford Road",
"address_line_2": null,
"building_name": "63A",
"building_number": null,
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "63A Beresford Road, London, E17 4LN",
"udprn": "57339088",
"uprn": "10095407016"
},
{
"address_line_1": "1 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "1",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "1 Beresford Road, London, E17 4LN",
"udprn": "8128175",
"uprn": "100022519833"
},
{
"address_line_1": "27 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "27",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "27 Beresford Road, London, E17 4LN",
"udprn": "8128176",
"uprn": "100022519883"
},
{
"address_line_1": "29 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "29",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "29 Beresford Road, London, E17 4LN",
"udprn": "8128177",
"uprn": "100022519887"
},
{
"address_line_1": "31 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "31",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "31 Beresford Road, London, E17 4LN",
"udprn": "8128178",
"uprn": "100022519892"
},
{
"address_line_1": "33 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "33",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "33 Beresford Road, London, E17 4LN",
"udprn": "8128179",
"uprn": "100022519896"
},
{
"address_line_1": "35 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "35",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "35 Beresford Road, London, E17 4LN",
"udprn": "8128180",
"uprn": "100022519900"
},
{
"address_line_1": "37 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "37",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "37 Beresford Road, London, E17 4LN",
"udprn": "8128181",
"uprn": "100022519904"
},
{
"address_line_1": "39 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "39",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "39 Beresford Road, London, E17 4LN",
"udprn": "8128182",
"uprn": "100022519908"
},
{
"address_line_1": "41 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "41",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "41 Beresford Road, London, E17 4LN",
"udprn": "8128183",
"uprn": "100023696218"
},
{
"address_line_1": "First Floor Flat",
"address_line_2": "41 Beresford Road",
"building_name": null,
"building_number": "41",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat, 41 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519912"
},
{
"address_line_1": "Ground Floor Flat",
"address_line_2": "41 Beresford Road",
"building_name": null,
"building_number": "41",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat, 41 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519913"
},
{
"address_line_1": "43 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "43",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "43 Beresford Road, London, E17 4LN",
"udprn": "8128184",
"uprn": "100023696219"
},
{
"address_line_1": "First Floor Flat",
"address_line_2": "43 Beresford Road",
"building_name": null,
"building_number": "43",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat, 43 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519917"
},
{
"address_line_1": "Ground Floor Flat",
"address_line_2": "43 Beresford Road",
"building_name": null,
"building_number": "43",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat, 43 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519918"
},
{
"address_line_1": "45 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "45",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "45 Beresford Road, London, E17 4LN",
"udprn": "8128185",
"uprn": "100023696220"
},
{
"address_line_1": "First Floor Flat",
"address_line_2": "45 Beresford Road",
"building_name": null,
"building_number": "45",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat, 45 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519922"
},
{
"address_line_1": "Ground Floor Flat",
"address_line_2": "45 Beresford Road",
"building_name": null,
"building_number": "45",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat, 45 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "100022519923"
},
{
"address_line_1": "47 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "47",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "47 Beresford Road, London, E17 4LN",
"udprn": "8128186",
"uprn": "100022519927"
},
{
"address_line_1": "First Floor Flat 2",
"address_line_2": "47 Beresford Road",
"building_name": null,
"building_number": "47",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "First Floor Flat 2, 47 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "10009143854"
},
{
"address_line_1": "Ground Floor Flat 1",
"address_line_2": "47 Beresford Road",
"building_name": null,
"building_number": "47",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Ground Floor Flat 1, 47 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "10009143168"
},
{
"address_line_1": "49 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "49",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "49 Beresford Road, London, E17 4LN",
"udprn": "8128173",
"uprn": "100023696222"
},
{
"address_line_1": "Flat 1",
"address_line_2": "49 Beresford Road",
"building_name": null,
"building_number": "49",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Flat 1, 49 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "200001448570"
},
{
"address_line_1": "Flat 2",
"address_line_2": "49 Beresford Road",
"building_name": null,
"building_number": "49",
"is_domestic": true,
"organisation": null,
"post_town": "Walthamstow",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "Flat 2, 49 Beresford Road, Walthamstow, E17 4LN",
"udprn": null,
"uprn": "200001448571"
},
{
"address_line_1": "51 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "51",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "51 Beresford Road, London, E17 4LN",
"udprn": "8128187",
"uprn": "100022519940"
},
{
"address_line_1": "53 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "53",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "53 Beresford Road, London, E17 4LN",
"udprn": "8128188",
"uprn": "100022519943"
},
{
"address_line_1": "55 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "55",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "55 Beresford Road, London, E17 4LN",
"udprn": "8128189",
"uprn": "100022519946"
},
{
"address_line_1": "57 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "57",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "57 Beresford Road, London, E17 4LN",
"udprn": "8128190",
"uprn": "100022519950"
},
{
"address_line_1": "59 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "59",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "59 Beresford Road, London, E17 4LN",
"udprn": "8128191",
"uprn": "100022519954"
},
{
"address_line_1": "61 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "61",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "61 Beresford Road, London, E17 4LN",
"udprn": "8128192",
"uprn": "100022519958"
},
{
"address_line_1": "63 Beresford Road",
"address_line_2": null,
"building_name": null,
"building_number": "63",
"is_domestic": true,
"organisation": null,
"post_town": "London",
"postcode": "E17 4LN",
"street": "Beresford Road",
"summary_line": "63 Beresford Road, London, E17 4LN",
"udprn": "8128193",
"uprn": "100022519962"
}
],
"count": 32,
"observed_at_ms": 1791923122162,
"postcode": "E17 4LN",
"source_url": "https://www.uswitch.com/broadband/uprn-lookup"
}Request contract
- Method and path: POST /apis/v1/uswitch-com/products/lookup-addresses
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses
{
"operationId": "uswitch-com.products.lookup-addresses",
"method": "POST",
"path": "/apis/v1/uswitch-com/products/lookup-addresses",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"postcode": "E17 4LN"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"postcode": {
"description": "Full UK postcode, e.g. 'E17 4LN' (case and inner space are normalised). Pattern: ^[A-Za-z]{1,2}[0-9][0-9A-Za-z]?\\s*[0-9][A-Za-z]{2}$.",
"type": "string"
}
},
"required": [
"postcode"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
List the addresses (with UPRNs) at a UK postcode from Uswitch's address lookup. Step one of a postcode comparison: pick the address, then call search_deals with its uprn.
The response contains the tool result directly.
The provider identifies addresses as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
address_line_1 | string | |
address_line_2 | string | |
building_name | string | |
building_number | string | |
is_domestic | boolean | True for residential delivery points. |
organisation | string | Organisation name for non-residential delivery points. |
post_town | string | |
postcode | string | |
street | string | |
summary_line | string | Full one-line address as Uswitch shows it. |
udprn | string | Royal Mail Unique Delivery Point Reference Number. |
uprn | string | Unique Property Reference Number; pass it with the postcode to search_deals. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.