What is the Safe Browsing API?
The Safe Browsing API is a specialized endpoint designed for applications that need to determine whether a URL is safe to visit before the user navigates to it. Unlike general-purpose domain classification that assigns content categories, the Safe Browsing API returns a binary safety verdict augmented with content risk-specific metadata: is this URL associated with restricted content, unsafe content distribution, unwanted software, or social engineering? The answer comes back in under 10 milliseconds, fast enough to check every link before the browser begins loading the page.
This endpoint powers the warning interstitials that protect users from visiting dangerous sites. When a user clicks a link in an email, chat message, or search result, the application queries the Safe Browsing API with the full URL. If the URL appears in our content risk database of over 100 million classified domains, the API returns the specific content risk type and severity, enabling the application to display an appropriate warning, block navigation entirely, or log the event for security monitoring.
The API is designed to complement browser-native safe browsing features rather than replace them. Many organizations need additional protection layers beyond what browser vendors provide. Our database is updated more frequently, covers a broader range of content risk categories, and gives you full control over how content risks are handled, from soft warnings to hard blocks to silent logging based on your organization's security posture. The same endpoint powers student web filtering for on-campus and remote learning, where every link a student clicks is checked before the page loads.