Google Maps API

Google Maps Search nearby API

Search Google Maps around an exact latitude and longitude and get up to 20 normalized places per call, each with the address broken into street, city, state, postal code and country. Use this when you have coordinates and want the map viewport centred on them; use maps.search when you only have a place name. Pass the returned nextCursor back as cursor for the next 20 places.

$1.30/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"placeId": "ChIJrX7cX9C1RIYR2LFEjaLyeuY",
"cid": "8234917364550128200",
"name": "Mañana Coffee House",
"url": "https://www.google.com/maps/place/?q=place_id:ChIJrX7cX9C1RIYR2LFEjaLyeuY",
"category": "Coffee shop",
"categories": [...],
"address": "612 W 6th St, Austin, TX 78701, USA",
"street": "612 W 6th St",
... 15 more fields
}
Uptime
99.98%
30d · 6,497 calls
Requests
6,497
30d · weekly, last 12 wks
Response
4.2s
median · 30d

Pricing

Google Maps Search nearby API pricing

You pay
$13.00
$1.30/1k req, only for what you use. No monthly plan.
Your first 76 requests are free with the $0.10 starting balance.

Try it

Get Google Maps search nearby in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 27 of 28 fields. See every field

{
  "found": true,
  "data": {
    "nextCursor": "eyJvZmZzZXQiOjMsInEiOiJjb2ZmZWUgc2hvcCJ9",
    "items": [
      {
        "placeId": "ChIJrX7cX9C1RIYR2LFEjaLyeuY",
        "cid": "8234917364550128200",
        "name": "Mañana Coffee House",
        "url": "https://www.google.com/maps/place/?q=place_id:ChIJrX7cX9C1RIYR2LFEjaLyeuY",
        "category": "Coffee shop",
        "categories": [
          "Coffee shop",
          "Breakfast restaurant"
        ],
        "address": "612 W 6th St, Austin, TX 78701, USA",
        "street": "612 W 6th St",
        "city": "Austin",
        "state": "Texas",
        "postalCode": "78701",
        "countryCode": "US",
        "latitude": 30.2687,
        "longitude": -97.7469,
        "phone": "+1 512-555-0142",
        "website": "https://mananacoffeeaustin.com",
        "rating": 4.6,
        "reviewCount": 1284,
        "image": "https://lh3.googleusercontent.com/places/ANXAkqHmananaCoffee6thSt=w200-h150-k-no",
        "neighborhood": "Downtown",
        "domain": "mananacoffeeaustin.com",
        "description": "Cozy cafe serving pour-over coffee and pastries a few blocks from the Capitol.",
        "rank": 1
      },
      {
        "placeId": "ChIJTUxDowe1RIYRy5j2Vd8HwKg",
        "name": "Cuvee Coffee Roastery",
        "url": "https://www.google.com/maps/place/?q=place_id:ChIJTUxDowe1RIYRy5j2Vd8HwKg",
        "category": "Coffee roasters",
        "categories": [
          "Coffee roasters",
          "Coffee shop"
        ],
        "address": "2000 Justin Ln, Austin, TX 78757, USA",
        "street": "2000 Justin Ln",
        "city": "Austin",
        "state": "Texas",
        "postalCode": "78757",
        "countryCode": "US",
        "latitude": 30.3335,
        "longitude": -97.7231,
        "website": "https://cuveecoffee.com",
        "rating": 4.4,
        "reviewCount": 511,
        "image": "https://lh3.googleusercontent.com/places/ANXAkqHCuveeRoastery=w200-h150-k-no",
        "neighborhood": "Crestview",
        "domain": "cuveecoffee.com",
        "rank": 2
      },
      {
        "placeId": "ChIJgUbEo8cKRIYRZ4h8dQ3jL2s",
        "name": "Summer Moon Coffee",
        "url": "https://www.google.com/maps/place/?q=place_id:ChIJgUbEo8cKRIYRZ4h8dQ3jL2s",
        "category": "Coffee shop",
        "categories": [
          "Coffee shop"
        ],
        "address": "1900 Aldrich St Ste 100, Austin, TX 78723, USA",
        "street": "1900 Aldrich St Ste 100",
        "city": "Austin",
        "state": "Texas",
        "postalCode": "78723",
        "countryCode": "US",
        "latitude": 30.296,
        "longitude": -97.7028,
        "website": "https://summermooncoffee.com",
        "rating": 4.5,
        "reviewCount": 642,
        "image": "https://lh3.googleusercontent.com/places/ANXAkqHSummerMoonAldrich=w200-h150-k-no",
        "neighborhood": "Mueller",
        "domain": "summermooncoffee.com",
        "rank": 3
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-30 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • coordinatesstring

    {"latitude":30.2672,"longitude":-97.7431}

    The exact map centre to search around. Use maps.search instead if you only have a place name.

  • querystring

    coffee shop

    What you would type in the Google Maps search bar (e.g. coffee shop).

  • cursorstring

    Opaque cursor from a previous response's nextCursor. Pass it back to get the next page of places.

  • languagestring

    Two-letter language code for the results (e.g. en).

  • limitinteger

    3

    Accepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request.

  • zoomnumber

    Google Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Matching Google Maps place records, nearest the requested coordinates first. Populated whenever the provider has data for the entity.

  • addressstring

    612 W 6th St, Austin, TX 78701, USA

    Full formatted street address.

  • categoriesstring[]

    Every Google Maps category listed for the place.

  • categorystring

    Coffee shop

    Primary place category (e.g. Coffee shop).

  • cidstring

    8234917364550128200

    Google customer/place id (cid).

  • citystring

    Austin

    City the place is in.

  • countryCodestring

    US

    Two-letter country code.

  • descriptionstring

    Cozy cafe serving pour-over coffee and pastries a few blocks from the Capitol.

    Google's one-line description of the place.

  • domainstring

    mananacoffeeaustin.com

    Registrable domain of the place website.

  • imagestring

    https://lh3.googleusercontent.com/places/ANXAkqHmananaCoffee6thSt=w200-h150-k-no

    Thumbnail photo URL for the place.

  • latitudenumber

    30.2687

    Latitude of the place in decimal degrees.

  • longitudenumber

    -97.7469

    Longitude of the place in decimal degrees.

  • namestring

    Mañana Coffee House

    Place name. Populated whenever the provider has data for the entity.

  • neighborhoodstring

    Downtown

    Neighborhood the place is in.

  • phonestring

    +1 512-555-0142

    Business phone number, when listed.

  • placeIdstring

    ChIJrX7cX9C1RIYR2LFEjaLyeuY

    Google Maps place id (stable identifier for the place). Populated whenever the provider has data for the entity.

  • postalCodestring

    78701

    Postal code of the place.

  • rankinteger

    1

    One-based position of the place in the Google Maps result order.

  • ratingnumber

    4.6

    Average Google rating out of 5.

  • reviewCountinteger

    1284

    Number of Google reviews the place has.

  • statestring

    Texas

    State or region the place is in, spelled in full (e.g. Texas).

  • streetstring

    612 W 6th St

    Street line of the address.

  • urlstring

    https://www.google.com/maps/place/?q=place_id:ChIJrX7cX9C1RIYR2LFEjaLyeuY

    Canonical Google Maps URL for the place. Populated whenever the provider has data for the entity.

  • websitestring

    https://mananacoffeeaustin.com

    The place's own website URL, when listed.

datadata

The result wrapper, or null when nothing matched.

  • nextCursorstring

    eyJvZmZzZXQiOjMsInEiOiJjb2ZmZWUgc2hvcCJ9

    Opaque cursor for the next page of places, or null when this search is complete. Pass it back as cursor to continue.

top level
  • foundboolean

    true

    True when the search returned at least one matching place.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Google Maps Search nearby API

The AnyAPI Google Maps Search nearby API returns Google Maps search nearby data as normalized JSON from one POST call to /v1/run/maps.search_nearby. Search Google Maps around an exact latitude and longitude and get up to 20 normalized places per call, each with the address broken into street, city, state, postal code and country. Use this when you have coordinates and want the map viewport centred on them; use maps.search when you only have a place name. Pass the returned nextCursor back as cursor for the next 20 places. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.30 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Google Maps search nearby calls through AnyAPI succeeded, with a median response time of 4.2 seconds across 6,497 measured calls.

It costs from $1.30 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Search Google Maps around an exact latitude and longitude and get up to 20 normalized places per call, each with the address broken into street, city, state, postal code and country. Use this when you have coordinates and want the map viewport centred on them; use maps.search when you only have a place name. Pass the returned nextCursor back as cursor for the next 20 places. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Google Maps search nearby calls through AnyAPI succeeded, with a median response time of 4.2 seconds across 6,497 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 76 Google Maps Search nearby calls at $0.0013 each.

Send a POST request to https://api.getanyapi.com/v1/run/maps.search_nearby with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.