It's a little more involved than just having proxies in Pakistan. I'm quite sure Google has some protections against bots and scraping and SerpAPI's team unfailingly seems to work around those restrictions.
They are comically good at scraping a lot of things on the internet (ie. LinkedIn profiles), they have a scraping service you can setup, literally, just point it at a url. I am talking about Brightdata.
SerpApi now offers Extract API to scrape pretty much anything so you don't need to stitch together something yourself anymore.
The most impressive thing about SerpApi is their legal team. The technical side is all trivial.