QuestionLast Updated: March 15, 2013
We have an existing thirty- or forty-thousand addresses that we'd like to have cleaned up and then verify any new ones as we receive them. How can we do this with the API?
There are a few ways to do this, but the best way may not be to use LiveAddress API for all of it. It might be more affordable to use LiveAddress for Lists for the first part, and use the API for the last part. It's simple. Here's how it might work:
Cleanse your existing addresses. You can do this a few ways.
- Using LiveAddress for Lists, upload your existing address file manually on our website and download the results.
- Using LiveAddress for Lists, write a script or program that uploads and downloads a list file automatically.
- Using LiveAddress API, write a script or program that goes through each address in your list and appends it to a query. Submit a query after 100 addresses have been appended, then repeat. (You can submit up to 100 addresses per API request.) How exactly this is done depends entirely on your software, platform, and resources. Consult your local IT guys or do some Googling to find something that works for you.
Cleanse any new, incoming addresses. Use the API at your system's point-of-entry to capture addresses as they come in. This way you can save the valid addresses without ever having to worry about invalid data in your organization.
If you have further questions, we can probably help. Feel free to contact us about which product will meet your needs the best.