Safe Browsing API
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Позволяет клиентским приложениям проверять веб-ресурсы (чаще всего URL-адреса) по спискам небезопасных веб-ресурсов, созданным Google. API безопасного просмотра предназначены только для некоммерческого использования. Если вам необходимо использовать API для обнаружения вредоносных URL-адресов в коммерческих целях — то есть «для продажи или получения дохода», — обратитесь к API Web Risk.
Сервис: safebrowsing.googleapis.com
Имя службы safebrowsing.googleapis.com
необходимо для создания заглушек клиента RPC.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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. |"]]