Google Local Services Ads Scraper avatar

Google Local Services Ads Scraper

Pricing

from $1.99 / 1,000 search results

Go to Apify Store
Google Local Services Ads Scraper

Google Local Services Ads Scraper

Extracts Google Local Services advertisers when displayed and returns clearly labeled, non-sponsored service businesses from Google's local section as a fallback.

Pricing

from $1.99 / 1,000 search results

Rating

0.0

(0)

Developer

Search API

Search API

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

3

Monthly active users

22 days ago

Last modified

Features

Limited permissions

Share

Extract the publicly displayed local-service advertisers from Google's own localservices/prolist surface: business name, category, rating, review count, phone, years in business, service area, hours, highlights, response time, business photo, Google profile URL, and customer ID.

Why localservices/prolist and not the Search results page

Google's /search SERP carries zero Local Services Ads markup for a non-signed-in automated client, so the previous version could only ever report an empty result. The LSA listings are served by Google's own server-rendered https://www.google.com/localservices/prolist page, which is also the surface the LSA cards themselves link back to (/localservices/profile?…). The Actor queries that route directly with the same <service> near <location> text Google canonicalizes its own cards to.

Transport

  • Plain HTTPS (undici) — no browser, no Playwright, no Crawlee.
  • RESIDENTIAL proxy, because LSA inventory is served per market; the exit country follows the requested gl unless the caller pins one.
  • GOOGLE_SERP is rejected at input validation: that proxy group answers /localservices/prolist with HTTP 400 Unsupported Google service or resource, so a run with it can never return the route. Failing fast is deliberate.

Input

  • query: required service, such as plumber or house cleaning service.
  • location: city, state, or region appended to the query as <query> near <location>.
  • maxItems: 1–100 unique advertisers.
  • gl and hl: Google country and language codes; gl also selects the residential exit country.
  • maxRequestRetries: bounded retries (0–5), each from a fresh proxy session, for transport failures and non-result pages. Challenge pages are never solved.
  • navigationTimeoutSecs: maximum seconds for the Google Local Services response.
  • proxyConfiguration: defaults to Apify RESIDENTIAL in the gl country.

The complete input schema is in .actor/input_schema.json.

Output

Records contain a stable id, ad position (top/middle/bottom), advertiser name, category, rating, review count (reviewCount and reviewCountText), phone and phone region code, years in business (yearsInBusiness and yearsInBusinessText), service area, hours, highlights, response time, business photo URL, Google profile URL, customer ID, preview-ad flag, requested search context, source, extraction method, and ISO scrape time. Optional fields Google does not publish are omitted rather than emitted as null or empty values. Challenge/error pages are never stored.

The complete dataset field contract is in .actor/dataset_schema.json.

website is genuinely absent from the live card: the card carries no outbound website link (0 anchors inside a card; every action is Get phone number, Book online, Get quote, Share, or the Google profile). badge and isGuaranteed are also absent: Google retired the Google Guaranteed / Google Screened labels on 2025-10-20 in favour of Google Verified, and the live cards carry data-business-badge="0". The observed codes are kept for provenance as badgeCode / badgeIconCode.

Run summary

Each run writes an OUTPUT summary to the key-value store:

The summary schemas are .actor/key_value_store_schema.json and .actor/output_schema.json.

  • SUCCEEDED — at least one advertiser card was parsed.
  • NO_ADS — a valid localservices/prolist page whose own provider payload (AF_initDataCallback({key: 'ds:1', …}), data[0][0]) is an empty array, i.e. Google serves no LSA inventory for that service and market.
  • BLOCKED — an access status (401/403/429) or a challenge page.
  • HTTP_ERROR — a non-success HTTP status.
  • MALFORMED_PROLIST — a page that is neither a result page nor a readable empty market (unexpected content type, empty body, JavaScript bootstrap page, providers present but unparsed, or no prolist structure at all).
  • PROXY_UNSUPPORTED — the configured proxy group refused the route.

The summary carries bounded structural diagnostics (domCardCount, payloadPresent, payloadCardCount, prolistRootCount, phoneNumberCount, pageTitle, httpStatus, contentType, finalUrl, responseBytes) so an empty run is self-describing. Page HTML is never stored.

How to use

Enter a service and location in the Apify Input tab, choose a market, and start the Actor. Review advertiser records in the Output dataset and run outcome details in OUTPUT.

Local accounts without Apify Proxy external access cannot execute the default transport; run it in Apify Cloud. Google may still answer a given exit with an access status or challenge page; the Actor detects those and fails closed — it does not solve CAPTCHAs or bypass access controls.