NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

Web scraping

CAPTCHAs in search result scraping

Search engines guard their result pages closely, so rank trackers meet CAPTCHAs sooner than most scrapers. Good pacing and query design prevent most of them; the remainder can be solved as part of the pipeline.

Why search pages are strict

A search engine results page is expensive to produce and valuable to copy. Each query runs through ranking systems, ads and personalization, and automated query floods have long been used for ranking manipulation and ad fraud. So search engines watch query traffic closely, and the threshold at which they ask for proof is lower than on most content sites. A rank tracker that would run for days on a retail site can meet a challenge within minutes on a search page if it is careless.

The legitimate uses are well established: tracking where your own pages rank, watching competitors' visibility for your keywords, checking local results across cities, and auditing which ads appear for brand terms. These are monitoring tasks, and they tolerate a careful pace.

What a sorry page means

When Google decides traffic from an address looks automated, it typically redirects the query to an interstitial page explaining that unusual traffic was detected, with a reCAPTCHA v2 widget to continue. Rank trackers call it the sorry page after its URL path. It is not a permanent ban. It says this address, right now, needs proof before it gets more results. Repeated sorry pages, or ones that come back immediately after a valid answer, mean the address or pattern is badly flagged. The article on the unusual traffic message explains the triggers in detail.

Other search engines have their own versions of this check page, with their own widgets. The principle is the same: a challenge on a result page is a rate and reputation signal for the address.

Prevention: pacing

The query rate per address is the strongest single trigger. Real people run a handful of searches in a session, spaced by reading time. A tracker running a query every second from one address is obvious.

  • Space queries per address. Think in queries per address per hour, not per second. Start low and increase only while challenges stay rare.
  • Spread the schedule. If you track 10,000 keywords daily, spread them across the day rather than in a morning burst.
  • Back off on the first challenge. One sorry page is a cue to slow that address for a while, not to retry instantly.

Prevention: query design

The fastest query is the one you do not send.

  • Request more results per page where possible. Pulling deeper results in fewer requests reduces volume for the same coverage, where the engine still supports it.
  • Track at the right frequency. Positions for long tail terms rarely change hourly. Daily or weekly checks for stable keywords free capacity for the volatile ones.
  • Deduplicate across clients. If several projects track the same keyword in the same location, run it once and share the result.
  • Avoid unusual operators in bulk. Large volumes of queries with advanced search operators look like automated reconnaissance and attract challenges faster.

Prevention: location and identity

Results depend on location, so trackers send queries from many regions. Make each identity consistent with its region: an address in the target city or country, a matching language parameter and interface language, and a browser locale that fits. Use location parameters the engine supports rather than relying only on address geography. A query from a datacenter address in one country asking for local results in another country is a combination real users rarely produce.

Use residential or mobile addresses for search work; datacenter ranges are challenged far more often on major engines. Keep each address on a short session with its own cookies, and do not share cookies between addresses.

Solving the challenges that remain

Even a well tuned tracker meets some challenges, and solving them keeps the schedule intact. The flow for a sorry page with a reCAPTCHA v2 widget:

  1. Detect it: the response redirects to the check page, or contains the widget with a data-sitekey attribute.
  2. Read the site key from the widget markup, and note the exact URL of the check page, since that is the page the token belongs to.
  3. Create a reCAPTCHA v2 task with the page URL and site key. Because the check is about the address, the proxy task type with the same proxy as the tracker is the safer choice here.
  4. Submit the returned gRecaptchaResponse through the page's form, from the same address, and keep the cookies it sets.
  5. Continue at a slower pace on that address.

Each solve costs $0.56 per 1,000 and is charged only when it succeeds. Sorry pages that reappear immediately after a valid answer are a sign to retire the address for search work, not to keep solving.

A realistic budget

Plan the CAPTCHA line from your own measured challenge rate. Run a pilot at the pace you intend, count challenges per 1,000 queries, and multiply by the price per 1,000 solves. If the measured rate is high, fix pacing and addresses first; solving through a poorly tuned setup costs more and gets worse over time. The cost guide walks through the arithmetic with token prices.

Parsing results reliably

Search result markup changes often and differs by query type: organic results, ads, maps packs, featured snippets, video carousels. Validate each parse: a result page with zero organic results for a popular keyword is more likely a check page or a layout change than a real empty result. Store raw HTML for a sample of queries so you can re-parse after a markup change without re-querying.

Browser or plain HTTP for result pages

Classic result pages still arrive as server-rendered HTML for many queries, so a plain HTTP client with a browser-grade TLS handshake can read them quickly and cheaply. Some result features, though, load through scripts after the first response, and the layout you receive can depend on whether scripts run. Decide by what you track: organic positions often work fine without rendering, while rich features and some local packs need a real browser. Running a browser costs more per query in memory and time, so many trackers use plain requests by default and render only the query types that need it.

Keep it within bounds

Monitor rankings; do not try to manipulate them. Generating fake clicks, automated query floods meant to influence suggestions, and ad click fraud are abuse that search engines fight hard, and solving their CAPTCHAs for those purposes is not an acceptable use of GateSolver. Rank tracking for your own sites and market research at a sensible pace are exactly the jobs this approach is built for.

Common questions

How many search queries can one address run safely?

There is no published number, and it changes. Measure it: start at a slow rate, track challenges per 1,000 queries, and raise the rate only while they stay rare.

Is the sorry page a ban?

No. It is a temporary request for proof tied to the address. Solving it lets the session continue, but repeated sorry pages mean the address is flagged.

Should I use a proxyless task for search engine CAPTCHAs?

The search check is about your address, so a proxy task using the same proxy as the tracker is usually the safer choice.

Why does my parser return no results for some keywords?

Often the response was a check page or a new layout. Validate parses and save raw HTML so you can tell which.

Do datacenter proxies work for rank tracking?

They are challenged much more on major search engines. Residential or mobile addresses are the common choice for search work.

Keep reading