# Google Fact Check, Dataset Search & Transparency Explorer (`xyrelith-data/google-public-data-explorer`) Actor

Search Google Fact Check Explorer reviews, Dataset Search records with formats and licenses, and Transparency Report removal and user-data statistics by country, product and period. No API key, cookies or login.

- **URL**: https://apify.com/xyrelith-data/google-public-data-explorer.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** News, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Public Interest Data Explorer

One actor for three of Google's public-interest data collections, with no login, no cookies and no API key:

- **Fact Check Explorer** — ClaimReview fact-checks for any claim or keyword, one row per fact-check review.
- **Dataset Search** — dataset discovery records with provider, hosting domains, formats, license, coverage and citation metrics.
- **Transparency Report** — government content-removal statistics and user-data request statistics by country, period, product, requester and reason, including historical series back to 2009.

Each record carries a `mode` field, so all three collections can share one dataset and one downstream pipeline.

### What you get

#### Fact checks

Search by keyword or exact claim text, restrict to one publisher site, pick a review language, and cap the age of reviews. The actor pages through Google's result set, removes duplicate claims/reviews, and can also read Google's newest fact-check feed.

Each row contains:

- `claim`, `normalizedClaim`, `claimant`, `claimants`, `claimantSourceUrls`, `claimDate`
- `claimAppearanceUrls`, `claimSourceDomain`
- `publisher`, `publisherSite`, `publisherCountry`, `publisherCountryCode`
- `reviewTitle`, `textualRating`, `reviewUrl`, `reviewDate`, `reviewLanguage`, `reviewId`
- `countriesTargeted`, `topics`, `imageUrl`, `relevanceScore`

A claim reviewed by several fact-checkers produces one row per review. Claim text such as `False`, `Misleading` or `Mostly true` is returned exactly as the publisher wrote it.

#### Datasets

Search Dataset Search by keyword or operator (`site:huggingface.co`, for example), then filter by update window, license class, free access, Croissant metadata and exact download format.

Each row contains:

- `title`, `alternateTitle`, `datasetId`, `internalId`
- `provider`, `providers`, `hostDomains`, `providerUrl`, `providerUrls`
- `datasetUrl`, `summary`, `description`, `descriptionHtml`
- `topics`, `subjects`, `tasks`, `dataTypes`, `techniques`, `places`
- `formats`, `formatTokens`, `formatClass`
- `areaCovered`, `boundingBox` (south, west, north, east)
- `temporalCoverageStart`, `temporalCoverageEnd`, `updated`, `updatedRaw`
- `licenseCode`, `licenseUrl`, `citation`, `doi`, `doiUrl`, `citedByCount`, `author`
- `isFree`, `hasCroissantFormat`, `relevanceRank`

`formatTokens` normalises values such as `zip(135510 bytes)` and `application/x-parquet` into usable tokens. The Croissant filter is applied from the per-card flag, so it composes with the exact-format filter.

#### Government removal requests

The actor reads Google's published removal CSV bundle and emits one row per statistic. Current-period rows include:

- `period`, `periodStart`, `periodEnd`, `country`, `territoryCode`
- `requester`, `product`, `reason`
- `requests`, `itemsRequested`
- `itemsRemovedLegal`, `itemsRemovedPolicy`, `itemsContentNotFound`, `itemsNotEnoughInfo`, `itemsNoActionTaken`, `itemsAlreadyRemoved`

With **Include historical removal series** enabled, three older series are added with `recordType` values:

- `historicalCourtExecutive` — court-order and executive/police splits with items requested (2009–2019)
- `historicalReasonTotal` — reason-level totals (2011–2025)
- `historicalCountrySummary` — all/court/other request totals and compliance percentages (2009–2019)

#### User-data requests

The default series is Google's global user-data request table. Optional series add diplomatic legal requests, enterprise cloud requests, and US national-security ranges.

Rows use `recordType` to identify the series:

- `global`: `legalProcess`, `requests`, `percentageDisclosed`, `accounts`
- `globalDiplomatic`: `assistingCountry`, `requests`
- `enterprise`: `product`, `legalProcess`, `requests`, `enterpriseCustomers`, `percentageDisclosed`
- `enterpriseDiplomatic`: `product`, `assistingCountry`, `requests`
- `fisaNonContent`, `fisaContent`, `nsl`: `requestsMin`, `requestsMax`, `accountsMin`, `accountsMax`
- `nslReleased`: `nslNumber`, `nslIssueDate`, `fbiReleaseDate`

