How about AMP Pages Validation. If I recall, an API is already available.