5

The question is not about integrating on any website. It's about chatbots using AI

There are inbuilt domains for web search, but those are not free to use.

So I was wondering if I can query google search engine directly and process it in the backend code and return it as required?

johnrao07
  • 6,690
  • 4
  • 32
  • 55
  • Possible duplicate of http://stackoverflow.com/questions/275153/how-can-i-add-an-integrated-google-search-to-my-website – Vinay Dec 24 '16 at 06:29

1 Answers1

2

Yes. You can integrate Google Search, but you'll need to run a program (node/python) on a server that'll take the query parameters from the user and make the search and return a JSON.

Go to https://www.google.co.in/cse to make your own custom search engine. You can restrict search results from a specific website or not.

bal simpson
  • 186
  • 8