Places Aggregate API, yang sebelumnya dikenal sebagai Places Insights API, kini tersedia secara umum (GA).
FAQ Places Aggregate API
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Apakah ada batas kecepatan pada API?
Untuk Places Aggregate API, ada batas kapasitas default sebesar 1.200 kueri per menit.
Apa perbedaan antara 'included_primary_types' dan 'included_types' di TypeFilter?
included_primary_types
: Memfilter tempat yang memiliki jenis yang ditentukan sebagai kategori utama atau primer. Tempat ini mungkin juga memiliki jenis sekunder lainnya.
included_types
: Memfilter tempat yang memiliki jenis yang ditentukan sebagai salah satu
kategorinya, terlepas dari apakah itu jenis utama atau sekunder.
Misalnya, penelusuran menggunakan included_primary_types
yang disetel ke restaurant
akan
menampilkan tempat yang fungsi utamanya adalah menyajikan makanan, sedangkan included_types
yang disetel ke restaurant
akan menampilkan tempat yang menyajikan makanan meskipun memiliki
kategori utama lain, seperti museum
dengan cafe
.
Untuk membaca lebih lanjut, buka Jenis Tempat.
Bagaimana cara menentukan area penelusuran kustom yang bukan lingkaran?
Anda dapat menentukan area penelusuran kustom menggunakan poligon. Berikan daftar koordinat lintang dan bujur yang menentukan titik sudut satu poligon dalam urutan berlawanan arah jarum jam. Koordinat pertama dan terakhir harus sama untuk
menutup poligon.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-29 UTC.
[null,null,["Terakhir diperbarui pada 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."]]