GoogleSecuritySafebrowsingV5SearchHashesResponse
The response returned after searching threat hashes. If nothing is found, the server will return an OK status (HTTP status code 200) with the `full_hashes` field empty, rather than returning a NOT_FOUND status (HTTP status code 404). **What's new in V5**: There is a separation between `FullHash` and `FullHashDetail`. In the case when a hash represents a site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the full hash does not need to be sent twice as in V4. Furthermore, the cache duration has been simplified into a single `cache_duration` field.
Properties
| Name | Type | Description |
|---|---|---|
| fullHashes | array | Unordered list. The unordered list of full hashes found. |
| cacheDuration | string | The client-side cache duration. The client MUST add this duration to the current time to determine the expiration time. The expiration time then applies to every hash prefix queried by the client in t |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-safe-browsing/json-schema/google-safe-browsing-google-security-safebrowsing-v5-search-hashes-response-schema.json",
"title": "GoogleSecuritySafebrowsingV5SearchHashesResponse",
"description": "The response returned after searching threat hashes. If nothing is found, the server will return an OK status (HTTP status code 200) with the `full_hashes` field empty, rather than returning a NOT_FOUND status (HTTP status code 404). **What's new in V5**: There is a separation between `FullHash` and `FullHashDetail`. In the case when a hash represents a site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the full hash does not need to be sent twice as in V4. Furthermore, the cache duration has been simplified into a single `cache_duration` field.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-safe-browsing-safebrowsing-hashes-api-openapi.yml#/components/schemas/GoogleSecuritySafebrowsingV5SearchHashesResponse",
"properties": {
"fullHashes": {
"type": "array",
"description": "Unordered list. The unordered list of full hashes found.",
"items": {
"$ref": "#/$defs/GoogleSecuritySafebrowsingV5FullHash"
}
},
"cacheDuration": {
"format": "google-duration",
"type": "string",
"description": "The client-side cache duration. The client MUST add this duration to the current time to determine the expiration time. The expiration time then applies to every hash prefix queried by the client in the request, regardless of how many full hashes are returned in the response. Even if the server returns no full hashes for a particular hash prefix, this fact MUST also be cached by the client. If and only if the field `full_hashes` is empty, the client MAY increase the `cache_duration` to determine a new expiration that is later than that specified by the server. In any case, the increased cache duration must not be longer than 24 hours. Important: the client MUST NOT assume that the server will return the same cache duration for all responses. The server MAY choose different cache durations for different responses depending on the situation."
}
},
"type": "object",
"$defs": {
"GoogleSecuritySafebrowsingV5FullHash": {
"description": "The full hash identified with one or more matches.",
"properties": {
"fullHash": {
"description": "The matching full hash. This is the SHA256 hash. The length will be exactly 32 bytes.",
"format": "byte",
"type": "string"
},
"fullHashDetails": {
"items": {
"$ref": "#/$defs/GoogleSecuritySafebrowsingV5FullHashFullHashDetail"
},
"type": "array",
"description": "Unordered list. A repeated field identifying the details relevant to this full hash."
}
},
"type": "object"
},
"GoogleSecuritySafebrowsingV5FullHashFullHashDetail": {
"description": "Details about a matching full hash. An important note about forward compatibility: new threat types and threat attributes may be added by the server at any time; those additions are considered minor version changes. It is Google's policy not to expose minor version numbers in APIs (see https://cloud.google.com/apis/design/versioning for the versioning policy), so clients MUST be prepared to receive `FullHashDetail` messages containing `ThreatType` enum values or `ThreatAttribute` enum values that are considered invalid by the client. Therefore, it is the client's responsibility to check for the validity of all `ThreatType` and `ThreatAttribute` enum values; if any value is considered invalid, the client MUST disregard the entire `FullHashDetail` message.",
"type": "object",
"properties": {
"attributes": {
"description": "Unordered list. Additional attributes about those full hashes. This may be empty.",
"items": {
"type": "string",
"enum": [
"THREAT_ATTRIBUTE_UNSPECIFIED",
"CANARY",
"FRAME_ONLY"
]
},
"type": "array"
},
"threatType": {
"type": "string",
"enum": [
"THREAT_TYPE_UNSPECIFIED",
"MALWARE",
"SOCIAL_ENGINEERING",
"UNWANTED_SOFTWARE",
"POTENTIALLY_HARMFUL_APPLICATION"
],
"description": "The type of threat. This field will never be empty."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/google-safe-browsing-google-security-safebrowsing-v5-search-hashes-response"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.