Yes, using the Google Sign-In API can be GDPR compliant, provided that you adhere to certain guidelines. Ensure that you obtain explicit consent from users before collecting their data and provide them with comprehensive information about how their data will be used. Additionally, offer an easy way for users to opt-out or request the deletion of their data.