Google has documented an official full-web search API, and it is partner-only
Google refreshed the overview page and four related pages for its Web Search Service API on 9 September. Every request needs a Google Cloud project, an API key, a client ID tied to a partner agreement, and the user's IP address. One primary method, Search, performs a "full web search" and returns JSON over REST or gRPC, up to 20 results per request and 10 by default. The documentation calls its audience "programmatic partners" and says nothing about how a company becomes one, what it costs, or what the query limits are. The backdrop is the Custom Search JSON API shutting down on 1 January 2027, which also catches Programmable Search Element users searching across more than 50 domains.