Google Local Map - SEO Ranking Grid

Has anyone tried building a local rank tracker using the Google maps/places API similar to Brightlocal at the link below? (I’m not affiliated with brightlocal and this isn’t a promo) Meaning you input a keyword + Google business ID and it shows your ranking on maps based on if you searched in that exact location.

I know of a lot of other companies who have built something similar but it should be possible with Bubble. There’s also other APIs that could do it like SerpAPI.

Any insight is appreciated!