So It's hard to write a proper title, I will do my best to explain.
The thing I'm looking for, is a simple way to Directly load the top link google present's my as if I would google a certain term.
Imagine this -> User gives the input "BMW x5" in the text box and clicks on "submit".
As a result I have an Iframe on my webpage that will have it's source set to the url that is the top result in google.com .
To make clear my Iframe will not load google.com with as search parameters "BMX x5" instead it will directly load the top listed page.
Is this possible?
Have a look at this code:
https://productforums.google.com/forum/#!topic/customsearch/Iyv7_wswlqk
You need to copy this to a page of its own and target your iframe - however it is possible that google will not allow that.
If that is the case, then you need to have a proxy on your server that parses the search result and redirects to the first link