Cloudmersive
There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

When retrieving user information such as street addresses, the formatting may be different from what is accepted standard for computer programs. This is particularly relevant when pulling information from text strings in emails or other correspondence. This API will normalize and validate input street addresses; if the address is valid, it will also return the latitude and longitude of the location.

Image for post
Image for post

To use this API, run this command to install the SDK:

npm install cloudmersive-validate-api-client --save

You can also add this snippet to your package.json:

"dependencies": {
"cloudmersive-validate-api-client": "^1.2.4"
}

Then, you can call the function:

var CloudmersiveValidateApiClient = require('cloudmersive-validate-api-client');
var defaultClient = CloudmersiveValidateApiClient.ApiClient.instance; …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store