serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
54 stars 5 forks source link

[Google Trends Trending Now API] Support filtering by status #2039

Open marm123 opened 2 weeks ago

marm123 commented 2 weeks ago

One of our users requested us to scrape results based on the status (Active or not)

image

Public links: Google Trends Trending Now

Requested by @githubfan21 in https://github.com/serpapi/public-roadmap/issues/1828#issuecomment-2417412240

tanys123 commented 1 week ago

Hi @githubfan21, we are adding active field to the JSON (as mentioned). At the meantime, you can find all the active trending search by checking if end_timestamp is absent. All the data is return in single request, so you can just do the filtering on your end. This is also how the Google Trends' Trending Now page works.