Google Safe Browsing
Phishing, malware or unwanted software URLs according to Google
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Google Cloud API keySecretRequired
Where to find them
- At console.cloud.google.com choose or create a project and enable “Safe Browsing API” (“APIs & Services” → “Library”).
- Under “APIs & Services” → “Credentials” click “Create credentials” → “API key”, restrict it to Safe Browsing API and copy it. It is free, but Google reserves it for non-commercial use: to check URLs inside services for customers it offers the paid Web Risk API.
Tools (2)
Google Safe Browsing API request
SAFEBROWSING_SEND_REQUESTAuthenticated call to the Google Safe Browsing API (https://safebrowsing.googleapis.com). Any endpoint of the API is allowed. API v4 is used (v5 responds in protobuf). Examples: POST /v4/threatMatches:find {"client": {"clientId": "culturewire", "clientVersion": "1.0"}, "threatInfo": {"threatTypes": ["MALWARE", "SOCIAL_ENGINEERING", "UNWANTED_SOFTWARE", "POTENTIALLY_HARMFUL_APPLICATION"], "platformTypes": ["ANY_PLATFORM"], "threatEntryTypes": ["URL"], "threatEntries": [{"url": "https://…"}]}} (up to 500 URLs; responds {} if none appears), GET /v4/threatLists.
Required scopes
No scopes required
Input
Google Safe Browsing API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Check URLs
SAFEBROWSING_CHECK_URLSChecks up to 500 URLs against Google Safe Browsing lists (malware, phishing or social engineering, unwanted software and potentially harmful applications) and returns, for each one, whether it appears and in which lists. For non-commercial use only.
Required scopes
No scopes required
Input
Check URLs input Name Type Description urlsrequiredstring[]Full URLs, e.g. https://example.com/login

