{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Consumer Pricing Index: YouTube, One, Workspace & Store",
    "description": "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.",
    "version": "1.0",
    "x-build-id": "m4k0JcaRUeGfDhlW3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlyth-forge~google-consumer-pricing-index/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlyth-forge-google-consumer-pricing-index",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlyth-forge~google-consumer-pricing-index/runs": {
      "post": {
        "operationId": "runs-sync-crawlyth-forge-google-consumer-pricing-index",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlyth-forge~google-consumer-pricing-index/run-sync": {
      "post": {
        "operationId": "run-sync-crawlyth-forge-google-consumer-pricing-index",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "youtubePremium",
              "youtubeTV",
              "googleOne",
              "workspace",
              "googleStore",
              "all"
            ],
            "type": "string",
            "description": "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.",
            "default": "youtubePremium"
          },
          "countries": {
            "title": "Countries",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "us",
                "gb",
                "ca",
                "au",
                "nz",
                "ie",
                "de",
                "fr",
                "es",
                "it",
                "nl",
                "be",
                "at",
                "ch",
                "se",
                "no",
                "dk",
                "fi",
                "pl",
                "cz",
                "sk",
                "pt",
                "br",
                "mx",
                "ar",
                "cl",
                "co",
                "pe",
                "in",
                "jp",
                "kr",
                "sg",
                "my",
                "th",
                "vn",
                "id",
                "ph",
                "hk",
                "tw",
                "tr",
                "ae",
                "sa",
                "il",
                "za",
                "ng",
                "ke",
                "eg",
                "ru",
                "ua",
                "ro",
                "hu",
                "bg",
                "gr",
                "hr",
                "rs",
                "si",
                "lt",
                "lv",
                "ee",
                "is",
                "lu",
                "mt",
                "cy",
                "pk",
                "qa",
                "kw",
                "ma",
                "tn",
                "gh",
                "ug",
                "tz"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "Australia",
                "New Zealand",
                "Ireland",
                "Germany",
                "France",
                "Spain",
                "Italy",
                "Netherlands",
                "Belgium",
                "Austria",
                "Switzerland",
                "Sweden",
                "Norway",
                "Denmark",
                "Finland",
                "Poland",
                "Czechia",
                "Slovakia",
                "Portugal",
                "Brazil",
                "Mexico",
                "Argentina",
                "Chile",
                "Colombia",
                "Peru",
                "India",
                "Japan",
                "South Korea",
                "Singapore",
                "Malaysia",
                "Thailand",
                "Vietnam",
                "Indonesia",
                "Philippines",
                "Hong Kong",
                "Taiwan",
                "Turkey",
                "United Arab Emirates",
                "Saudi Arabia",
                "Israel",
                "South Africa",
                "Nigeria",
                "Kenya",
                "Egypt",
                "Russia",
                "Ukraine",
                "Romania",
                "Hungary",
                "Bulgaria",
                "Greece",
                "Croatia",
                "Serbia",
                "Slovenia",
                "Lithuania",
                "Latvia",
                "Estonia",
                "Iceland",
                "Luxembourg",
                "Malta",
                "Cyprus",
                "Pakistan",
                "Qatar",
                "Kuwait",
                "Morocco",
                "Tunisia",
                "Ghana",
                "Uganda",
                "Tanzania"
              ]
            },
            "default": [
              "us"
            ]
          },
          "zipCodes": {
            "title": "US ZIP codes (mode=youtubeTV)",
            "uniqueItems": true,
            "type": "array",
            "description": "Five-digit US ZIP codes used to resolve the local channel lineup, including local affiliates and the DMA name.",
            "items": {
              "type": "string"
            },
            "default": [
              "10001"
            ]
          },
          "includeChannelLineup": {
            "title": "Include ZIP channel lineup (mode=youtubeTV)",
            "type": "boolean",
            "description": "Emit one row per channel for each ZIP code, including local affiliates and category labels.",
            "default": true
          },
          "includeTvAddons": {
            "title": "Include YouTube TV add-ons (mode=youtubeTV)",
            "type": "boolean",
            "description": "Emit YouTube TV add-on bundles and individually priced premium networks in addition to the base plans.",
            "default": true
          },
          "storeCategory": {
            "title": "Store category (mode=googleStore)",
            "enum": [
              "phones",
              "watches",
              "earbuds",
              "laptops",
              "smartHome",
              "accessories",
              "offers",
              "all"
            ],
            "type": "string",
            "description": "Hardware category to enumerate from the country storefront. Use All to walk every product category.",
            "default": "phones"
          },
          "storeProductSlugs": {
            "title": "Store product slugs or URLs (optional, mode=googleStore)",
            "uniqueItems": true,
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "includeStoreVariants": {
            "title": "Include storage/carrier variants (mode=googleStore)",
            "type": "boolean",
            "description": "Emit one row per storage/carrier configuration with its own price. Colour options are attached to every row.",
            "default": true
          },
          "convertToUsd": {
            "title": "Convert prices to USD",
            "type": "boolean",
            "description": "Add a USD-converted price using a free public foreign-exchange feed. The conversion is omitted when no reliable fiat rate is available.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on emitted rows. A full Store product with variants can use several rows.",
            "default": 200
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}