As a result of Brexit, regrading VIES:
UK businesses will be able to continue to use the EU VAT number validation service to check the validity of EU businesses, but UK VAT registrations will cease to be included.
The UK Gov has an API in beta for checking VAT numbers:
https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/vat-registered-companies-api/1.0
(API access is controlled by credentials. Users must sign up for GOV UK Developer Hub)