Place Search
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
นักพัฒนาแอปในเขตเศรษฐกิจยุโรป (EEA)
Places API ช่วยให้คุณค้นหาข้อมูลสถานที่ได้โดยใช้หมวดหมู่ต่างๆ ซึ่งรวมถึงสถานประกอบการ จุดที่น่าสนใจ และสถานที่ทางภูมิศาสตร์ คุณสามารถค้นหาสถานที่ตามบริเวณใกล้เคียงหรือสตริงข้อความก็ได้ การค้นหาสถานที่จะแสดงรายการสถานที่พร้อมกับข้อมูลสรุปเกี่ยวกับสถานที่แต่ละแห่ง โดยคุณดูข้อมูลเพิ่มเติมได้โดยใช้การค้นหารายละเอียดสถานที่ (เดิม)
เปรียบเทียบประเภทการค้นหา
มีปลายทางการค้นหา 3 รายการที่มีลักษณะแตกต่างกัน ตารางต่อไปนี้จะไฮไลต์ความแตกต่างบางส่วน
การเลือกช่อง
คุณไม่สามารถจํากัดการค้นหาใกล้เคียง (เดิม) หรือการค้นหาข้อความ (เดิม) ให้แสดงเฉพาะบางช่องได้ หากไม่ต้องการขอ (และชําระเงินสําหรับ) ข้อมูลที่ไม่ต้องการใช้ ให้ใช้คําขอค้นหาสถานที่ (เดิม) แทน
ข้อความที่ไม่ชัดเจน
ฟีเจอร์ค้นหาสถานที่ (เดิม) และการค้นหาข้อความ (เดิม) ได้รับการเพิ่มประสิทธิภาพสำหรับการจับคู่ข้อความที่คลุมเครือในช่องต่างๆ ขณะที่การค้นหาใกล้เคียง (เดิม) จะจำกัดการจับคู่ที่ตรงกันทั้งหมดในช่องบางส่วน
ตัวกรองเพิ่มเติม
การค้นหาในพื้นที่ใกล้เคียง (เดิม) และการค้นหาข้อความ (เดิม) อนุญาตให้ใช้พารามิเตอร์เพิ่มเติมเพื่อกรองผลลัพธ์ (เช่น minprice
, maxprice
, opennow
และ type
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[],[],null,["# Place Search\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n**Note: Server-side\nand client-side libraries**\n\nThe Places API is also available with the\n[Java Client,\nPython Client, Go Client and Node.js Client for Google Maps Services](/maps/documentation/places/web-service/client-library).\nThe Places API and the client libraries are for\nuse in server applications.\n\nIf you're building a client-side\napplication, take a look at the\n[Places SDK for Android (New)](/maps/documentation/places/android-sdk), the\n[Places SDK for iOS (New)](/maps/documentation/places/ios-sdk), and the\n[Places Library, Maps JavaScript API](/maps/documentation/javascript/places).\n\nThe Places API lets you search for place information\nusing a variety of categories, including establishments, prominent points of\ninterest, and geographic locations. You can search for places either by\nproximity or a text string. A Place Search returns a list of places along with\nsummary information about each place; additional information is available using\na [Place Details (Legacy)](/maps/documentation/places/web-service/details) query.\n\nCompare search types\n--------------------\n\nThere are three search endpoints available with different characteristics. The following table\nhighlights some of these differences.\n\n| Type | [Field selection](#field-selection) | Text Search (Legacy) | [Ambiguous text](#ambiguous-text) | Location filter | [Additional filters](#additional-filters) |\n|----------------------------------------------------------------------------------------|-------------------------------------|----------------------|-----------------------------------|-----------------|-------------------------------------------|\n| [Find Place (Legacy)](/maps/documentation/places/web-service/legacy/search-find-place) | | `input` | | | |\n| [Nearby Search (Legacy)](/maps/documentation/places/web-service/legacy/search-nearby) | | `keyword` | | | |\n| [Text Search (Legacy)](/maps/documentation/places/web-service/legacy/search-text) | | `query` | | | |\n\n### Field selection\n\nThere is no way to constrain Nearby Search (Legacy) or Text Search (Legacy) to only return specific fields. To\nkeep from requesting (and paying for) data that you don't need, use a Find Place (Legacy) request instead.\n\n### Ambiguous text\n\nFind Place (Legacy) and Text Search (Legacy) are optimized for matching ambiguous text across a number of fields\nwhile Nearby Search (Legacy) is constrained to strict matches on a subset of fields.\n\n### Additional filters\n\nNearby Search (Legacy) and Text Search (Legacy) allow additional parameters to filter results,\n(e.g. `minprice`, `maxprice`, `opennow`, and `type`)."]]