-
If you want to get SERP results, you can use SERP APIs, like serper and others. already mentioned this in many of my videos.
if you want to get keyword search metrics, you will need to use Google API to get real data, or use third parties like Semrush, SpyFU, and others.
this is the best way to do so.