Google Images Suggestions API
Returns the autocomplete suggestions Google Images offers for a partial image-search query, most popular first.
https://api.maviapi.com/v1/sites/images-google/suggestions25 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
qstring in query | Optional | red fox | the partial search text to complete |
hlstring in query | Optional | en | interface language code, e.g. en, fr, de |
glstring in query | Optional | us | two-letter country code that biases the suggestions, e.g. us, gb, fr |
Response fields
querye.g."red fox"suggestionsExample request
Set MAVI_KEY to your API key. A successful call costs 25 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/images-google/suggestions' \
-H "Authorization: Bearer $MAVI_KEY"Google Images Suggestions API questions
What you get, what it costs and how to call it.
What does the Google Images Suggestions API return?
Returns the autocomplete suggestions Google Images offers for a partial image-search query, most popular first. The response has query and suggestions.
Which parameters does the Google Images Suggestions API take?
Every parameter of GET /suggestions is optional. You can pass q, hl and gl.
How much does one Google Images Suggestions API call cost?
One successful call costs 25 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $4.90. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the Google Images Suggestions API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/images-google/suggestions with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the Google Images Suggestions API official?
No. It is an independent, hosted API from maviapi for the public data on images.google.com, and it is not made, endorsed or supported by Google Images. Its parameters and response fields are documented on this page.