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.
POST
/v1/serp/local-packCost: 1 credit ($0.005)
Rate Limit: Varies by plan
Response: ~2-6 seconds
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| keyword | string | Yes | Search keyword (e.g. "plumber") |
| location | string | Yes | City and state (e.g. "Orchard Park, NY") |
| device | string | No | "desktop" or "mobile". Default: "desktop" |
| depth | integer | No | Number 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
| Field | Type | Description |
|---|---|---|
| position | integer | Ranking position in local pack |
| name | string | Business name |
| rating | float | Average star rating (1-5) |
| reviews_count | integer | Total number of Google reviews |
| phone | string | Business phone number |
| website | string | Business website URL |
| address | string | Full street address |
| hours | string | Current hours summary |
| latitude | float | GPS latitude coordinate |
| longitude | float | GPS longitude coordinate |
| categories | string[] | 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.