API de Google Maps: Buscar cerca
Busca en Google Maps alrededor de una latitud y longitud exactas y obtén hasta 20 lugares normalizados por llamada, cada uno con la dirección desglosada en calle, ciudad, estado, código postal y país. Úsalo cuando tengas coordenadas y quieras centrar el mapa en ellas; usa maps.search cuando solo tengas el nombre de un lugar. Envía el nextCursor devuelto como cursor para obtener los siguientes 20 lugares.
US$1.30/1k solic., pagas por solicitud, sin suscripción.
Mañana Coffee House
4.6(1,284)
Coffee shop · 612 W 6th St, Austin, TX 78701, USA
Cozy cafe serving pour-over coffee and pastries a few blocks from the Capitol.
{"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 campos más}
Precios
Precios del endpoint Buscar cerca de la API de Google Maps
Pruébalo
Obtén Buscar cerca de Google Maps en una sola solicitud
Este ejemplo muestra 27 de 28 campos. Ver todos los campos
{
"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
}
]
}
}Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.
Referencia
Una solicitud, un formato de respuesta.
Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.
Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d
Cuerpo de la solicitud
JSON, enviado por POST a este endpoint.
- coordinatesobject
{"latitude":30.2672,"longitude":-97.7431}
El centro exacto del mapa alrededor del cual buscar. Usa maps.search si solo tienes el nombre de un lugar.
- querystring
coffee shop
Lo que escribirías en la barra de búsqueda de Google Maps (p. ej. coffee shop).
- cursorstring
Cursor opaco del nextCursor de una respuesta anterior. Envíalo de vuelta para obtener la siguiente página de lugares.
- languagestring
Código de idioma de dos letras para los resultados (p. ej. 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
Zoom de la vista de Google Maps. Un valor más bajo cubre un área más amplia; uno más alto se enfoca más cerca de las coordenadas.
Respuesta
JSON, un valor de ejemplo por campo.
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.
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.
- 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.
Preguntas frecuentes
Acerca del endpoint Buscar cerca de la API de Google Maps
El endpoint Buscar cerca de AnyAPI para Google Maps devuelve datos de Google Maps como JSON normalizado con una sola llamada POST a /v1/run/maps.search_nearby. Busca en Google Maps alrededor de una latitud y longitud exactas y obtén hasta 20 lugares normalizados por llamada, cada uno con la dirección desglosada en calle, ciudad, estado, código postal y país. Úsalo cuando tengas coordenadas y quieras centrar el mapa en ellas; usa maps.search cuando solo tengas el nombre de un lugar. Envía el nextCursor devuelto como cursor para obtener los siguientes 20 lugares. AnyAPI devuelve un único esquema normalizado sin importar qué fuente atienda la solicitud. Cuesta desde US$1.30 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 99.8% de las llamadas al endpoint Buscar cerca de la API de Google Maps a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 6.1 segundos en 4158 llamadas medidas.