Google Scraper APIsLocal Pack API
Local Pack API

Google Local Pack API for Local Search Rankings and Business Data

Retrieve ranked Local Pack business listings for any local search query, including place IDs, ratings, review counts, addresses, phone numbers, categories, and coordinates.

1,000 free credits
No credit card required

Use the same API key and credit balance across every ScrapeBadger API.

GET /v1/google/local/search
{
  "local_results": [
    {
      "title": "Example Pizza Restaurant",
      "place_id": "ChIJEXAMPLE",
      "rating": 4.6,
      "reviews": 1240,
      "address": "123 Example Street, New York, NY",
      "phone": "+1 212-555-0100",
      "type": "Pizza restaurant",
      "gps_coordinates": {
        "lat": 40.7306,
        "lng": -74.0025
      }
    }
  ]
}
Endpoints

Explore the Google Local Pack API Endpoint

Search Google for a local-intent query and retrieve the ranked businesses displayed in its Local Pack results.

  1. Enter a local search query
  2. Choose a location
  3. Receive ranked business listings
GET/v1/google/local/search

Local Pack Search

Retrieve Google Local Pack businesses for a search query with local intent. Results can include business names, place IDs, ratings, review counts, addresses, phone numbers, categories, and GPS coordinates.

Parameters
qrequiredLocal search query, such as "pizza in New York".
Request
curl --get \
  'https://scrapebadger.com/v1/google/local/search' \
  --data-urlencode 'q=pizza in New York' \
  --data-urlencode 'gl=us' \
  --data-urlencode 'hl=en' \
  --data-urlencode 'num=20' \
  --header 'x-api-key: YOUR_API_KEY'
Response200 OK
{
  "search_information": {
    "query_displayed": "pizza in New York",
    "total_results": 1250,
    "time_taken": 0.74,
    "organic_results_state": "Results for exact spelling",
    "url": "https://www.google.com/search?q=pizza+in+New+York"
  },
  "local_results": [
    {
      "title": "Example Pizza Restaurant",
      "place_id": "ChIJEXAMPLE123",
      "rating": 4.6,
      "reviews": 1240,
      "address": "123 Example Street, New York, NY",
      "phone": "+1 212-555-0100",
      "type": "Pizza restaurant",
      "gps_coordinates": {
        "lat": 40.7306,
        "lng": -74.0025
      }
    },
    {
      "title": "Another Example Pizzeria",
      "place_id": "ChIJEXAMPLE456",
      "rating": 4.4,
      "reviews": 856,
      "address": "456 Example Avenue, New York, NY",
      "phone": "+1 212-555-0120",
      "type": "Pizzeria",
      "gps_coordinates": {
        "lat": 40.7342,
        "lng": -74.0061
      }
    }
  ]
}
View Local Pack Search documentation

What Can You Build With the Google Local Pack API?

Local search visibility tracking

Track which businesses appear for selected local keywords and locations. Compare the returned order over time to identify when a business enters, leaves, or moves within the available Local Pack results.

qlocationglhl

Local competitor benchmarking

Compare business ratings, review counts, categories, and returned order for commercially important searches. Use consistent queries and location settings when comparing competitors or tracking changes.

ratingreviewstype

Local business lead discovery

Find businesses matching a service or category within a particular city. Collect available names, addresses, phone numbers, place IDs, and coordinates for research or lead-enrichment workflows.

titleaddressphoneplace_id

Local market and coverage analysis

Use returned business categories and coordinates to map competitive coverage across cities or service areas. Compare result density and review volume between markets without treating the response as a complete list of every business operating there.

typegps_coordinatesreviews
Sign Up For Free

1,000 free credits · No credit card required

More Google Maps and Search APIs

Use the same ScrapeBadger account, API key, and credit balance to expand Local Pack results with fuller business information, reviews, photos, and complete SERP data.

Why Choose ScrapeBadger?

Build Faster

Structured JSON responses remove browser automation, proxy orchestration, and HTML parsing from your roadmap. Make your first request in minutes and move from proof of concept to production without maintaining scrapers.

Scale Confidently

99.9% uptime SLA. Your data pipeline does not stop because Google changes a page, rotates an anti-bot challenge, or moves a result block. Monitoring, session management, browser infrastructure, and parsing are all us.

All Google Data on One Platform

Search, Maps, News, Hotels, Trends, Jobs, Shopping, Patents, Scholar, Images, Videos, Finance, AI Mode, Lens, Local, Shorts, Flights, Products, and Autocomplete — every Google surface under one API key.

Integrate Anywhere

RESTful API, SDK support, MCP, CLI, and no-code options. Use ScrapeBadger in an existing system or a new application with consistent authentication, structured JSON, and unified billing.

