# Google Consumer Pricing Index: YouTube, One, Workspace & Store (`crawlyth-forge/google-consumer-pricing-index`) Actor

Cookieless Google consumer prices by country: YouTube Premium and TV plans with ZIP channel lineups, Google One and Workspace subscriptions, and Google Store hardware variants, with currency, promo, source URL and optional USD conversion.

- **URL**: https://apify.com/crawlyth-forge/google-consumer-pricing-index.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Automation, E-commerce, Videos
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.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/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 Consumer Pricing Index

Track what Google charges consumers around the world in one dataset. The actor reads the public, logged-out price surfaces for YouTube Premium, YouTube TV, Google One, Google Workspace and the Google Store, then emits one normalized row per plan or hardware configuration with the country, currency, price, billing period, promo text, source URL and an optional USD conversion.

No cookies, logins, API keys or proxy setup are required from you. Country-sensitive prices are read through a matching Apify Proxy exit automatically.

### Modes

| Mode | What it returns |
| --- | --- |
| `youtubePremium` | YouTube Premium and Premium Lite plans (Individual, Family, Student, annual where offered) per country, with trial text and post-trial price. |
| `youtubeTV` | YouTube TV base plans, promotional prices, add-on bundles and individually priced premium networks, plus a ZIP-level channel lineup with local affiliates and the DMA name. |
| `googleOne` | Google One and Google AI storage plans, monthly and annual, with storage size, price and savings text per country. |
| `workspace` | Google Workspace Business Starter, Standard, Plus and Enterprise plan prices per country, including introductory discounts and trial text. |
| `googleStore` | Google Store hardware (Pixel phones and foldables, watches, earbuds, laptops, Nest, accessories) per country with list price, sale price, storage, colour and carrier variants. |
| `all` | Runs every mode above in one pass. |

### Inputs

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | select | `youtubePremium` | Price surface to read: `youtubePremium`, `youtubeTV`, `googleOne`, `workspace`, `googleStore` or `all`. |
| `countries` | string\[] | `["us"]` | ISO 3166-1 alpha-2 countries for subscription and Store prices. Country-priced sources use an Apify Proxy exit in that country. |
| `zipCodes` | string\[] | `["10001"]` | Five-digit US ZIP codes for the YouTube TV local channel lineup. |
| `includeChannelLineup` | boolean | `true` | Emit one row per YouTube TV channel for each ZIP code. |
| `includeTvAddons` | boolean | `true` | Emit YouTube TV add-on bundles and premium networks. |
| `storeCategory` | select | `phones` | Store category to walk: `phones`, `watches`, `earbuds`, `laptops`, `smartHome`, `accessories`, `offers` or `all`. |
| `storeProductSlugs` | string\[] | – | Exact Store products or URLs to read instead of walking a category. Empty means enumerate `storeCategory`. |
| `includeStoreVariants` | boolean | `true` | Emit one hardware row per storage/carrier configuration. |
| `convertToUsd` | boolean | `true` | Add `priceUsd`, `fxRate`, `fxBase` and `fxDate` from a free public FX feed. |
| `maxItems` | integer | `200` | Hard cap on emitted rows. |

### Output

Every row carries `recordType`, `source`, `product`, `plan`, `variant`, `country`, `currency`, `price`, `billingPeriod`, `sourceUrl`, `scrapedAt` and `fetchedAt`. Optional fields include `listPrice`, `salePrice`, `promoText`, `trialOffer`, `priceUsd`, `storage`, `color`, `carrier`, `channelName`, `dmaName` and `zipCode`. Premium prepaid terms also carry `billingPlan` and `billingTermMonths`. Empty fields are omitted, never null.

### Price semantics

- `price` is the price Google currently shows for that offer.
- `listPrice` is shown only when the page displays a higher reference or struck-through price. Store variants inherit the starting list price only on the base configuration; higher storage tiers are not given a made-up list price.
- `salePrice` repeats the current price when it is below `listPrice`.
- `billingPeriod` is `month` or `year`.
- `priceUsd` is present only when the currency has a reliable fiat rate in the FX feed.

### Coverage and limits

