Google Maps Places API

Using Google Maps Place API you can scrape Google Maps Places results. Our API is fast and reliable. Each successful request will cost you 5 API credits.

You have to send a GET request to http://api.scrapingdog.com/google_maps/places with the below-given parameters.

Google Maps API pricing is available here.

Parameters

Parameter
Description

api_key

required

Your personal API key. Available on your dashboard Type: String

type required

The parameter must be set to "place" (i.e., type=place).

It is not required when using place_id. Type: String

data required

The parameter must be formatted as follows: !4m5!3m4!1s + data_id + !8m2!3d + latitude + !4d + longitude.

It is not required when using place_id. Type: String

place_id

The parameter uniquely identifies a place on Google Maps. Place IDs are available for most locations, including businesses, landmarks, parks, and intersections. You can retrieve the place_id using our Google Maps API.

The place_id can be used independently without any other optional parameters. Type: String

country

This is the ISO code of the country from which you are seeking the results. Default Value - us Type - String

cURL "https://api.scrapingdog.com/google_maps/places?api_key=APIKEY&place_id=ChIJT2h1HKZZwokR0kgzEtsa03k"

Response

{
    "place_results": {
        "title": "Stumptown Coffee Roasters",
        "data_id": "0x89c259a61c75684f:0x79d31adb123348d2",
        "place_id": "ChIJT2h1HKZZwokR0kgzEtsa03k",
        "rating": 4.5,
        "reviews": 1568,
        "gps_coordinates": {
            "latitude": 40.7457399,
            "longitude": -73.9882272
        },
        "provider_id": "/g/1hhw712x0",
        "thumbmail": "https://lh5.googleusercontent.com/p/AF1QipNtnPBJ2Oi_C2YNamHTXyqU9I8mRBarCIvM5g5v=w129-h86-k-no",
        "rating_summary": [
            {
                "stars": 1,
                "amount": 53
            },
            {
                "stars": 2,
                "amount": 31
            },
            {
                "stars": 3,
                "amount": 93
            },
            {
                "stars": 4,
                "amount": 349
            },
            {
                "stars": 5,
                "amount": 1042
            }
        ],
        "type": [
            "Coffee shop",
            "Cafe",
            "Coffee store",
            "Tea store"
        ],
        "type_ids": [
            "Coffee_shop",
            "Cafe",
            "Coffee_store",
            "Tea_store"
        ],
        "order_online": [
            "https://www.google.com/viewer/chooseprovider?mid=/g/1hhw712x0&g2lbs=AAEPWCtTHjHhiSjRb7f1KoaxIJQ6ekpyQS9-GiOSd_ZlYkhmHRaXZLtOU7CMvo14oeNsvIPxcqGLarj0fHgVHtS--QEn-qCsLA%3D%3D&hl=en-US&gl=us&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=tactile&gei=kEamZ4nPEbnckPIPhrzhiAw&ei=kEamZ4nPEbnckPIPhrzhiAw&fo_s=OA,SOE&opi=79508299&orderType=2&ebb=1&cs=0&foub=mcpp"
        ],
        "service_options": {
            "onsite_services": false,
            "takeout": false,
            "dine-in": false,
            "delivery": true
        },
        "extensions": [
            {
                "service_options": [
                    "Onsite services",
                    "Takeout",
                    "Dine-in"
                ]
            },
            {
                "highlights": [
                    "Fireplace",
                    "Great coffee",
                    "Great tea selection"
                ]
            },
            {
                "popular_for": [
                    "Breakfast",
                    "Solo dining"
                ]
            },
            {
                "accessibility": [
                    "Wheelchair accessible entrance",
                    "Wheelchair accessible restroom"
                ]
            },
            {
                "offerings": [
                    "Coffee",
                    "Quick bite"
                ]
            },
            {
                "dining_options": [
                    "Breakfast",
                    "Brunch",
                    "Lunch",
                    "Dessert"
                ]
            },
            {
                "amenities": [
                    "Restroom",
                    "Wi-Fi"
                ]
            },
            {
                "atmosphere": [
                    "Casual",
                    "Cozy",
                    "Trendy"
                ]
            },
            {
                "crowd": [
                    "College students",
                    "Family-friendly",
                    "LGBTQ+ friendly",
                    "Tourists",
                    "Transgender safespace"
                ]
            },
            {
                "payments": [
                    "Credit cards",
                    "Debit cards",
                    "NFC mobile payments"
                ]
            },
            {
                "pets": [
                    "Dogs allowed"
                ]
            }
        ],
        "unsupported_extensions": [
            {
                "service_options": [
                    "Delivery"
                ]
            },
            {
                "accessibility": [
                    "Wheelchair accessible parking lot"
                ]
            },
            {
                "planning": [
                    "Accepts reservations"
                ]
            }
        ],
        "adderss": "18 W 29th St,New York, NY 10001",
        "phone": "+13474147816"
    }
}
```

Last updated