1

Following the example written in here.

  1. How can I retrieve each of the search result URL, anybody has an idea?
  2. How can I limit the search result to lets say 5 results?

1 Answer 1

1
  1. How can I retrieve each of the search result URL, anybody has an idea?

Here you find the description of the reponse object, the search result URLs are in items[].link

  1. How can I limit the search result to lets say 5 results?

You can pass a "num" parameter

enter image description here

RTM :P

Sign up to request clarification or add additional context in comments.

2 Comments

By the way do you know if it's okay that results I get through this api are not the same as I search for through google.com? My custom search is searching in google.com, but when browsing to google.com and after enetering the same phrase - different results appear
Google use additional metadata based on the user that gse, in my opinion, doesn't use :)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.