Tìm địa điểm
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nhà phát triển ở Khu vực kinh tế Châu Âu (EEA)
API Địa điểm cho phép bạn tìm kiếm thông tin về địa điểm bằng nhiều danh mục, bao gồm các cơ sở, địa điểm yêu thích nổi bật và vị trí địa lý. Bạn có thể tìm kiếm địa điểm theo vị trí gần hoặc một chuỗi văn bản. Tìm kiếm địa điểm trả về danh sách địa điểm cùng với thông tin tóm tắt về từng địa điểm; bạn có thể xem thêm thông tin bằng cách sử dụng truy vấn Chi tiết địa điểm (Cũ).
So sánh các loại tìm kiếm
Có 3 điểm cuối tìm kiếm với các đặc điểm khác nhau. Bảng sau đây nêu bật một số điểm khác biệt này.
Lựa chọn trường
Không có cách nào để ràng buộc tính năng Tìm kiếm lân cận (cũ) hoặc Tìm kiếm bằng văn bản (cũ) chỉ trả về các trường cụ thể. Để tránh yêu cầu (và trả tiền cho) dữ liệu mà bạn không cần, hãy sử dụng yêu cầu Tìm địa điểm (Cũ).
Văn bản không rõ ràng
Tính năng Tìm địa điểm (cũ) và Tìm kiếm văn bản (cũ) được tối ưu hoá để so khớp văn bản không rõ ràng trên một số trường, trong khi tính năng Tìm kiếm lân cận (cũ) bị hạn chế ở việc so khớp nghiêm ngặt trên một số trường.
Các bộ lọc khác
Tìm kiếm lân cận (cũ) và Tìm kiếm bằng văn bản (cũ) cho phép các tham số bổ sung để lọc kết quả, (ví dụ: minprice
, maxprice
, opennow
và type
).
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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`)."]]