Site icon DataForSEO

Can I get the total number of results from Google?

Google’s Results Estimates

In the response of our SERP API, check the se_results_count field. It will show you Google’s estimate of results for your search query, like the astronomical number shown in the example screenshot below.

Real Total Number of Results

It’s important to note that the actual number of results displayed by Google is drastically different from the estimate. Yet, with the DataForSEO’s SERP API, you can get the actual total number of search results in the items_count field of API response if you use these settings.

{
  "version": "0.1.20230825",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "0.1242 sec.",
  "cost": 0,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "11131403-1535-0066-0000-50f99dfc55e9",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.0579 sec.",
      "cost": 0,
      "result_count": 1,
      "path": [
        "v3",
        "serp",
        "google",
        "organic",
        "task_get",
        "advanced",
        "11131403-1535-0066-0000-50f99dfc55e9"
      ],
      "data": {
        "api": "serp",
        "function": "task_get",
        "se": "google",
        "se_type": "organic",
        "language_code": "en",
        "location_code": 2840,
        "keyword": "bill gates",
        "priority": 2,
        "depth": "700",
        "search_param": "filter=0",
        "device": "desktop",
        "os": "windows"
      },
      "result": [
        {
          "keyword": "bill gates",
          "type": "organic",
          "se_domain": "google.com",
          "location_code": 2840,
          "language_code": "en",
          "check_url": "https://www.google.com/search?q=bill%20gates&num=100&hl=en&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&filter=0&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "datetime": "2023-11-13 13:54:40 +00:00",
          "spell": null,
          "item_types": [
            "knowledge_graph",
            "organic",
            "people_also_ask",
            "top_stories",
            "video",
            "people_also_search",
            "related_searches",
            "images"
          ],
          "se_results_count": 259000000,
          "items_count": 327,
          "items": [...]
        }
      ]
    }
  ]
}

Exit mobile version