serpapi / public-roadmap

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

[Google Images API] Add support for `imgar` parameter #1536

Open martin-serpapi opened 2 months ago

martin-serpapi commented 2 months ago

A customer reported that the tbs=iar:[s|w|t|p] does not work for filtering the results from the Google Images API by Aspect Ratio. I was able to reproduce it in the Playground:

image

Playground | Inspect

The parameter doesn't seem to work in Google either. Below is an example with the value of google_images_url from the previous response:

image

Google Images

However, using imgar=[s|w|t|p] works for filtering images by their Aspect Ratio in Google:

image

Google Images

Intercom