# Google Safe Browsing API

> Google Link/Domain Flagging.

Google Safe Browsing is an anti-malware API from google.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 23 endpoints.

## At a glance

- Category: [Anti-Malware](https://www.openparable.com/apis/category/anti-malware)
- Provider: google.com
- Authentication: API key
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://travelpartner.googleapis.com/
- Documentation: https://developers.google.com/safe-browsing/
- OpenAPI description: https://api.apis.guru/v2/specs/google.com/v3/openapi.json
- Version: v3
- Specification updated: 2023-03-06

## Example request

```bash
curl -X GET "https://travelpartner.googleapis.com/v3/NAME" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `POST /v3/{account}/hotels:setLiveOnGoogle` — Collection-level custom method to update the Live on Google status for multiple properties. Each call can turn on or off multiple hotels. To turn some hotels on
- `GET /v3/{name}` — Returns a reconciliation report.
- `PATCH /v3/{name}` — Updates a brand.
- `DELETE /v3/{name}` — Deletes an account link.
- `GET /v3/{name}/freeBookingLinksReportViews:query` — **DEPRECATED:** Use PropertyPerformanceReportService.QueryPropertyPerformanceReport, which also has impression reporting, instead. Provides the ability to query
- `GET /v3/{name}/participationReportViews:query` — Provides the ability to query (get, filter, and segment) a participation report for a particular account.
- `GET /v3/{name}/propertyPerformanceReportViews:query` — Provides the ability to query (get, filter, and segment) a property performance links report for a specific account.
- `GET /v3/{parent}/accountLinks` — Returns the account links for a Hotel Center account.
- `POST /v3/{parent}/accountLinks` — Creates a new account link between a Hotel Center account and a Google Ads account.
- `GET /v3/{parent}/brands` — Returns the brands for a partner account.
- `POST /v3/{parent}/brands` — Creates a new brand. Because Google detects brands from your existing properties, you only need this operation when you want to configure a brand before you sen
- `GET /v3/{parent}/hotelViews` — Returns the list of hotel views.
- `GET /v3/{parent}/hotelViews:summarize` — Returns summarized information about hotels.
- `GET /v3/{parent}/icons` — Returns the `Icon`s for a partner account.
- `POST /v3/{parent}/icons` — Uploads a new icon and starts its review process. Generates an `icon_id` and includes it in the icon's resource name, which is the format `accounts/{account_id}
- `POST /v3/{parent}/listings:verify` — returns verified listings with data issues and serving eligibilities
- `GET /v3/{parent}/priceAccuracyViews` — Lists the available price accuracy views.
- `GET /v3/{parent}/priceAccuracyViews:summarize` — Returns the price accuracy summary.
- `GET /v3/{parent}/priceCoverageViews` — Returns the entire price coverage history.
- `GET /v3/{parent}/priceCoverageViews:latest` — Returns the latest price coverage view in full detail.
- `GET /v3/{parent}/reconciliationReports` — Returns a list of the names of created reconciliation reports.
- `POST /v3/{parent}/reconciliationReports` — Creates a reconciliation report and uploads it to Google.
- `POST /v3/{parent}/reconciliationReports:validate` — Validates a reconciliation report.

## Questions

### Does the Google Safe Browsing API need an API key?

Yes. The Google Safe Browsing API uses API key authentication; the documentation explains how to get credentials.

### Does the Google Safe Browsing API support HTTPS?

Yes, the Google Safe Browsing API is served over HTTPS.

### How many endpoints does the Google Safe Browsing API have?

Its OpenAPI description lists 23 endpoints in version v3. All of them are shown on this page.

### What are alternatives to the Google Safe Browsing API?

Other Anti-Malware APIs include VirusTotal, MalwareBazaar, URLScan.io, Web of Trust, AbuseIPDB.

## Similar anti-malware APIs

- [VirusTotal](https://www.openparable.com/apis/virustotal): VirusTotal File/URL Analysis
- [MalwareBazaar](https://www.openparable.com/apis/malwarebazaar): Collect and share malware samples
- [URLScan.io](https://www.openparable.com/apis/urlscan-io): Scan and Analyse URLs
- [Web of Trust](https://www.openparable.com/apis/web-of-trust): IP/domain/URL reputation
- [AbuseIPDB](https://www.openparable.com/apis/abuseipdb): IP/domain/URL reputation
- [AlienVault Open Threat Exchange (OTX)](https://www.openparable.com/apis/alienvault-open-threat-exchange-otx): IP/domain/URL reputation
- [ScanMalware](https://www.openparable.com/apis/scanmalware): Scan URLs in a sandboxed browser and search past scans by domain, IP, ASN, JARM or favicon hash
- [CAPEsandbox](https://www.openparable.com/apis/capesandbox): Malware execution and analysis
- [MalDatabase](https://www.openparable.com/apis/maldatabase): Provide malware datasets and threat intelligence feeds
- [MalShare](https://www.openparable.com/apis/malshare): Malware Archive / file sourcing
- [Malwagon](https://www.openparable.com/apis/malwagon): Detonates files and URLs in instrumented VMs and returns behaviour, IOCs and ATT&CK
- [Scanii](https://www.openparable.com/apis/scanii): Simple REST API that can scan submitted documents/files for the presence of threats

Listed from: public-apis (MIT), public-apis database (MIT), APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/google-safe-browsing (OpenParable). Cite the canonical URL above.
