Addresses
This endpoint returns any address associated with the business, such as registered addresses, trading address etc.
Using geolocation data, we have also incorporated latitude and longitude coordinates into our addresses. A value in decimal degrees to 5 decimal places is precise to approximately 1 metre.

Example URL:

1
https://api2.redflagalert.net/v4/companies/01777777/addresses/
Copied!

JSON Structure:

1
{
2
"data": [{
3
"attributes": {
4
"town": "West Drayton",
5
"type": "trading",
6
"location": {
7
"lat": 51.5373252879822,
8
"lon": -0.487355421766335
9
},
10
"county": "Middlesex",
11
"postcode": "UB7 0GB",
12
"address_line_4": null,
13
"address_line_2": null,
14
"address_line_3": null,
15
"address_line_1": "Po Box 365"
16
},
17
"type": "address",
18
"id": "645323-645323"
19
}]
20
}
Copied!

Attributes

Field Key
Description
town
The town of the registered address.
type
Type of address, such as trading, registered etc.
location
A dictionary of key/value pairs containing the latitude and longitude of the business or post code.
county
The county containing the address.
postcode
The post code of the business address.
address_line_1 address_line_2 address_line_3 address_line_4
Lines of the business address. null will be returned on empty lines.
Last modified 2yr ago