Official: https://developers.google.com/people/api/rest/v1/people/searchContacts?utm_source=chatgpt.com
In real life:
A practical guide to read your Google Contacts using the People API in the terminal. Assumption: You have a Google Cloud project with the People API enabled and a Desktop app OAuth Client ID ready.