### Input examples

#### Fact-check a claim

```json
{
  "mode": "factChecks",
  "queries": ["vaccines cause autism", "election fraud"],
  "publisherSite": "snopes.com",
  "factCheckLanguage": "en",
  "factCheckMaxAgeDays": 365,
  "maxItems": 100
}
```

#### Find reusable datasets

```json
{
  "mode": "datasets",
  "datasetQuery": "air quality",
  "datasetLastUpdated": "pastYear",
  "datasetUsageRights": "commercial",
  "datasetFreeOnly": true,
  "datasetDownloadFormat": "csv",
  "maxItems": 50
}
```

#### Read German removal statistics

```json
{
  "mode": "governmentRemovals",
  "transparencyCountry": "DE",
  "removalProduct": "YouTube",
  "includeHistorical": true,
  "dateFrom": "2015-01-01",
  "maxItems": 200
}
```

#### Read all user-data series

```json
{
  "mode": "userDataRequests",
  "transparencyCountry": "United States",
  "userDataIncludeDiplomatic": true,
  "userDataIncludeEnterprise": true,
  "userDataIncludeNationalSecurity": true,
  "maxItems": 200
}
```

#### Run everything at once

```json
{
  "mode": "all",
  "queries": ["climate"],
  "datasetQuery": "climate",
  "maxItems": 25
}
```

In `all` mode the cap applies to each source separately, so the run can emit up to four times `maxItems` rows.

### Output

All rows land in the default dataset. Filter by `mode`:

- `factChecks`
- `datasets`
- `governmentRemovals`
- `userDataRequests`

Every record includes `source` and `scrapedAt`. Empty values are omitted at every depth, so a missing field means the source did not publish it.

### Input reference

| Field | Type | Default | What it does |
|---|---|---|---|
| `mode` | select | `factChecks` | Source to query: `factChecks`, `datasets`, `governmentRemovals`, `userDataRequests` or `all`. |
| `maxItems` | integer | 50 | Per-mode row cap. The daily prefill uses 3. |
| `queries` | string list | `["vaccine"]` | Claim text or keywords for the Fact Check Explorer. |
| `publisherSite` | string | empty | Restricts reviews to one site, e.g. `snopes.com`. |
| `factCheckLanguage` | select | `all` | Review language; `all` returns the multilingual index. |
| `factCheckMaxAgeDays` | integer | 0 | Keep reviews newer than N days; 0 disables the filter. |
| `factCheckRecentFeed` | boolean | false | Use Google's newest fact-check feed instead of keyword queries. |
| `datasetQuery` | string | `climate` | Dataset Search keywords or operators. |
| `datasetLastUpdated` | select | `any` | Update window: `pastMonth`, `pastYear`, `past3Years`. |
| `datasetUsageRights` | select | `any` | `commercial` or `nonCommercial` license class. |
| `datasetFreeOnly` | boolean | false | Keep only datasets marked free to access. |
| `datasetCroissantOnly` | boolean | false | Keep only datasets with Croissant metadata. |
| `datasetDownloadFormat` | select | `any` | Keep datasets advertising a specific format (CSV, XLSX, JSON, Parquet, ZIP, XML, GeoJSON, TXT, PDF, NetCDF). |
| `transparencyCountry` | string | empty | Country name or CLDR code for both Transparency Report modes. |
| `removalProduct` | select | `all` | Google product for removal rows; also filters enterprise user-data rows. |
| `removalReason` | select | `all` | Removal reason recorded by Google. |
| `removalRequester` | select | `all` | Requester type for removal rows. |
| `includeHistorical` | boolean | true | Add the 2009–2019 requester/country series and the 2011–2025 reason totals. |
| `dateFrom` | string | empty | Earliest reporting-period end date (`YYYY-MM-DD`). |
| `dateTo` | string | empty | Latest reporting-period end date (`YYYY-MM-DD`). |
| `userDataProduct` | select | `all` | Filter enterprise user-data rows by product (`GCP`, `Google Workspace`); `all` keeps every series. |
| `userDataIncludeDiplomatic` | boolean | false | Add global diplomatic legal requests. |
| `userDataIncludeEnterprise` | boolean | false | Add enterprise and enterprise-diplomatic requests. |
| `userDataIncludeNationalSecurity` | boolean | false | Add FISA ranges, NSL ranges and released NSL letters. |

### Data sources