- YouTube Premium, Google One and Workspace pricing depends on the exit country. The actor uses Apify datacenter proxies with country selection; a country without a matching datacenter exit is skipped rather than filled with another country's price.
- Workspace publishes flexible monthly prices. The annual-commitment discount is reported as `commitmentText` when Google shows it, but a separate annual price is not exposed logged out.
- YouTube Premium prepaid countries expose 1, 3 and 12-month terms; `billingTermMonths` records the term and `billingPeriod` normalizes it to month or year.
- The account that served this actor's research has US datacenter proxies only. The actor tries a datacenter country exit first, verifies the exit country, then falls back to an Apify residential exit for other countries. Countries with no matching exit are skipped, never filled with another country's price.
- YouTube TV is US-only. Base-plan prices are national; the ZIP code controls the local channel lineup.
- Store product availability differs by country. Unavailable products are skipped.
- Current Store offer/bundle landing pages do not expose structured prices, so the `offers` category can return 0 rows. Use a hardware category or exact `storeProductSlugs` for reliable Store prices.
- Add-on prices vary and some YouTube TV bundles are priced only after sign-in. The actor returns the add-on prices Google publishes logged out.
- USD conversion uses a public exchange-rate feed and is informational, not a checkout rate.

### Data sources

- `youtube.com/premium`
- `tv.youtube.com/welcome/`, `tv.youtube.com/learn/explore-plans/` and the public YouTube TV channel-lookup endpoint
- `one.google.com/about/plans`
- `workspace.google.com/pricing`
- `store.google.com/{country}/product/...` and `store.google.com/{country}/config/...`

### Notes

Prices change often. Each row records its source URL and fetch timestamp so you can verify and diff it. The actor is read-only and works without an account on any of the source sites.

# Actor input Schema

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

Which Google consumer price list to read. YouTube Premium, Google One and Workspace follow the exit-country price, so each selected country is fetched through a matching Apify Proxy exit. Google Store prices come from the country storefront. YouTube TV is US-only and uses ZIP codes.

## `countries` (type: `array`):

ISO 3166-1 alpha-2 country codes. Used by YouTube Premium, Google One, Workspace and Google Store. YouTube and One return the price Google shows to an exit IP in that country; Store uses that country's storefront. Unsupported Store markets are skipped with a status note.

## `zipCodes` (type: `array`):

Five-digit US ZIP codes used to resolve the local channel lineup, including local affiliates and the DMA name.

## `includeChannelLineup` (type: `boolean`):

Emit one row per channel for each ZIP code, including local affiliates and category labels.

## `includeTvAddons` (type: `boolean`):

Emit YouTube TV add-on bundles and individually priced premium networks in addition to the base plans.

## `storeCategory` (type: `string`):

Hardware category to enumerate from the country storefront. Use All to walk every product category.

## `storeProductSlugs` (type: `array`):

Read these exact products instead of walking a category. Accepts slugs such as pixel_11 or full store.google.com product URLs. Leave empty to enumerate storeCategory.

## `includeStoreVariants` (type: `boolean`):

Emit one row per storage/carrier configuration with its own price. Colour options are attached to every row.

## `convertToUsd` (type: `boolean`):

Add a USD-converted price using a free public foreign-exchange feed. The conversion is omitted when no reliable fiat rate is available.

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

Hard cap on emitted rows. A full Store product with variants can use several rows.

## Actor input object example

```json
{
  "mode": "youtubePremium",
  "countries": [
    "us"
  ],
  "zipCodes": [
    "10001"
  ],
  "includeChannelLineup": true,
  "includeTvAddons": true,
  "storeCategory": "phones",
  "storeProductSlugs": [],
  "includeStoreVariants": true,
  "convertToUsd": true,
  "maxItems": 3
}
```

# Actor output Schema

## `offers` (type: `string`):

Dataset containing subscription, plan, channel and hardware price rows.

# 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": "youtubePremium",
    "countries": [
        "us"
    ],
    "zipCodes": [
        "10001"
    ],
    "includeChannelLineup": true,
    "includeTvAddons": true,
    "storeCategory": "phones",
    "storeProductSlugs": [],
    "includeStoreVariants": true,
    "convertToUsd": true,
    "maxItems": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/google-consumer-pricing-index").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": "youtubePremium",
    "countries": ["us"],
    "zipCodes": ["10001"],
    "includeChannelLineup": True,
    "includeTvAddons": True,
    "storeCategory": "phones",
    "storeProductSlugs": [],
    "includeStoreVariants": True,
    "convertToUsd": True,
    "maxItems": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/google-consumer-pricing-index").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": "youtubePremium",
  "countries": [
    "us"
  ],
  "zipCodes": [
    "10001"
  ],
  "includeChannelLineup": true,
  "includeTvAddons": true,
  "storeCategory": "phones",
  "storeProductSlugs": [],
  "includeStoreVariants": true,
  "convertToUsd": true,
  "maxItems": 3
}' |
apify call crawlyth-forge/google-consumer-pricing-index --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/google-consumer-pricing-index"
        }
    }
}
```

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/APvDlKrgwYA0ThuAD/builds/m4k0JcaRUeGfDhlW3/openapi.json
