Cam Norgate Cam Norgate - 1 year ago 68
Ruby Question

Is there a ruby gem to get the search ranking of a URL for a given keyword with Google, Bing or Yahoo?

I am trying to find a gem that will help me get the search ranking of a URL with the popular search engines. I've done a little digging and found some outdated ruby gems - namely:

Keyword Ranking:


Both seem to be over 2-3 years old and don't seem to be working (i.e. when I install the gem, create a ruby script and run it, I get nothing returned) - is there a more recent gem that I should be using for this? Thoughts on how to get this data through ruby / rails?

Thanks in advance!

Answer Source

Scraping Google SERP is not allowed by Google long time ago. They use every methods to stop this kind of actions. There were lots of tools before in different programming languages but none of them could last long. Some tools installed on personal computer could be used but not very stable.

Also, as I knew one years ago, there is no API available for such querying.

I suggest you give up this idea to collect rank data. It's not wise to fight against Google.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download