Google Custom Search API Reverse Image Search

Google Custom Search API Reverse Image Search

Rate this article

Share this article

An application that has many images has a need to Reverse Image Search using Google Custom Search API to get information about the images.

Look at a collection of images with missing information and require to do a Google Reverse Image Search to find names, keywords, links to similar images, etc.

Wouldn’t it then be easier to use the

https://www.google.com/searchbyimage?&image_url=<URL>

Or

https://www.google.com/searchbyimage?site=search&sa=X&image_url={YOUR_IMAGE_URL}

These would actually mean scraping the results, which is against the TOS.

What are some good image search APIs? - Quora

Another way to do this is by using the Google Custom Search API GET https://www.googleapis.com/customsearch/v1?key=INSERT_YOUR_API_KEY&cx=017576662512468239146:omuauf_lfve&q=lectures

was given by Google in their documentation, Image if it was possible to POST the previous URL’s similarly.

Unfortunately, the current API’s do not have any mention of reverse image search functionality. Google-custom-search doesn’t provide that facility. The other API set from the developer’s site also does not allow reverse image search thru API from Google.

To do the Reverse search use the paid APIs from some vendors.

TinEye API https://services.tineye.com/TinEyeAPI

Incandescent API http://incandescent.xyz/pricing/

Custom search engines are not just limited Images, you can try ExpertRec Custom Search Engine for all the custom needs.

Here we will visit the steps required to add the ExpertRec Custom search engine to your website. This is one of the easiest setup processes of all the available options out there and is highly recommended.

  1. Navigate to https://cse.expertrec.com/newuser?platform=cse and signup with your Google ID.
  2. Enter your website’s URL when prompted. You can select a server location near you and add the URL of your sitemap if you wish to. These will be auto-detected otherwise.
  3. You can play around with the settings and customize the UI as the crawl runs. Once it is complete, you can check out a fully functional demo before taking the search to your website.
  4. You can take the search to your website with little to no effort. All you need to do is to paste the code snippet available on the dashboard on your website.

Add Search to your Website

 

ExpertRec comes with more customization options that you can explore. You can read this article to find a more detailed guide on the installation and configuration.

Learn more about Reverse Search API TinyEye in the video

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like