Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
Google Maps: Search placesTry it

Google Maps: Search places

One page of places for a Google Maps search, 20 at most, as the results list shows them.

20 creditsa callWorks today
1Request
What you would type in Google Maps' search box: a kind of place ("dentist"), a name, or both with a place ("restaurants in Lyon").
Optional: the point to search around, as the map would centre on it ("bakery" around a spot).
The map's zoom around near, from 3 (a continent) to 20 (a street).
The language of names, categories and hours, as an ISO 639-1 code.
The country Google ranks results for, as an ISO 3166-1 alpha-2 code in lower case.
The page to start at; next in an answer goes on from it with cursor.
Where to go on, from next in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).
20 credits a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "google_maps",
    "operation": "places/search",
    "options": {
      "query": "restaurants in Lyon",
      "page": 1
    }
  }'
2Response

An example answer, from the contract. Run it on your own input with your API key.

{
  "object": "run",
  "id": "run_s5marqhincfykpisq3artgziza",
  "livemode": true,
  "source": "google_maps",
  "operation": "places/search",
  "version": "1.3.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/google_maps/places/search",
  "options": {
    "query": "restaurants in Lyon",
    "page": 1
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": true,
  "next": {
    "source": "google_maps",
    "operation": "places/search",
    "options": {
      "query": "restaurants in Lyon",
      "cursor": "gAAAAABpNWd0x2kQ8vZr3TfYc1LmRb7uHsE9wA4jXoKqDn6yPiGt5"
    }
  },
  "cost": {
    "credits": 20
  },
  "results": [
    {
      "object": "place",
      "id": "ChIJAAAAAAAAAAAAAAAAAAAAAAA",
      "position": 1,
      "name": "Acme Bistro",
      "categories": [
        "French restaurant"
      ],
      "primary_category_id": null,
      "result_type": "french_restaurant",
      "address": {
        "full": "1 Rue Exemple, 69005 Lyon, France",
        "street": "1 Rue Exemple",
        "neighborhood": null,
        "city": "Lyon",
        "postal_code": "69005",
        "state": null,
        "country_code": "FR"
      },
      "location": {
        "latitude": 45.7623,
        "longitude": 4.8275
      },
      "phone": "+33400000000",
      "website_url": "https://acme-bistro.example",
      "rating": {
        "value": 4.5,
        "scale": 5,
        "count": 1280,
        "distribution": null
      },
      "review_topics": null,
      "description": "Local food and wine in vintage surrounds",
      "owner_description": null,
      "booking_url": "https://acme-bistro.example/booking",
      "hours": [
        {
          "day": "monday",
          "intervals": [
            {
              "open": "11:30",
              "close": "14:30"
            },
            {
              "open": "18:30",
              "close": "22:00"
            }
          ]
        },
        {
          "day": "tuesday",
          "intervals": []
        }
      ],
      "more_hours": [
        {
          "label": "Kitchen",
          "hours": [
            {
              "day": "monday",
              "intervals": [
                {
                  "open": "12:00",
                  "close": "14:00"
                }
              ]
            }
          ]
        }
      ],
      "timezone": "Europe/Paris",
      "attributes": [
        {
          "id": "has_wheelchair_accessible_entrance",
          "label": "Wheelchair-accessible entrance",
          "group": "accessibility",
          "value": true
        }
      ],
      "highlights": [
        {
          "id": "lgbtq_friendly",
          "label": "LGBTQ+ friendly"
        }
      ],
      "actions": [
        {
          "type": "reserve",
          "label": "Reserve a table",
          "url": "https://www.google.com/maps/reserve/v/dine/c/AAAAAAAAAAA?source=pa&hl=en",
          "providers": [
            {
              "name": "Acme Bookings",
              "domain": "acme-bookings.example",
              "url": "https://acme-bookings.example/r/1"
            }
          ]
        }
      ],
      "owner": {
        "id": "100000000000000000000",
        "name": "Acme Bistro (Owner)"
      },
      "popular_times": {
        "week": [
          {
            "day": "monday",
            "hours": [
              {
                "hour": 12,
                "busyness": 45
              },
              {
                "hour": 13,
                "busyness": 80
              }
            ]
          }
        ],
        "live": {
          "hour": 13,
          "busyness": 60,
          "label": "Usually not too busy"
        }
      },
      "admission": null,
      "hotel": null,
      "things_to_do": [],
      "ids": {
        "place_id": "ChIJAAAAAAAAAAAAAAAAAAAAAAA",
        "cid": "1000000000000000000",
        "feature_id": "0x47f4000000000000:0x0de0b6b3a7640000",
        "kgmid": "/g/11aaaaaaaa"
      },
      "photo_url": "https://lh3.googleusercontent.com/example.jpg",
      "url": "https://www.google.com/maps/search/?api=1&query=45.7623%2C4.8275&query_place_id=ChIJAAAAAAAAAAAAAAAAAAAAAAA",
      "source_url": "https://www.google.com/maps/search/restaurants+in+Lyon",
      "observed_at": "2026-10-26T09:00:00Z"
    }
  ]
}

63 fields per place

Every call returns them for each record, in the results of its JSON answer.

Search places

63 fields
object
text
The kind of record: a place, whichever site it comes from.
place
id
text
Google's place id (ChIJ...), stable across languages; repeated in ids.place_id.
ChIJAAAAAAAAAAAAAAAAAAAAAAA
position
number
Its rank among the places of the search, across pages: 21 is the first of page 2.
1
name
text
Acme Bistro
categories
list
As Google Maps names them, the main one first.
[ 1 item ]

What it costs

Billed by the call: 20 credits, whatever the page holds (up to 20 places). Pick how many calls a month.

Every plan

20 credits a call

Calls a month

100

Per 100 calls

$4.00

On Starter, $20 a month for up to 500 calls.

Live

Built to run

Every call counts; a day is green at 99.5% successful.

Successful calls
100.00%
Median call
1.1 s
90 days agoToday
99.5% or more (SLA)98 to 99.5%95 to 98%Under 95%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

Frequently asked questions

What people ask before calling google_maps/places/search.

Search places

When do I use it?

You need the places Google Maps lists for a search such as "dentist" near a point or "restaurants in Lyon": name, categories, address, coordinates, phone, website, rating, opening hours. For one place's full profile, use googlemaps/places/get; for its reviews, googlemaps/reviews/list.

What do I give it?
  • query (required): What you would type in Google Maps' search box: a kind of place ("dentist"), a name, or both with a place ("restaurants in Lyon"). Results are ranked for country (default us) and written in language (default en): set them for a search elsewhere.
  • near: Optional: the point to search around, as the map would centre on it ("bakery" around a spot). Leave it out when the query names its place ("restaurants in Lyon", "Le Vieux Lyon, Lyon"): Google locates it, better than a guessed point. Left out with a query naming no place, Google uses the country.
  • zoom: The map's zoom around near, from 3 (a continent) to 20 (a street). Google lists places from the whole area the map shows, ranked by relevance, not by distance: at 13 they spread about 4 km around near, at 15 about 1 km (a neighbourhood), at 17 a few hundred metres (a street). Used only with near.
  • language: The language of names, categories and hours, as an ISO 639-1 code.
  • country: The country Google ranks results for, as an ISO 3166-1 alpha-2 code in lower case.
What does it return?

One page of places for a Google Maps search, 20 at most, as the results list shows them. Every record has the same fields, empty ones included: they are all listed above.

How do I get the next page?

Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 20 records at most, up to page 20.

Pricing

What does a call cost?

20 credits a call, whatever the page holds: a short last page costs a whole call. An empty page (past the end, or no results) and a failed call are free.

When is a call free?
  • an empty page (past the end, or nothing found)
  • a call that fails

Errors

What can go wrong?
  • site_unavailable (503, retry): Google Maps did not answer in time or refused the call; retry later (not charged).
  • unexpected_answer (424): Google Maps answered in a shape we do not read yet; we are told and fix it, and it is not charged. Retrying now gives the same.
How long can a call take?

30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.

API and agents

Can my AI agent run it?

Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs google_maps/places/search. Its page for agents, in Markdown: google_maps/places/search.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/google_maps/places/search: every option, every field, the price and the errors. This page is drawn from it.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.