- `toolbox.google.com/factcheck/api/search` — the keyless JSON backend used by Google's Fact Check Explorer.
- `datasetsearch.research.google.com` — the public Dataset Search results backend.
- `storage.googleapis.com/transparencyreport/` — Google's daily-refreshed government-removal and user-data-request CSV bundles.

The actor reads only public endpoints. It never signs in, never sends cookies, and never writes to Google.

### Limitations

- **Fact-check reviewer names are not public.** The explorer API exposes the publisher name and site but not the individual author of each review. The actor does not fabricate an author field.
- **Fact-check age filtering scans up to 2,000 matches per query.** Google returns relevance-ranked pages, not a strict date index, so a very narrow age window can return fewer rows than `maxItems`.
- **The publisher filter is a `site:` query.** A review is matched only when the publisher's ClaimReview markup is hosted on the domain you enter.
- **Dataset variables are not a structured field.** Dataset Search provides a description and topic tags, but no column-level schema. When a provider lists variables, they appear inside `description` / `descriptionHtml`.
- **Some dataset licenses are codes without a URL.** In that case `licenseCode` is returned and `licenseUrl` is omitted.
- **The free-only filter is applied by Google, not reconstructed by the actor.** Some result cards do not carry a per-row free flag even when they match the filter, so `isFree` is present only when Google publishes it.
- **Dataset Search is an index, not a downloader.** The actor never downloads the dataset itself.
- **Transparency figures are Google's own aggregates.** Periods are half-yearly and may lag the current date. Historical rows and current rows can overlap at the 2019 boundary; use `recordType` to distinguish them.
- **National-security ranges are ranges.** Google publishes FISA/NSL counts as bands (for example 0–499), never exact counts.
- **Upstream HTML/JSON can change.** Retries and status messages surface failures instead of silently returning empty data.

### Reliability and proxy behaviour

The actor retries rate limits and server errors with exponential backoff. It starts with a direct connection, so no proxy configuration is required from you. If a source keeps rejecting requests, the run status message names the failing request instead of silently returning an empty dataset. The daily test prefill uses the smallest query and three items.

### FAQ

**Do I need a Google API key?**
No. All three sources are read through keyless public endpoints.

**Can I get one row per claim instead of per review?**
The actor emits one row per review because ratings, dates and URLs are review-level. Deduplicate on `claim` + `normalizedClaim` downstream if you need claim-level rows.

**Why are some countries missing from the transparency data?**
Google publishes a row only when a request or item count exists (or is zero but reportable) for that combination. The actor returns what the bundle contains.

**Why is `citedByCount` sometimes absent?**
Only datasets that Google links to scholarly citations carry that metric.

**Can I combine sources without running four times?**
Yes. Use `mode: "all"` and set `maxItems` to the per-source cap you want.

**Is the data legal to use?**
The actor only reads public pages and files. Review Google's terms and the license attached to each dataset before redistribution.

# Actor input Schema

## `mode` (type: `string`):

Which Google public-interest collection to query. `all` runs every mode with the same per-mode item cap.

## `maxItems` (type: `integer`):

Hard cap on records emitted by each selected mode. In all mode the cap applies to each source.

## `queries` (type: `array`):

Claim text or keywords. One search is run per query; duplicate claims and reviews are removed.

## `publisherSite` (type: `string`):

Restrict reviews to one fact-checking site, e.g. `snopes.com` or `factcheck.afp.com` (adds a site: filter).

## `factCheckLanguage` (type: `string`):

Language of the fact-check reviews. `All languages` returns the multilingual index.

## `factCheckMaxAgeDays` (type: `integer`):

Keep only reviews published in the last N days. 0 disables the filter. The actor scans up to 2,000 matches per query when this is set.

## `factCheckRecentFeed` (type: `boolean`):

Use Google's newest fact-checks feed instead of keyword queries.

## `datasetQuery` (type: `string`):

Keywords, or Dataset Search operators such as `site:huggingface.co`.

## `datasetLastUpdated` (type: `string`):

Only datasets updated in the selected window.

## `datasetUsageRights` (type: `string`):

Filter by the license class Google records for the dataset.

## `datasetFreeOnly` (type: `boolean`):

Only datasets Google marks as free to access or redistributable.

## `datasetCroissantOnly` (type: `boolean`):

Only datasets that publish Croissant metadata.

## `datasetDownloadFormat` (type: `string`):

Keep datasets whose advertised formats include the chosen file type.

## `transparencyCountry` (type: `string`):

Country name or CLDR code, e.g. `Germany` or `DE`. Leave empty for all countries. Applies to both Transparency Report modes.

