Google search

I want to embed google search in my website so that it returns me a structured list.I want to use that list to get the most trending page based on key word and use its information like pic,date it is published etc from topmost result.

What is the most suitable api for this?

If you are talking about the whole web then google does not provide the API.

If you are talking about the context of your site then Google Custom Search API can be used.