Skip to content

Comments

fix: fetch Google SERP multiple pages#2244

Merged
danpoletaev merged 6 commits intomasterfrom
fix/google-serp-multiple-pages
Feb 17, 2026
Merged

fix: fetch Google SERP multiple pages#2244
danpoletaev merged 6 commits intomasterfrom
fix/google-serp-multiple-pages

Conversation

@danpoletaev
Copy link
Contributor

@danpoletaev danpoletaev commented Feb 12, 2026

This PR updated our documentation to include information about how to fetch multiple pages from Google in 1 request


Note

Low Risk
Documentation-only change with no runtime or behavioral impact to the proxy/service.

Overview
Updates google_serp_proxy.md to clarify pagination behavior for Google SERP requests.

Documents that Google’s num query parameter is deprecated/ignored, and introduces a supported numPages parameter (1–10) that fetches multiple result pages in one request, including pricing implications and an alternative using Google’s start parameter.

Written by Cursor Bugbot for commit 41ac9ee. Configure here.

@danpoletaev danpoletaev self-assigned this Feb 12, 2026
@danpoletaev danpoletaev requested a review from TC-MO as a code owner February 12, 2026 12:42
@danpoletaev danpoletaev added the adhoc Ad-hoc unplanned task added during the sprint. label Feb 12, 2026
@github-actions github-actions bot added the t-unblocking Issues with this label are in the ownership of the unblocking team. label Feb 12, 2026
@apify-service-account
Copy link

Preview for this PR was built for commit 41ac9ee and is ready at https://pr-2244.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit 5fe1a3c and is ready at https://pr-2244.preview.docs.apify.com!

@apify-service-account
Copy link

Preview for this PR was built for commit f38cb7a1 and is ready at https://pr-2244.preview.docs.apify.com!

@bliuchak
Copy link
Contributor

@danpoletaev just out of curiosity, could you run that copy-skill for this docs, that was introduced at our last all-hands by docs team? :)

@apify-service-account
Copy link

Preview for this PR was built for commit c54a9d67 and is ready at https://pr-2244.preview.docs.apify.com!

@TC-MO
Copy link
Contributor

TC-MO commented Feb 13, 2026

I noticed yesterday that we had slightly wrong folder structure for skills to be available for Claude Code, I merged master cause we've pushed a fix for that

@apify-service-account
Copy link

Preview for this PR was built for commit babbe661 and is ready at https://pr-2244.preview.docs.apify.com!

@marcel-rbro
Copy link
Contributor

I'm not sure of the review skill checks this, but there's a typo in the PR title: mutliple -> multiple

@danpoletaev danpoletaev changed the title fix: fetch Google SERP mutliple pages fix: fetch Google SERP multiple pages Feb 13, 2026
@danpoletaev
Copy link
Contributor Author

I'm not sure of the review skill checks this, but there's a typo in the PR title: mutliple -> multiple

Fixed

Copy link
Contributor

@bliuchak bliuchak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!


## Fetch more than one page of results

By default, Google returns up to _10 search results per page_. To retrieve additional results beyond the first page, use the `numPages` query parameter. This allows you to fetch multiple pages of search results in a single request.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence feels like filler, we already convey that you can fetch more in previous one

Suggested change
By default, Google returns up to _10 search results per page_. To retrieve additional results beyond the first page, use the `numPages` query parameter. This allows you to fetch multiple pages of search results in a single request.
By default, Google returns up to _10 search results per page_. To retrieve additional results beyond the first page, use the `numPages` query parameter.

Copy link
Contributor

@TC-MO TC-MO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes requested

I've simplified the language a bit
got rid of double admonition
removed filler words/phrases

:::

:::info Manual pagination with the `start` parameter
You can also use Google's `start` parameter to handle pagination manually. The `start` parameter specifies the index of the first result (e.g., `start=10` for page 2, `start=20` for page 3).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can also use Google's `start` parameter to handle pagination manually. The `start` parameter specifies the index of the first result (e.g., `start=10` for page 2, `start=20` for page 3).
Use Google's `start` parameter to handle pagination manually. The `start` parameter specifies the index of the first result (e.g., `start=10` for page 2, `start=20` for page 3).

Google has deprecated the `num` query parameter, which previously controlled the number of results displayed per page.

:::caution Ignored parameter
If you include the `num` parameter in your requests, it will be completely ignored. Google no longer supports this parameter, and Google SERP proxy does not process it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you include the `num` parameter in your requests, it will be completely ignored. Google no longer supports this parameter, and Google SERP proxy does not process it.
If you include the `num` parameter in your requests, it will be ignored. Google no longer supports this parameter, and Google SERP proxy does not process it.

Comment on lines 78 to 84
:::caution Pricing for multi-page requests
Each page counts as a separate request. A request with `numPages=10` is priced as 10 requests.
:::

:::info Manual pagination with the `start` parameter
You can also use Google's `start` parameter to handle pagination manually. The `start` parameter specifies the index of the first result (e.g., `start=10` for page 2, `start=20` for page 3).
:::
Copy link
Contributor

@TC-MO TC-MO Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double admonition is really bad practice. I recommend we keep :::caution admonition and remove :::info by remaking it into general prose

Suggested change
:::caution Pricing for multi-page requests
Each page counts as a separate request. A request with `numPages=10` is priced as 10 requests.
:::
:::info Manual pagination with the `start` parameter
You can also use Google's `start` parameter to handle pagination manually. The `start` parameter specifies the index of the first result (e.g., `start=10` for page 2, `start=20` for page 3).
:::
:::caution Pricing for multi-page requests
Each page counts as a separate request. A request with `numPages=10` is priced as 10 requests.
:::
Use Google's `start` parameter to handle pagination manually. The `start` parameter specifies the index of the first result (e.g., `start=10` for page 2, `start=20` for page 3).


When you specify `numPages`, the proxy makes multiple requests in the background and merges them into a single HTML response.

### Usage
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Usage
### `numPages` parameter

If you include the `num` parameter in your requests, it will be completely ignored. Google no longer supports this parameter, and Google SERP proxy does not process it.
:::

To retrieve more than 10 results, use the `numPages` parameter described above instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not use directional language

Suggested change
To retrieve more than 10 results, use the `numPages` parameter described above instead.
To retrieve more than 10 results, use the `numPages` parameter described before instead.

@apify-service-account
Copy link

Preview for this PR was built for commit aad4da2a and is ready at https://pr-2244.preview.docs.apify.com!

@danpoletaev danpoletaev requested a review from TC-MO February 16, 2026 09:36
@danpoletaev danpoletaev merged commit fad13e7 into master Feb 17, 2026
13 checks passed
@danpoletaev danpoletaev deleted the fix/google-serp-multiple-pages branch February 17, 2026 12:25
@bliuchak bliuchak added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-unblocking Issues with this label are in the ownership of the unblocking team. validated Issues that are resolved and their solutions fulfill the acceptance criteria.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants