Method: threatMatches.find
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Находит записи об угрозах, соответствующие спискам безопасного просмотра.
HTTP-запрос
POST https://safebrowsing.googleapis.com/v4/threatMatches:find
URL-адрес использует синтаксис транскодирования gRPC .
Тело запроса
Тело запроса содержит данные следующей структуры:
Поля |
---|
client | object ( ClientInfo ) Метаданные клиента. |
threatInfo | object ( ThreatInfo ) Списки и записи, которые необходимо проверить на совпадения. |
Тело ответа
В случае успеха тело ответа содержит данные следующей структуры:
JSON-представление |
---|
{
"matches": [
{
object (ThreatMatch )
}
]
} |
Поля |
---|
matches[] | object ( ThreatMatch ) Список угроз совпадает. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eThis API endpoint allows you to find threat entries that match Safe Browsing lists using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires client metadata and information about the threats to be checked, sent as a JSON object.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a JSON object containing a list of any matches found in the Safe Browsing lists.\u003c/p\u003e\n"],["\u003cp\u003eYou can find details about the request and response structures by referencing \u003ccode\u003eClientInfo\u003c/code\u003e, \u003ccode\u003eThreatInfo\u003c/code\u003e, and \u003ccode\u003eThreatMatch\u003c/code\u003e in the provided documentation links.\u003c/p\u003e\n"]]],["The core function is to find threat entries matching Safe Browsing lists. This is achieved via a `POST` request to `https://safebrowsing.googleapis.com/v4/threatMatches:find`. The request body requires a JSON object with `client` and `threatInfo` fields. The successful response body returns a JSON object containing an array `matches[]`, which contains any identified threat matches. The provided links lead to other pages that explain further information.\n"],null,["# Method: threatMatches.find\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FindThreatMatchesResponse.SCHEMA_REPRESENTATION)\n\nFinds the threat entries that match the Safe Browsing lists.\n\n### HTTP request\n\n`POST https://safebrowsing.googleapis.com/v4/threatMatches:find`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"client\": { object (/safe-browsing/reference/rest/v4/ClientInfo) }, \"threatInfo\": { object (/safe-browsing/reference/rest/v4/ThreatInfo) } } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------|\n| `client` | `object (`[ClientInfo](/safe-browsing/reference/rest/v4/ClientInfo)`)` The client metadata. |\n| `threatInfo` | `object (`[ThreatInfo](/safe-browsing/reference/rest/v4/ThreatInfo)`)` The lists and entries to be checked for matches. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------|\n| ``` { \"matches\": [ { object (/safe-browsing/reference/rest/v4/ThreatMatch) } ] } ``` |\n\n| Fields ||\n|-------------|---------------------------------------------------------------------------------------------------|\n| `matches[]` | `object (`[ThreatMatch](/safe-browsing/reference/rest/v4/ThreatMatch)`)` The threat list matches. |"]]