Skip to main content

Validate an address

Validates an address using passed params.

Paramaters​

address - required​

Address of property

city - required​

City of property

state - required​

State of property

zipcode - required​

Zipcode of property

Code Example​

POST - https://api.particlespace.com/api/v1/property/validate/address
var axios = require('axios');
const BEARER_TOKEN = 'SET_ME';
var qs = require('qs');
var data = qs.stringify({
'address': '808 awesome street',
'city': 'kansas city',
'state': 'mo',
'zipcode': '64012'
});
var config = {
method: 'post',
url: 'https://api.particlespace.com/api/v1/property/validate/address',
headers: {
'Authorization': 'Bearer ' + BEARER_TOKEN,
'Content-Type': 'application/x-www-form-urlencoded'
},
data : data
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});

Response​

This request will return the following:

{
"verified": false
}