La API de Places Aggregate, antes conocida como API de Places Insights, ahora tiene disponibilidad general (GA).
Preguntas frecuentes sobre la API de Places Aggregate
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
¿Hay un límite de frecuencia en la API?
En el caso de la API de Places Aggregate, hay un límite de frecuencia predeterminado de 1,200 consultas por minuto.
¿Cuál es la diferencia entre "included_primary_types" y "included_types" en TypeFilter?
included_primary_types
: Filtra los lugares en los que los tipos especificados son su categoría principal o primaria. Estos lugares también pueden tener otros tipos secundarios.
included_types
: Filtra los lugares que tienen los tipos especificados como cualquiera de sus categorías, independientemente de si se trata del tipo principal o secundario.
Por ejemplo, una búsqueda con included_primary_types
establecido en restaurant
devolvería lugares cuya función principal es servir comida, mientras que included_types
establecido en restaurant
devolvería lugares que sirven comida, incluso si tienen otra categoría principal, como un museum
con un cafe
.
Para obtener más información, consulta Tipos de lugares.
¿Cómo defino un área de búsqueda personalizada que no sea un círculo?
Puedes definir un área de búsqueda personalizada con un polígono. Proporciona una lista de coordenadas de latitud y longitud que definen los vértices de un solo polígono en orden antihorario. La primera y la última coordenada deben ser iguales para cerrar el polígono.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-29 (UTC)
[null,null,["Última actualización: 2025-08-29 (UTC)"],[],[],null,["# Places Aggregate API FAQ\n\nIs there a rate limit on the API?\n---------------------------------\n\nFor Places Aggregate API, there is a default rate limit of\n1,200 queries per minute.\n\nWhat is the difference between 'included_primary_types' and 'included_types' in the TypeFilter?\n-----------------------------------------------------------------------------------------------\n\n- `included_primary_types`: Filters for places where the specified types are their main or primary category. These places might also have other secondary types.\n- `included_types`: Filters for places that have the specified types as any of their categories, regardless of whether it's the primary or secondary type.\n\nFor example, a search using `included_primary_types` set to `restaurant` would\nreturn places whose primary function is to serve food, whereas `included_types`\nset to `restaurant` would return places that serve food even if they have\nanother primary category, such as a `museum` with a `cafe`.\n\nFor further reading, visit [Place Types](/maps/documentation/places/web-service/place-types).\n\nHow do I define a custom search area that isn't a circle?\n---------------------------------------------------------\n\nYou can define a custom search area using a polygon. Provide a list of latitude\nand longitude coordinates that define the vertices of a single polygon in a\ncounter-clockwise order. The first and last coordinates *must* be the same to\nclose the polygon."]]