Site icon DataForSEO

How to get top 10 results from Google with SERP API?

If you wish to limit the number of results you receive to the top 10, you should use the “depth” parameter in the body of your POST request, and specify 10 in it.

Example:

[
    {
        "language_code": "en",
        "location_code": 2840,
        "keyword": "ice latte",
        "depth": 10
    }
]

Note that your account will be billed per each SERP containing up to 100 results. In other words, the cost of tasks with the “depth” parameter set to less than 100 will be the same as for the tasks returning the default 100 results.

If you do not use the “depth” parameter in the body of your POST request, we will return 100 SERP results by default.

Learn more about the cost of SERP API tasks >>

Exit mobile version