Next free-source hunt
We check for new free data every weekday.
Datasets / Cyber Threat
developers.google.com/

Google Safe Browsing API

Freemiumauth: free API key with Google account and Cloud projectProvider terms#cyber-threat#threat-intel#blocklists#risk#real-time✓ verified Nov 1, 2026

Google Safe Browsing API

Google Safe Browsing v5 provides REST methods for checking URLs or four-byte SHA-256 hash prefixes against Google's unsafe-resource lists and returns threat types and cache durations in JSON or protocol-buffer form. A Google account, Cloud project and free API key are needed.

Required Attribution:

For Google-derived user warnings, include "Advisory provided by Google," linked to the Safe Browsing Advisory.

Coverage

The service covers Google's constantly updated lists of social-engineering, malware and unwanted-software web resources. The v5 URL search accepts at most 50 URLs per request, and the provider allocates a project-specific default quota visible in the Developer Console. Applications may only treat a listed URL as unsafe using information updated within the previous 30 minutes.

Verdict

This is defensive data for checking URLs before an agent surfaces, stores or acts on them. Do not visit or fetch URLs or hosts returned or submitted for checking; send only the lookup request to Google. Coverage can contain false positives and false negatives, and raw-URL search discloses submitted URLs to Google while hash-prefix search needs client-side canonicalization and matching. The terms require fresh checks, prescribed warnings and Google attribution when results are shown to users, and they prohibit commercial use without a separate agreement.

Get the free weekly email

Free weekly email of newly verified free data. Unsubscribe by emailing us.

Use in your agent

Check a URL with Safe Browsing into pandas and Parquet. Checked against the provider's documentation on Nov 1, 2026.

Raw skill file (/skills/google-safe-browsing-api.md)Also in our MCP server: call get_ingestion_skill with {"slug": "google-safe-browsing-api"}.

Access

  • Create a Google account and Cloud project, enable the Safe Browsing API, and create a free API key.
  • Store the key in GOOGLE_SAFE_BROWSING_API_KEY; do not place it in source code or output.

Request

bash
curl -G --data-urlencode 'key='"$GOOGLE_SAFE_BROWSING_API_KEY" --data-urlencode 'urls=testsafebrowsing.appspot.com/' 'https://safebrowsing.googleapis.com/v5/urls:search'

Format

JSON containing an unordered threats array with matched URL and threat types plus a cacheDuration; an empty threats array is a successful negative result.

Load into pandas and Parquet

Needs Python 3 with requests, pandas and pyarrow.

python
"""Check Google's Safe Browsing v5 test URL -> pandas -> Parquet. Needs a free API key."""
import json
import os
import requests
import pandas as pd

URL = "https://safebrowsing.googleapis.com/v5/urls:search"
params = {"key": os.environ["GOOGLE_SAFE_BROWSING_API_KEY"],
          "urls": "testsafebrowsing.appspot.com/"}
r = requests.get(URL, params=params, timeout=60)
r.raise_for_status()
payload = r.json()
rows = [{"url": item.get("url"),
         "threat_types": json.dumps(item.get("threatTypes", [])),
         "cache_duration": payload.get("cacheDuration")}
        for item in payload.get("threats", [])]
df = pd.DataFrame(rows, columns=["url", "threat_types", "cache_duration"])
df.to_parquet("google_safe_browsing.parquet", index=False)
print(len(df), "threat matches for the Safe Browsing test URL")

Not run: it needs a free API key.

Limits

  • Rate limit: project-specific default quota shown in Google Developer Console; no universal numeric limit is stated.
  • urls.search accepts no more than 50 URLs per request.
  • Commercial use is prohibited without a separate agreement; Google directs commercial users to the paid Web Risk API.

Quirks

  • An HTTP 200 response with an empty threats field is a valid negative lookup, not an error.
  • urls.search sends raw URLs to Google; hashes.search sends four-byte SHA-256 prefixes but requires correct URL canonicalization and local full-hash matching.
  • Respect cacheDuration, and do not treat a listed URL as unsafe using information older than 30 minutes.
  • Do not visit or fetch submitted or returned URLs or hosts; only query the Google endpoint.

Terms and attribution

  • Safe Browsing is free of charge but restricted to non-commercial use unless Google grants a separate agreement.
  • User-facing warnings must explain service limitations and use the required Google attribution; Google may use and share URLs submitted through SearchUrls.

Sources

Information and education only. Not financial, investment, legal or tax advice. Listings can be inaccurate, incomplete or out of date and are provided "as is". Free tiers, limits and licenses belong to each provider and can change, so check the provider's own terms before you rely on them. Terms & Disclaimer