Keyword in google search using php and json

how can I find the position of a word in a Google search on my site (for example, there are several tools available that enter both the keyword and the site and display the position of the keyword in Google) is there an api to get the position?

thanks

+6
api php
source share
3 answers

I don’t think Google provides an API to do just that, however you can use their Search API to scroll through the results to search and find links to your site. Then you just need to see what the result is.

+1
source share

For those who googles in this thread, the link to the Arda Xi post goes to their outdated (but probably was awesome) API.

The deprecation notice even states:

  ... Therefore, we encourage you to move to the new Custom Search API.

As of July 2012, you should be using the custom search API . I don’t know yet, but it seems that even if you just want to access the json API, you at least need this user search engine identifier as well as your API key. Still learning yet to come.

+1
source share

They use data scraper technology to track the position of a keyword in a Google search engine. you can see the scraper article for data here How to implement a web scraper in PHP?

thanks

+1
source share

All Articles