חיפוש מקומות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מפתחים באזור הכלכלי האירופי (EEA)
Places API מאפשר לחפש מידע על מקומות לפי מגוון קטגוריות, כולל מוסדות, מוקדי עניין בולטים ומיקומים גיאוגרפיים. אפשר לחפש מקומות לפי קרבתם או לפי מחרוזת טקסט. חיפוש מקומות מחזיר רשימה של מקומות יחד עם סיכום של כל מקום. מידע נוסף זמין באמצעות שאילתה מסוג פרטי מקום (ממשק קודם).
השוואה בין סוגי חיפוש
יש שלושה נקודות קצה לחיפוש עם מאפיינים שונים. בטבלה הבאה מפורטים חלק מההבדלים האלה.
בחירת שדה
אין אפשרות להגביל את החיפוש בסביבה (מדור קודם) או את חיפוש הטקסט (מדור קודם) כך שיחזירו רק שדות ספציפיים. כדי שלא תצטרכו לבקש נתונים שאתם לא צריכים (ולשלם עליהם), תוכלו להשתמש במקום זאת בבקשה מסוג 'חיפוש מקום' (מדור קודם).
טקסט לא ברור
התכונות 'חיפוש מקום' (מדור קודם) ו'חיפוש טקסט' (מדור קודם) מותאמות להשוואה של טקסט לא ברור במספר שדות, ואילו התכונה 'חיפוש בקרבת מקום' (מדור קודם) מוגבלת להתאמות קפדניות בקבוצת משנה של שדות.
מסננים נוספים
בחיפוש בקרבת מקום (גרסה קודמת) ובחיפוש טקסט (גרסה קודמת) אפשר להשתמש בפרמטרים נוספים לסינון התוצאות (למשל minprice
, maxprice
, opennow
ו-type
).
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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`)."]]