Safe Browsing API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מאפשר לאפליקציות לקוח לבדוק אם משאבי אינטרנט (בדרך כלל כתובות URL) נכללים ברשימות של משאבי אינטרנט לא בטוחים שנוצרו על ידי Google. ממשקי ה-API של הגלישה הבטוחה מיועדים לשימוש לא מסחרי בלבד. אם אתם צריכים להשתמש בממשקי API כדי לזהות כתובות URL זדוניות למטרות מסחריות – כלומר "למטרות מכירה או ייצור הכנסות" – עיינו בממשק Web Risk API.
שירות: safebrowsing.googleapis.com
שם השירות safebrowsing.googleapis.com
נדרש כדי ליצור stubs של לקוחות RPC.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe Safe Browsing APIs enable client applications to cross-reference web resources, primarily URLs, against Google's lists of unsafe web resources for non-commercial use only.\u003c/p\u003e\n"],["\u003cp\u003eFor commercial purposes, including "for sale or revenue-generating purposes," the Web Risk API should be used instead of the Safe Browsing APIs.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers need the service name \u003ccode\u003esafebrowsing.googleapis.com\u003c/code\u003e for creating RPC client stubs when interacting with the API.\u003c/p\u003e\n"],["\u003cp\u003eThe Safe Browsing APIs offer various functionalities such as fetching threat list updates, finding full hashes and threat matches, listing available threat lists, searching for specific hashes, and managing hash lists.\u003c/p\u003e\n"]]],["The Safe Browsing APIs enable checking web resources against Google's unsafe web resource lists for non-commercial use. The service `safebrowsing.googleapis.com` facilitates this. Core actions include fetching threat list updates, finding full hash matches, and identifying threat entries. Users can also list available threat lists. The service offers multiple methods for searching hashes. For commercial use, the Web Risk API should be used instead. Three versions of the service are documented with specific actions for each.\n"],null,["# Safe Browsing API\n\nEnables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes -- meaning \"for sale or revenue-generating purposes\" -- please refer to the Web Risk API.\n\nService: safebrowsing.googleapis.com\n------------------------------------\n\nThe Service name `safebrowsing.googleapis.com` is needed to create RPC client stubs.\n\n[google.security.safebrowsing.v4.SafeBrowsing](/safe-browsing/reference/rpc/google.security.safebrowsing.v4#google.security.safebrowsing.v4.SafeBrowsing)\n---------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| [FetchThreatListUpdates](/safe-browsing/reference/rpc/google.security.safebrowsing.v4#google.security.safebrowsing.v4.SafeBrowsing.FetchThreatListUpdates) | Fetches the most recent threat list updates. |\n| [FindFullHashes](/safe-browsing/reference/rpc/google.security.safebrowsing.v4#google.security.safebrowsing.v4.SafeBrowsing.FindFullHashes) | Finds the full hashes that match the requested hash prefixes. |\n| [FindThreatMatches](/safe-browsing/reference/rpc/google.security.safebrowsing.v4#google.security.safebrowsing.v4.SafeBrowsing.FindThreatMatches) | Finds the threat entries that match the Safe Browsing lists. |\n| [ListThreatLists](/safe-browsing/reference/rpc/google.security.safebrowsing.v4#google.security.safebrowsing.v4.SafeBrowsing.ListThreatLists) | Lists the Safe Browsing threat lists available for download. |\n\n[google.security.safebrowsing.v5.SafeBrowsing](/safe-browsing/reference/rpc/google.security.safebrowsing.v5#google.security.safebrowsing.v5.SafeBrowsing)\n---------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [BatchGetHashLists](/safe-browsing/reference/rpc/google.security.safebrowsing.v5#google.security.safebrowsing.v5.SafeBrowsing.BatchGetHashLists) | Get multiple hash lists at once. |\n| [GetHashList](/safe-browsing/reference/rpc/google.security.safebrowsing.v5#google.security.safebrowsing.v5.SafeBrowsing.GetHashList) | Get the latest contents of a hash list. |\n| [ListHashLists](/safe-browsing/reference/rpc/google.security.safebrowsing.v5#google.security.safebrowsing.v5.SafeBrowsing.ListHashLists) | List hash lists. |\n| [SearchHashes](/safe-browsing/reference/rpc/google.security.safebrowsing.v5#google.security.safebrowsing.v5.SafeBrowsing.SearchHashes) | Search for full hashes matching the specified prefixes. |\n\n[google.security.safebrowsing.v5alpha1.SafeBrowsing](/safe-browsing/reference/rpc/google.security.safebrowsing.v5alpha1#google.security.safebrowsing.v5alpha1.SafeBrowsing)\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [BatchGetHashLists](/safe-browsing/reference/rpc/google.security.safebrowsing.v5alpha1#google.security.safebrowsing.v5alpha1.SafeBrowsing.BatchGetHashLists) | Get multiple hash lists at once. |\n| [GetHashList](/safe-browsing/reference/rpc/google.security.safebrowsing.v5alpha1#google.security.safebrowsing.v5alpha1.SafeBrowsing.GetHashList) | Get the latest contents of a hash list. |\n| [ListHashLists](/safe-browsing/reference/rpc/google.security.safebrowsing.v5alpha1#google.security.safebrowsing.v5alpha1.SafeBrowsing.ListHashLists) | List hash lists. |\n| [SearchHashes](/safe-browsing/reference/rpc/google.security.safebrowsing.v5alpha1#google.security.safebrowsing.v5alpha1.SafeBrowsing.SearchHashes) | Search for full hashes matching the specified prefixes. |"]]