serpapi / public-roadmap

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

[Google Finance API] Incomplete response when using the `window` parameter #1724

Open martin-serpapi opened 5 months ago

martin-serpapi commented 5 months ago

A user reported that news_results is missing in the response from our Google Finance API. I've tested it in our Playground, and only summary, key_events, and graph fields are returned in the response when the window parameter is explicitly set.

image

Playground | Inspect

The actual Google Finance engine returns complete information when the window parameter is specified:

image

Google Finance

Front | Intercom

tanys123 commented 5 months ago

Extending the window_payload with the payload below returns the news results.

["o6pODe","[[null,[\"GOOGL\",\"NASDAQ\"]]]",null,"5"]

We could possibly add more payloads like above to cover the data that's missing when window is specify.

However, there is little benefit doing so as all the data can already be retrieved (when window omitted) in one of the request.

hilmanski commented 2 months ago

A customer needs the additional data while using window parameters as well.

Front