Safe Browsing API
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Permite que aplicativos clientes verifiquem recursos da Web (geralmente URLs) nas listas de recursos da Web não seguros gerados pelo Google. As APIs Safe Browsing são usadas apenas para fins não comerciais. Se você precisar usar APIs para detectar URLs maliciosos para fins comerciais, ou seja, "para venda ou geração de receita", consulte a API Web Risk.
Serviço: safebrowsing.googleapis.com
O nome do serviço safebrowsing.googleapis.com
é necessário para criar stubs de clientes RPC.
Métodos |
FetchThreatListUpdates
|
Busca as atualizações mais recentes da lista de ameaças. |
FindFullHashes
|
Encontra os hashes completos que correspondem aos prefixos de hash solicitados. |
FindThreatMatches
|
Encontra as entradas de ameaças que correspondem às listas do recurso Navegação segura. |
ListThreatLists
|
Lista as listas de ameaças da Navegação segura disponíveis para download. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 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. |"]]