Local Pack Rankings

Get the businesses that appear in Google's local 3-pack for any keyword and city. Returns business names, ratings, review counts, phone numbers, websites, hours, and GPS coordinates.

When to use this

You want to know who shows up on Google Maps when someone searches for your type of business in your city. For example, if you're a bakery in Austin and want to see which bakeries appear when someone Googles "bakeries near me" — this is the endpoint to use.

POST/v1/serp/local-pack
Cost: 1 credit ($0.005)
Rate Limit: Varies by plan
Response: ~2-6 seconds

Parameters

ParameterTypeRequiredDescription
keywordstringYesSearch keyword (e.g. "plumber")
locationstringYesCity and state (e.g. "Orchard Park, NY")
devicestringNo"desktop" or "mobile". Default: "desktop"
depthintegerNoNumber of results. Default: 20, max: 60

Example Request

curl -X POST https://api.localseodata.com/v1/serp/local-pack \
  -H "Authorization: Bearer sk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "plumber",
    "location": "Orchard Park, NY"
  }'

Example Response

JSON
{
  "status": "success",
  "credits_used": 1,
  "results": [
    {
      "position": 1,
      "name": "Roto-Rooter Plumbing & Water Cleanup",
      "rating": 4.7,
      "reviews_count": 312,
      "phone": "(716) 555-0123",
      "website": "https://www.rotorooter.com",
      "address": "123 Main St, Orchard Park, NY 14127",
      "hours": "Open 24 hours",
      "latitude": 42.7673,
      "longitude": -78.7441,
      "categories": ["Plumber", "Water Damage Restoration"]
    },
    {
      "position": 2,
      "name": "Roy's Plumbing",
      "rating": 4.9,
      "reviews_count": 187,
      "phone": "(716) 555-0456",
      "website": "https://roysplumbing.com",
      "address": "456 Elm Ave, Orchard Park, NY 14127",
      "hours": "Mon-Fri 7AM-6PM",
      "latitude": 42.7698,
      "longitude": -78.7402,
      "categories": ["Plumber"]
    }
  ],
  "search_metadata": {
    "keyword": "plumber",
    "location": "Orchard Park, NY",
    "device": "desktop",
    "total_results": 20
  }
}

Response Fields

FieldTypeDescription
positionintegerRanking position in local pack
namestringBusiness name
ratingfloatAverage star rating (1-5)
reviews_countintegerTotal number of Google reviews
phonestringBusiness phone number
websitestringBusiness website URL
addressstringFull street address
hoursstringCurrent hours summary
latitudefloatGPS latitude coordinate
longitudefloatGPS longitude coordinate
categoriesstring[]Business categories from Google

Notes

  • Results include up to 20 businesses by default. Use the depth parameter for more.
  • Related endpoints: /v1/business/profile for full profile data, /v1/audit/local for a complete audit.
  • Common use case: Track ranking positions over time by calling periodically.