Get Safe Browsing lists
The request returns information about the up-to-date Yandex-hosted Safe Browsing lists.
Request format
Response format
The response body contains a list of all up-to-date Safe Browsing lists with the parameters that identify each of them.
The resulting values are used in the request parameters:
{
"threatLists": [
{
"threatType": "{enum}",
"platformType": "{enum}",
"threatEntryType": "{enum}"
}
]
}
threatLists
Updated Safe Browsing lists. Array of objects.
threatType
*Type of threat.
THREAT_TYPE_UNSPECIFIED
: An unknown type of threat.MALWARE
: Malicious software.SOCIAL_ENGINEERING
: A threat related to social engineering.UNWANTED_SOFTWARE
: Unwanted software.POTENTIALLY_HARMFUL_APPLICATION
: An application that may pose a threat.
platformType
*A platform susceptible to the threat.
PLATFORM_TYPE_UNSPECIFIED
: An unknown platform.WINDOWS
: A Windows operating system.LINUX
: A Linux operating system.ANDROID
: An Android operating system.OSX
: An OS X operating system.IOS
: An iOS operating system.ANY_PLATFORM
: At least one platform from the list.ALL_PLATFORMS
: All platforms.CHROME
: A Chrome platform.
threatEntryType
*The type of object that poses a threat.
THREAT_ENTRY_TYPE_UNSPECIFIED
: The threat type is unknown.URL
: A URL address.EXECUTABLE
: An executable program.
* Required
Example
Request:
https://sba.yandex.net/v4/threatLists?key=2f8...8ea
Response:
{
"threatLists": [
{
"threatType": "MALWARE",
"platformType": "WINDOWS",
"threatEntryType": "URL"
},
{
"threatType": "MALWARE",
"platformType": "LINUX",
"threatEntryType": "URL"
}
]
}