This Stackoverflow answer states that Google's Custom Search API allows to search the entire web.
I don't really care about the result order, but would like to...
On my own website, using browser JavaScript or at least NodeJS, do a image search for the whole web using filters like these and process the result in JavaScript (displaying the result on my site)
also do a reverse image search (find images similar to a specific image URL)
To be clear, I do not want to a search based on the content of my website, but instead only show the worldwide results myself.
Is that possible in a legal way (not by scraping the Google website)?
Note I'm only interested in public domain / CC0 images (Google is able to filter images by license).