Format for a url that goes to Google image search?
http://www.google.com/search?q=<SEARCH TERM>&tbm=isch
The tbm=isch
is the internal google search parameter that determines what kind of search to perform. There doesn't seem to be any official documentation on it, but this page has a decent write up:
Google Search Request Params
EDIT:
It looks like if you don't include the "/search" part of the string, it fills the google searchbox, but doesn't actually execute the search.
Use the "images" keyword instead of "search" (this should also work for "videos", "maps", etc.)
http://www.google.com/images?q=your+search+terms
https://productforums.google.com/d/msg/websearch/No-YWMdgFp8/l_SNghlwCV0J
Update
Following Chris F Carroll's comment below, I had a look with Fiddler. The /images
request results in a 301 (moved permanently) response with the redirect URL in the format www.google.com/search?q=search+terms&tbm=isch
as described by other answers here.
Contrary to what I said above (taken from the linked article), the /video
request doesn't work. /maps
does work, and doesn't result in a redirect.
- url:
https://www.google.com/search?tbm=isch&q=findSomeImage
, - Nothing official that I'm aware of, but this blog has some documentation.
- Nope, no limit you should worry about if you're manually clicking the urls. (I'm sure google has some kind of flood protection against bots, though)
So, the only change you have to make, is to add the tbm=isch
option to your urls.
Please use below URL for google image search
http://images.google.com/images?um=1&hl=en&safe=active&nfpr=1&q=your_search_query
Replace your_search_query with your own search term. Please note this url will behave differently according to the user agent. Google can identify whether this request comes from a browser or a bot
Also note you can add another query string to navigate through this image search
http://images.google.com/images?um=1&hl=en&safe=active&nfpr=1&q=your_search_query&start=30
This will make the search start from 3rd page. I hope this helps somebody.