Record Validation offers a REST API that can be used to validate and format phone numbers, email addresses, and postal addresses from any programming language.
The API documentation can be found via swaggerhub.
You need to authenticate yourself before you can use the REST API. The authentication works via the standard Salesforce Rest Authentication methods. You can read more about this via the REST API Developer Guide.