# Google Safe Browsing API API reference

> The Safe Browsing Lookup API (v4) checks URLs against Google's lists of unsafe web resources, such as phishing and malware pages. You send URLs in a POST request and Google's server says which ones match a list. The server sees the URLs you send. The docs mark the v4 APIs as deprecated and point…

Source: https://osinttools.io/apis/google-safe-browsing/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/google-safe-browsing/

- Base URL: https://safebrowsing.googleapis.com/v4
- Authentication: API key in the `key` query parameter. Get a key: https://developers.google.com/safe-browsing/v4/get-started
- Rate limits: Not stated in the docs
- Vendor docs: https://developers.google.com/safe-browsing/v4

## Overview

The Safe Browsing Lookup API (v4) checks URLs against Google's lists of unsafe web resources, such as phishing and malware pages. You send URLs in a POST request and Google's server says which ones match a list. The server sees the URLs you send.

The docs mark the v4 APIs as deprecated and point to a [migration guide](https://developers.google.com/safe-browsing/reference/Migration.From.V4), and say they are for non-commercial use only (commercial use goes to the Web Risk API). The Update API, which downloads hash lists to check locally, is separate and not described here.

A request can include up to 500 URLs. An empty response body means nothing matched. Each match carries a `cacheDuration` telling how long the URL must be treated as unsafe.

## Lookup

### Check up to 500 URLs against Safe Browsing threat lists.

`POST /threatMatches:find`

- Takes: URL, Domain
- Footprint: passive (the target is not contacted)

Returns a match for each URL and list it appears on. Use the url field in threatEntries, not hash. Metadata is currently available only for the MALWARE / WINDOWS / URL list.

Response fields:

- `matches[].threatType` (string): The list that matched
- `matches[].platformType` (string): Platform of the list
- `matches[].threatEntryType` (string): Entry type of the list
- `matches[].threat.url` (string): The URL that matched
- `matches[].threatEntryMetadata` (object): Optional metadata for the match
- `matches[].cacheDuration` (string): How long the URL must be treated as unsafe

```bash
curl -X POST 'https://safebrowsing.googleapis.com/v4/threatMatches:find?key=YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"client":{"clientId":"example-client","clientVersion":"1.0"},"threatInfo":{"threatTypes":["MALWARE","SOCIAL_ENGINEERING"],"platformTypes":["WINDOWS"],"threatEntryTypes":["URL"],"threatEntries":[{"url":"http://example.com/"}]}}'
```

Example response (200):

```json
{
  "matches": [
    {
      "threatType": "MALWARE",
      "platformType": "WINDOWS",
      "threatEntryType": "URL",
      "threat": {
        "url": "http://example.com/"
      },
      "cacheDuration": "300.000s"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