Integrate With Your Stack

Use ScrapeBadger through an official SDK, a standard API request, MCP, CLI, or the tools already in your workflow.

Python SDK

Build asynchronous data pipelines with typed responses, retry handling, and access to the complete Google API suite.

Node.js SDK

Add Google data to Node.js and TypeScript applications with type definitions and support for both ESM and CommonJS.

REST API

Connect from any backend or programming language using standard HTTP requests. Responses arrive as structured JSON that can be stored, transformed, or passed into another service.

One API Key

Access Search, Maps, News, Trends, Shopping, Scholar, Flights, and every other supported Google product with one ScrapeBadger API key and one credit balance.

MCP for AI Tools

Give compatible AI agents access to Google Search, Maps, News, Trends, Shopping, Scholar, Images, Flights, and more through ScrapeBadger's MCP server.

ScrapeBadger CLI

Run Google searches, inspect trends, collect local business data, and export results as JSON, CSV, Markdown, or terminal-friendly tables without building an application.

Trusted by Developers Worldwide

See why developers choose ScrapeBadger for reliable, structured web data.

We switched from the official Twitter API and cut our costs by 95%. The pagination is seamless, and we've never hit a rate limit. Best decision we made this year.

MC
Marcus Chen
Lead Data Engineer at DataFlow Analytics
2 weeks ago

The follower and engagement endpoints are incredibly detailed. We use it for influencer research and competitor analysis. Response times are sub-100ms consistently.

SM
Sarah Mitchell
Marketing Director at SocialPulse Agency
1 month ago

Started with the Apify actor, then moved to the API for more control. The 1,000 free credits were enough to build our MVP. Now processing 2M+ tweets monthly.

JR
James Rodriguez
Founder at TweetMetrics
3 weeks ago

Perfect for academic research. The community and trends endpoints give us data we couldn't get anywhere else. Documentation could use more examples, but support is responsive.

EW
Emily Watson
Research Scientist at Stanford NLP Lab
1 month ago

We monitor 50,000+ accounts for our clients. ScrapeBadger handles it without breaking a sweat. The bulk ID endpoints are a game-changer for large-scale monitoring.

AP
Alex Petrov
CTO at MediaMonitor Pro
2 weeks ago

The geo and trends endpoints power our location-based analytics. Setup took 10 minutes. Their Apify actors are also great for quick one-off scrapes.

LP
Lisa Park
Product Manager at Trendy AI
3 weeks ago
Pricing

Simple, transparent pricing

Start with pay-as-you-go credits (never expire) or save up to 64% with a monthly or annual subscription. Failed requests never consume credits, and every Google API endpoint is included on every plan.

Not Sure Which Plan Fits Your Needs? Calculate Your Cost and Find the Right Plan.

Choose an endpoint and enter your expected request volume. Google APIs use flat per-request credits, making usage easy to forecast. Failed requests cost 0 credits.

FAQ

Frequently asked questions

Everything you need to know about the Local Pack API.

What is the Google Local Pack API?

The Google Local Pack API retrieves the businesses Google returns for searches with local intent, such as "pizza in New York" or "plumbers near me." It returns the available listings in their displayed order with structured business and location data.

What data does the Local Pack Search API return?

Each result can include the business name, Google place_id , rating, review count, address, phone number, business type, and GPS coordinates. The response also contains search metadata such as the displayed query, estimated total results, response time, and Google results URL.

How is Local Pack Search different from Google Maps Search?

Local Pack Search retrieves businesses shown for local-intent queries in Google Search. Google Maps Search retrieves businesses from the separate Google Maps search interface. The businesses and their order can differ between the two because they represent different Google search surfaces.

Does the Local Pack API return only three businesses?

Not necessarily. Although the visible Google Local Pack is commonly associated with a small group of businesses, the endpoint's num parameter supports between 1 and 100 results. The number of businesses actually returned depends on the query, location, and results Google makes available. Use start to request later results.

How can I retrieve more information or reviews for a returned business?

Pass the returned place_id to the Google Maps Place Details API. The detailed place response can include contact information, opening hours, website, Maps links, service options, images, and a Google Maps data_id . Pass that data_id to the Google Maps Reviews API when you need paginated customer reviews.

Start Building With the Google Local Pack API

Use 1,000 free credits to monitor local search visibility, compare competitors, discover businesses, and retrieve structured Local Pack results for your target queries and locations.

No credit card required · Failed requests cost 0 credits

Disclaimer: ScrapeBadger is not affiliated with, endorsed by, or in any way officially connected with Google LLC or any of its subsidiaries or affiliates. Google and related trademarks are the property of their respective owners.