## `removalProduct` (type: `string`):

Google product for removal requests; also filters enterprise user-data rows.

## `removalReason` (type: `string`):

Reason recorded by Google for the removal request.

## `removalRequester` (type: `string`):

Who filed the government removal request.

## `includeHistorical` (type: `boolean`):

Adds the 2009-2019 requester split, the 2011-2025 reason totals and the 2009-2019 country summaries.

## `dateFrom` (type: `string`):

Keep rows whose reporting period ends on or after this date.

## `dateTo` (type: `string`):

Keep rows whose reporting period ends on or before this date.

## `userDataIncludeDiplomatic` (type: `boolean`):

Adds Google's country-to-country diplomatic legal request table.

## `userDataIncludeEnterprise` (type: `boolean`):

Adds enterprise cloud request and enterprise diplomatic tables.

## `userDataProduct` (type: `string`):

Filter enterprise user-data rows by product. `all` keeps every series.

## `userDataIncludeNationalSecurity` (type: `boolean`):

Adds FISA non-content, FISA content, National Security Letter ranges and released NSL letters.

## Actor input object example

```json
{
  "mode": "factChecks",
  "maxItems": 3,
  "queries": [
    "vaccine"
  ],
  "factCheckLanguage": "all",
  "factCheckMaxAgeDays": 0,
  "factCheckRecentFeed": false,
  "datasetQuery": "climate",
  "datasetLastUpdated": "any",
  "datasetUsageRights": "any",
  "datasetFreeOnly": false,
  "datasetCroissantOnly": false,
  "datasetDownloadFormat": "any",
  "removalProduct": "all",
  "removalReason": "all",
  "removalRequester": "all",
  "includeHistorical": true,
  "userDataIncludeDiplomatic": false,
  "userDataIncludeEnterprise": false,
  "userDataProduct": "all",
  "userDataIncludeNationalSecurity": false
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing fact-check reviews, datasets and transparency statistics, identified by the `mode` field.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "factChecks",
    "maxItems": 3,
    "queries": [
        "vaccine"
    ],
    "factCheckLanguage": "all",
    "factCheckMaxAgeDays": 0,
    "factCheckRecentFeed": false,
    "datasetQuery": "climate",
    "datasetLastUpdated": "any",
    "datasetUsageRights": "any",
    "datasetFreeOnly": false,
    "datasetCroissantOnly": false,
    "datasetDownloadFormat": "any",
    "removalProduct": "all",
    "removalReason": "all",
    "removalRequester": "all",
    "includeHistorical": true,
    "userDataIncludeDiplomatic": false,
    "userDataIncludeEnterprise": false,
    "userDataProduct": "all",
    "userDataIncludeNationalSecurity": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/google-public-data-explorer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "factChecks",
    "maxItems": 3,
    "queries": ["vaccine"],
    "factCheckLanguage": "all",
    "factCheckMaxAgeDays": 0,
    "factCheckRecentFeed": False,
    "datasetQuery": "climate",
    "datasetLastUpdated": "any",
    "datasetUsageRights": "any",
    "datasetFreeOnly": False,
    "datasetCroissantOnly": False,
    "datasetDownloadFormat": "any",
    "removalProduct": "all",
    "removalReason": "all",
    "removalRequester": "all",
    "includeHistorical": True,
    "userDataIncludeDiplomatic": False,
    "userDataIncludeEnterprise": False,
    "userDataProduct": "all",
    "userDataIncludeNationalSecurity": False,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/google-public-data-explorer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "factChecks",
  "maxItems": 3,
  "queries": [
    "vaccine"
  ],
  "factCheckLanguage": "all",
  "factCheckMaxAgeDays": 0,
  "factCheckRecentFeed": false,
  "datasetQuery": "climate",
  "datasetLastUpdated": "any",
  "datasetUsageRights": "any",
  "datasetFreeOnly": false,
  "datasetCroissantOnly": false,
  "datasetDownloadFormat": "any",
  "removalProduct": "all",
  "removalReason": "all",
  "removalRequester": "all",
  "includeHistorical": true,
  "userDataIncludeDiplomatic": false,
  "userDataIncludeEnterprise": false,
  "userDataProduct": "all",
  "userDataIncludeNationalSecurity": false
}' |
apify call xyrelith-data/google-public-data-explorer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/google-public-data-explorer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/F73xxd7Ao1jXvaIXE/builds/OPNgQF8zDvIwCE7GU/openapi.json
