How to track rankings with SERP API?
in
By default, DataForSEO SERP API supplies up to 100 top results for the specified keyword from the search engine you selected. If you need to retrieve data only on a specific website to check its ranking position, you can easily do so with:
1 A target
parameter available when setting Live Google Organic SERP API tasks;
2 Our pre-made script that can be applied to a wide range of search engines.
The script is available for PHP and Python. It should be stored on your server. When you will be setting a task, you should add tag
and pingback_url
parameters to the body of the POST request and specify them as follows:
- Use
tag
to define the domain, URL, or web page you need data on - Use
pingback_url
to provide the URL path to our script stored on your server
Once the task you set is completed, you will receive the pingback.php file with the required results to your server.