API Reference
Search…
Filtering addresses
Below is a list of attributes available for filtering addresses.
Attribute
Type
type
string
propertyNumber
string
buildingName
string
line
string
city
string
state
string
country
string

Example - Get all addresses for one type

In the example below, we will request to get all addresses that are of type main.
cURL
Python
PHP
.NET
curl -X GET https://api.complycube.com/v1/addresses?clientId={:clientId}&type=main \
-H 'Authorization: <YOUR_API_KEY>'
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
filtered = cc_api.addresses.list('CLIENT_ID',city='London')
use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$filtered = $ccapi->address()->list($clientId , ['city' => 'London']);
using ComplyCube.Net;
using ComplyCube.Net.Resources.Addresses;
var addressApi = new AddressApi(new ComplyCubeClient("<YOUR_API_KEY>"));
var filter = new AddressRequest { city = "London" };
var address = await addressApi.ListAsync("CLIENT_ID", filter);
Copy link