> ## Content Index
> Fetch the complete content index at: https://serpapi.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# Testing `organic_results` and the `num` parameter on SerpApi’s Organic Search with the NodeJS library
- URL: https://serpapi.com/blog/testing-organic_results-and-the-num-parameter-on-serpapis-organic-search-with-the-node-js-library/
- Published: 2021-08-27T23:18:07.000Z
- Updated: 2025-12-09T06:50:31.000Z
- Description: Testing `organic_results` and the `num` parameter on SerpApi’s Organic Search with the Node.js library
- Author: Justin O'Hara

Google has discontinued support for the num parameter since this post was originally published. For details, refer to our update: [Google Experiments With Restricting Results Per Page](https://serpapi.com/blog/google-experiments-with-restricting-results-per-page/).

In this blog I wanted to focus on a peculiar happening on Google that was reported by a user of the API. It definitely rose a couple eyebrows and this is a step by step guide to how I investigated this bug.

When one of our clients had a search query of "olympics 2021" with a `num` parameter set to 35 (which would give 35 results), only 9 results were parsed into the JSON response.

SerpApi can only scrape what is provided on Google’s HTML and while this matched the HTML, this type of search is not as niche or with additional parameters to receive so little `organic_results`.

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/1.jpeg)

JSON:

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/2.jpeg)

With some discussion from our engineers. We thought there may have been a switch to multiples of 10’s for `organic_results` 10, 20, 30, 40, 50, all the way to 100\. If you go to <https://www.google.com/preferences>, you should see:

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/3.jpeg)

Since I’ve seen the `num` parameter used all across the and have made a blog to see the maximum:

[Maximum amount of results per page across SerpApi’s supported Google enginesSerpApi can make sense of all of the results on our supported Google engines. But, the maximum amount of results per engine changes…![](https://cdn-static-1.medium.com/_/fp/icons/Medium-Avatar-500x500.svg)SerpApiJustin O’Hara![](https://miro.medium.com/max/530/1*rB0sFgbn4T_DVlyt_MT9xQ.png)](https://medium.com/serpapi/maximum-amount-of-results-per-page-across-serpapis-supported-google-engines-7dfc5a4d52cc)

[Maximum amount of results per page across SerpApi’s supported Google engines (Part 2)Following up the blog post here…![](https://cdn-static-1.medium.com/_/fp/icons/Medium-Avatar-500x500.svg)SerpApiJustin O’Hara![](https://miro.medium.com/max/842/1*uVL-q0FYT9EKvN8sz4kszw.jpeg)](https://medium.com/serpapi/maximum-amount-of-results-per-page-across-serpapis-supported-google-engine-part-2-488669942a3e)

[Maximum amount of results per page across SerpApi’s supported Google engines (Part 3)In the third installment of this series of investigating maximum amount of results per page across SerpApi’s supported Google engines, I…![](https://cdn-static-1.medium.com/_/fp/icons/Medium-Avatar-500x500.svg)SerpApiJustin O’Hara![](https://miro.medium.com/max/1200/1*22txBC3jA1UlfcrNH69oNg.jpeg)](https://medium.com/serpapi/maximum-amount-of-results-per-page-across-serpapis-supported-google-engines-part-3-6bc3c73b2449)

I created a very basic script to test if test all the `num`'s between 1–100 for our search for “coffee” in the Austin, TX area:

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/4.png)

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/5.png)

You can see with the results the requested `num` was usually 1 or 2 off from the actual results provided from the JSON.

And this worked perfectly fine, it was able to be queried with an “odd” `num` parameter between the multiple of 10.

So I ran this same testing query with our “olympics 2021” peculiar search that was brought to our attention by a customer. Also adding the `no_cache` parameter to get non-cached results.

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/6.png)

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2021/08/7.png)

Our search for “olympics 2021” is only providing at maximum 10 results. When you provide a `num` less than 10\. you get approximately that number, but anything above that…Google is just not serving that many results for this query.

You can sign-up for SerpApi here: <https://serpapi.com/>

You can find the SerpApi user forum here: <https://forum.serpapi.com/>

You can find the API documentation here: [https://serpapi.com/search-api/](https://serpapi.com/search-api)