{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Trends Scraper: Interest, Regions & Queries, $1.50/1K",
    "description": "From $0.50/1K, no start fee: $1.50/1K keywords, $0.50/1K Trending Now. No API key. Fastest Google Trends scraper in our head-to-head tests (2 keywords in 3 s), built for Google's throttling: failed keywords are free. Interest over time by country, state and metro, rising queries, comparisons.",
    "version": "0.4",
    "x-build-id": "hBCtFUTDTrzSMYVwE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~google-trends-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-google-trends-scraper",
        "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/laptime~google-trends-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-google-trends-scraper",
        "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/laptime~google-trends-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-google-trends-scraper",
        "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",
        "properties": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords or phrases, one per line: coffee, \"cold brew\", 咖啡, or a topic id like /m/02vqfm. One row per term (per location), with every data type chosen under \"Data to get\". Case and extra spaces don't matter; duplicates are skipped.",
            "items": {
              "type": "string"
            }
          },
          "isMultiple": {
            "title": "Compare terms on one chart",
            "type": "boolean",
            "description": "On: write up to 5 terms comma-separated in one line (\"coffee, tea, matcha\") to compare them on one 0-100 scale, like \"+ Compare\" on trends.google.com. One row (and one keyword result) per comparison. Off (default): every line is its own keyword, commas included.",
            "default": false
          },
          "geo": {
            "title": "Location",
            "type": "string",
            "description": "Where the searches happened. Pick a country, or type a code: a state or region (US-CA, GB-SCT, DE-BY) or a US metro area (US-NY-501). Empty = worldwide. Several locations in one run: \"Several locations\" below.",
            "default": ""
          },
          "timeRange": {
            "title": "Time range",
            "enum": [
              "",
              "now 1-H",
              "now 4-H",
              "now 1-d",
              "now 7-d",
              "today 1-m",
              "today 3-m",
              "today 12-m",
              "today 5-y",
              "all"
            ],
            "type": "string",
            "description": "Period of the interest data. Google picks the step from the length: minutes up to 4 hours, hours for 1-7 days, days up to 90 days, weeks up to 5 years, months for 2004 to present. Exact dates: Custom time range below.",
            "default": ""
          },
          "geos": {
            "title": "Several locations",
            "type": "array",
            "description": "Optional: run every keyword (or comparison) in each of these locations, e.g. United States, United Kingdom, Germany. One row and one keyword result per keyword × location. Overrides Location. Codes like US-CA work too.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "US",
                "GB",
                "DE",
                "FR",
                "IN",
                "BR",
                "CA",
                "AU",
                "ES",
                "IT",
                "NL",
                "JP",
                "MX",
                "AF",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BA",
                "BW",
                "BV",
                "IO",
                "VG",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CV",
                "BQ",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CD",
                "CG",
                "CK",
                "CR",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "CI",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "SZ",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "HN",
                "HK",
                "HU",
                "IS",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "JM",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "XK",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "KP",
                "MK",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RO",
                "RU",
                "RW",
                "RE",
                "WS",
                "SM",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "KR",
                "SS",
                "LK",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "SD",
                "SR",
                "SJ",
                "SE",
                "CH",
                "SY",
                "ST",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TM",
                "TC",
                "TV",
                "TR",
                "UM",
                "VI",
                "UG",
                "UA",
                "AE",
                "UY",
                "UZ",
                "VU",
                "VA",
                "VE",
                "VN",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW",
                "AX"
              ],
              "enumTitles": [
                "United States (US)",
                "United Kingdom (GB)",
                "Germany (DE)",
                "France (FR)",
                "India (IN)",
                "Brazil (BR)",
                "Canada (CA)",
                "Australia (AU)",
                "Spain (ES)",
                "Italy (IT)",
                "Netherlands (NL)",
                "Japan (JP)",
                "Mexico (MX)",
                "Afghanistan (AF)",
                "Albania (AL)",
                "Algeria (DZ)",
                "American Samoa (AS)",
                "Andorra (AD)",
                "Angola (AO)",
                "Anguilla (AI)",
                "Antarctica (AQ)",
                "Antigua & Barbuda (AG)",
                "Argentina (AR)",
                "Armenia (AM)",
                "Aruba (AW)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahamas (BS)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Barbados (BB)",
                "Belarus (BY)",
                "Belgium (BE)",
                "Belize (BZ)",
                "Benin (BJ)",
                "Bermuda (BM)",
                "Bhutan (BT)",
                "Bolivia (BO)",
                "Bosnia & Herzegovina (BA)",
                "Botswana (BW)",
                "Bouvet Island (BV)",
                "British Indian Ocean Territory (IO)",
                "British Virgin Islands (VG)",
                "Brunei (BN)",
                "Bulgaria (BG)",
                "Burkina Faso (BF)",
                "Burundi (BI)",
                "Cambodia (KH)",
                "Cameroon (CM)",
                "Cape Verde (CV)",
                "Caribbean Netherlands (BQ)",
                "Cayman Islands (KY)",
                "Central African Republic (CF)",
                "Chad (TD)",
                "Chile (CL)",
                "China (CN)",
                "Christmas Island (CX)",
                "Cocos (Keeling) Islands (CC)",
                "Colombia (CO)",
                "Comoros (KM)",
                "Congo (DRC) (CD)",
                "Congo (Republic) (CG)",
                "Cook Islands (CK)",
                "Costa Rica (CR)",
                "Croatia (HR)",
                "Cuba (CU)",
                "Curaçao (CW)",
                "Cyprus (CY)",
                "Czechia (CZ)",
                "Côte d’Ivoire (CI)",
                "Denmark (DK)",
                "Djibouti (DJ)",
                "Dominica (DM)",
                "Dominican Republic (DO)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "El Salvador (SV)",
                "Equatorial Guinea (GQ)",
                "Eritrea (ER)",
                "Estonia (EE)",
                "Eswatini (SZ)",
                "Ethiopia (ET)",
                "Falkland Islands (FK)",
                "Faroe Islands (FO)",
                "Fiji (FJ)",
                "Finland (FI)",
                "French Guiana (GF)",
                "French Polynesia (PF)",
                "French Southern and Antarctic Lands (TF)",
                "Gabon (GA)",
                "Gambia (GM)",
                "Georgia (GE)",
                "Ghana (GH)",
                "Gibraltar (GI)",
                "Greece (GR)",
                "Greenland (GL)",
                "Grenada (GD)",
                "Guadeloupe (GP)",
                "Guam (GU)",
                "Guatemala (GT)",
                "Guernsey (GG)",
                "Guinea (GN)",
                "Guinea-Bissau (GW)",
                "Guyana (GY)",
                "Haiti (HT)",
                "Heard Island & McDonald Islands (HM)",
                "Honduras (HN)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "Iceland (IS)",
                "Indonesia (ID)",
                "Iran (IR)",
                "Iraq (IQ)",
                "Ireland (IE)",
                "Isle of Man (IM)",
                "Israel (IL)",
                "Jamaica (JM)",
                "Jersey (JE)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Kiribati (KI)",
                "Kosovo (XK)",
                "Kuwait (KW)",
                "Kyrgyzstan (KG)",
                "Laos (LA)",
                "Latvia (LV)",
                "Lebanon (LB)",
                "Lesotho (LS)",
                "Liberia (LR)",
                "Libya (LY)",
                "Liechtenstein (LI)",
                "Lithuania (LT)",
                "Luxembourg (LU)",
                "Macao (MO)",
                "Madagascar (MG)",
                "Malawi (MW)",
                "Malaysia (MY)",
                "Maldives (MV)",
                "Mali (ML)",
                "Malta (MT)",
                "Marshall Islands (MH)",
                "Martinique (MQ)",
                "Mauritania (MR)",
                "Mauritius (MU)",
                "Mayotte (YT)",
                "Micronesia (FM)",
                "Moldova (MD)",
                "Monaco (MC)",
                "Mongolia (MN)",
                "Montenegro (ME)",
                "Montserrat (MS)",
                "Morocco (MA)",
                "Mozambique (MZ)",
                "Myanmar (MM)",
                "Namibia (NA)",
                "Nauru (NR)",
                "Nepal (NP)",
                "New Caledonia (NC)",
                "New Zealand (NZ)",
                "Nicaragua (NI)",
                "Niger (NE)",
                "Nigeria (NG)",
                "Niue (NU)",
                "Norfolk Island (NF)",
                "North Korea (KP)",
                "North Macedonia (MK)",
                "Northern Mariana Islands (MP)",
                "Norway (NO)",
                "Oman (OM)",
                "Pakistan (PK)",
                "Palau (PW)",
                "Palestine (PS)",
                "Panama (PA)",
                "Papua New Guinea (PG)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Pitcairn Islands (PN)",
                "Poland (PL)",
                "Portugal (PT)",
                "Puerto Rico (PR)",
                "Qatar (QA)",
                "Romania (RO)",
                "Russia (RU)",
                "Rwanda (RW)",
                "Réunion (RE)",
                "Samoa (WS)",
                "San Marino (SM)",
                "Saudi Arabia (SA)",
                "Senegal (SN)",
                "Serbia (RS)",
                "Seychelles (SC)",
                "Sierra Leone (SL)",
                "Singapore (SG)",
                "Sint Maarten (SX)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "Solomon Islands (SB)",
                "Somalia (SO)",
                "South Africa (ZA)",
                "South Georgia & South Sandwich Islands (GS)",
                "South Korea (KR)",
                "South Sudan (SS)",
                "Sri Lanka (LK)",
                "St. Barthélemy (BL)",
                "St. Helena (SH)",
                "St. Kitts & Nevis (KN)",
                "St. Lucia (LC)",
                "St. Martin (MF)",
                "St. Pierre & Miquelon (PM)",
                "St. Vincent & Grenadines (VC)",
                "Sudan (SD)",
                "Suriname (SR)",
                "Svalbard & Jan Mayen (SJ)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Syria (SY)",
                "São Tomé & Príncipe (ST)",
                "Taiwan (TW)",
                "Tajikistan (TJ)",
                "Tanzania (TZ)",
                "Thailand (TH)",
                "Timor-Leste (TL)",
                "Togo (TG)",
                "Tokelau (TK)",
                "Tonga (TO)",
                "Trinidad & Tobago (TT)",
                "Tunisia (TN)",
                "Turkmenistan (TM)",
                "Turks & Caicos Islands (TC)",
                "Tuvalu (TV)",
                "Türkiye (TR)",
                "U.S. Outlying Islands (UM)",
                "U.S. Virgin Islands (VI)",
                "Uganda (UG)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "Uruguay (UY)",
                "Uzbekistan (UZ)",
                "Vanuatu (VU)",
                "Vatican City (VA)",
                "Venezuela (VE)",
                "Vietnam (VN)",
                "Wallis & Futuna (WF)",
                "Western Sahara (EH)",
                "Yemen (YE)",
                "Zambia (ZM)",
                "Zimbabwe (ZW)",
                "Åland Islands (AX)"
              ]
            }
          },
          "customTimeRange": {
            "title": "Custom time range",
            "type": "string",
            "description": "Optional; overrides Time range. Two dates \"2024-01-01 2024-12-31\" (from 2004-01-01 to today), or two hours \"2026-11-01T00 2026-11-07T23\" (UTC, at most 7 days apart) for hourly data. Presets like \"past 90 days\" or \"5y\" work too."
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "3",
              "47",
              "44",
              "22",
              "12",
              "5",
              "7",
              "71",
              "8",
              "45",
              "65",
              "11",
              "13",
              "958",
              "19",
              "16",
              "299",
              "14",
              "66",
              "29",
              "533",
              "174",
              "18",
              "20",
              "67"
            ],
            "type": "string",
            "description": "Optional: only searches in one Google category, e.g. \"apple\" in Food & Drink vs Computers & Electronics. Default: all categories. A sub-category id works through the API or a trends.google.com link (cat=).",
            "default": ""
          },
          "property": {
            "title": "Google search type",
            "enum": [
              "web",
              "news",
              "images",
              "youtube",
              "shopping"
            ],
            "type": "string",
            "description": "Which Google search the interest is measured on: Web Search (default), News, Images, YouTube or Google Shopping.",
            "default": "web"
          },
          "startUrls": {
            "title": "trends.google.com links",
            "type": "array",
            "description": "Optional: paste links from trends.google.com. Explore links keep their own terms, location, dates, category and search type (https://trends.google.com/trends/explore?q=coffee,tea&geo=US&date=today%205-y). Trending Now links (https://trends.google.com/trending?geo=US&hours=24) return that list. Other links are skipped with a note.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "spreadsheetId": {
            "title": "Keywords from a Google Sheet",
            "type": "string",
            "description": "Optional: a Google Sheet link or id whose first column lists keywords (a \"keyword\" header row is skipped). Share the sheet as \"anyone with the link can view\". Added to Search terms."
          },
          "dataTypes": {
            "title": "Data to get",
            "type": "array",
            "description": "Which data to load for each keyword; the price is the same. Default: interest over time, by region, related queries. Related topics: Google serves them to signed-in visitors only, so the list is almost always empty (missingData explains it); Topic suggestions below gives the topics instead.",
            "items": {
              "type": "string",
              "enum": [
                "interestOverTime",
                "interestByRegion",
                "relatedQueries",
                "relatedTopics"
              ],
              "enumTitles": [
                "Interest over time",
                "Interest by region",
                "Related queries (top and rising)",
                "Related topics (usually empty, see description)"
              ]
            },
            "default": [
              "interestOverTime",
              "interestByRegion",
              "relatedQueries"
            ]
          },
          "regionLevels": {
            "title": "Region levels",
            "type": "array",
            "description": "Region maps to load for \"Interest by region\"; each level that fits the location is used. Default: countries (worldwide) and states/regions (inside a country). Metro areas (US) add about 2 s per keyword. Cities: Google lists them without values for signed-out visitors, so they are usually empty.",
            "items": {
              "type": "string",
              "enum": [
                "country",
                "subregion",
                "metro",
                "city"
              ],
              "enumTitles": [
                "Countries (worldwide location)",
                "States and regions (country location)",
                "US metro areas (DMA)",
                "Cities (usually without values, see description)"
              ]
            },
            "default": [
              "country",
              "subregion"
            ]
          },
          "includeLowVolumeRegions": {
            "title": "Include low-volume regions",
            "type": "boolean",
            "description": "On: also list regions with too little search volume (value 0, hasData false), like trends.google.com's \"Include low search volume regions\". Off (default): only regions with data.",
            "default": false
          },
          "includeTopicSuggestions": {
            "title": "Topic suggestions",
            "type": "boolean",
            "description": "On: add topicSuggestions, the Google Knowledge Graph topics for each keyword (e.g. Coffee, Beverage, /m/02vqfm). Use a topic id as a search term to track the topic across languages and spellings. Off by default.",
            "default": false
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "nested",
              "flat"
            ],
            "type": "string",
            "description": "Nested (default): one row per keyword or comparison, data in arrays, the same field names as apify/google-trends-scraper. Flat: one row per timeline point, region, related query or summary (dataType says which), ready for spreadsheets and SQL.",
            "default": "nested"
          },
          "maxItems": {
            "title": "Max keyword results",
            "minimum": 0,
            "type": "integer",
            "description": "Optional: stop after this many keyword results. 0 (default) = all keywords. Trending Now has its own limit below.",
            "default": 0
          },
          "trendingGeos": {
            "title": "Trending Now countries",
            "type": "array",
            "description": "Countries to get the Trending Now list for (Google has one for about 125 countries; regions like US-CA work too). Each trending search is one row with search volume, growth %, start and end time, related searches and categories, plus news stories for the top ones. Empty = no Trending Now.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "US",
                "GB",
                "DE",
                "FR",
                "IN",
                "BR",
                "CA",
                "AU",
                "ES",
                "IT",
                "NL",
                "JP",
                "MX",
                "AF",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BA",
                "BW",
                "BV",
                "IO",
                "VG",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CV",
                "BQ",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CD",
                "CG",
                "CK",
                "CR",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "CI",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "SZ",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "HN",
                "HK",
                "HU",
                "IS",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "JM",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "XK",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "KP",
                "MK",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RO",
                "RU",
                "RW",
                "RE",
                "WS",
                "SM",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "KR",
                "SS",
                "LK",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "SD",
                "SR",
                "SJ",
                "SE",
                "CH",
                "SY",
                "ST",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TM",
                "TC",
                "TV",
                "TR",
                "UM",
                "VI",
                "UG",
                "UA",
                "AE",
                "UY",
                "UZ",
                "VU",
                "VA",
                "VE",
                "VN",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW",
                "AX"
              ],
              "enumTitles": [
                "United States (US)",
                "United Kingdom (GB)",
                "Germany (DE)",
                "France (FR)",
                "India (IN)",
                "Brazil (BR)",
                "Canada (CA)",
                "Australia (AU)",
                "Spain (ES)",
                "Italy (IT)",
                "Netherlands (NL)",
                "Japan (JP)",
                "Mexico (MX)",
                "Afghanistan (AF)",
                "Albania (AL)",
                "Algeria (DZ)",
                "American Samoa (AS)",
                "Andorra (AD)",
                "Angola (AO)",
                "Anguilla (AI)",
                "Antarctica (AQ)",
                "Antigua & Barbuda (AG)",
                "Argentina (AR)",
                "Armenia (AM)",
                "Aruba (AW)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahamas (BS)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Barbados (BB)",
                "Belarus (BY)",
                "Belgium (BE)",
                "Belize (BZ)",
                "Benin (BJ)",
                "Bermuda (BM)",
                "Bhutan (BT)",
                "Bolivia (BO)",
                "Bosnia & Herzegovina (BA)",
                "Botswana (BW)",
                "Bouvet Island (BV)",
                "British Indian Ocean Territory (IO)",
                "British Virgin Islands (VG)",
                "Brunei (BN)",
                "Bulgaria (BG)",
                "Burkina Faso (BF)",
                "Burundi (BI)",
                "Cambodia (KH)",
                "Cameroon (CM)",
                "Cape Verde (CV)",
                "Caribbean Netherlands (BQ)",
                "Cayman Islands (KY)",
                "Central African Republic (CF)",
                "Chad (TD)",
                "Chile (CL)",
                "China (CN)",
                "Christmas Island (CX)",
                "Cocos (Keeling) Islands (CC)",
                "Colombia (CO)",
                "Comoros (KM)",
                "Congo (DRC) (CD)",
                "Congo (Republic) (CG)",
                "Cook Islands (CK)",
                "Costa Rica (CR)",
                "Croatia (HR)",
                "Cuba (CU)",
                "Curaçao (CW)",
                "Cyprus (CY)",
                "Czechia (CZ)",
                "Côte d’Ivoire (CI)",
                "Denmark (DK)",
                "Djibouti (DJ)",
                "Dominica (DM)",
                "Dominican Republic (DO)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "El Salvador (SV)",
                "Equatorial Guinea (GQ)",
                "Eritrea (ER)",
                "Estonia (EE)",
                "Eswatini (SZ)",
                "Ethiopia (ET)",
                "Falkland Islands (FK)",
                "Faroe Islands (FO)",
                "Fiji (FJ)",
                "Finland (FI)",
                "French Guiana (GF)",
                "French Polynesia (PF)",
                "French Southern and Antarctic Lands (TF)",
                "Gabon (GA)",
                "Gambia (GM)",
                "Georgia (GE)",
                "Ghana (GH)",
                "Gibraltar (GI)",
                "Greece (GR)",
                "Greenland (GL)",
                "Grenada (GD)",
                "Guadeloupe (GP)",
                "Guam (GU)",
                "Guatemala (GT)",
                "Guernsey (GG)",
                "Guinea (GN)",
                "Guinea-Bissau (GW)",
                "Guyana (GY)",
                "Haiti (HT)",
                "Heard Island & McDonald Islands (HM)",
                "Honduras (HN)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "Iceland (IS)",
                "Indonesia (ID)",
                "Iran (IR)",
                "Iraq (IQ)",
                "Ireland (IE)",
                "Isle of Man (IM)",
                "Israel (IL)",
                "Jamaica (JM)",
                "Jersey (JE)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Kiribati (KI)",
                "Kosovo (XK)",
                "Kuwait (KW)",
                "Kyrgyzstan (KG)",
                "Laos (LA)",
                "Latvia (LV)",
                "Lebanon (LB)",
                "Lesotho (LS)",
                "Liberia (LR)",
                "Libya (LY)",
                "Liechtenstein (LI)",
                "Lithuania (LT)",
                "Luxembourg (LU)",
                "Macao (MO)",
                "Madagascar (MG)",
                "Malawi (MW)",
                "Malaysia (MY)",
                "Maldives (MV)",
                "Mali (ML)",
                "Malta (MT)",
                "Marshall Islands (MH)",
                "Martinique (MQ)",
                "Mauritania (MR)",
                "Mauritius (MU)",
                "Mayotte (YT)",
                "Micronesia (FM)",
                "Moldova (MD)",
                "Monaco (MC)",
                "Mongolia (MN)",
                "Montenegro (ME)",
                "Montserrat (MS)",
                "Morocco (MA)",
                "Mozambique (MZ)",
                "Myanmar (MM)",
                "Namibia (NA)",
                "Nauru (NR)",
                "Nepal (NP)",
                "New Caledonia (NC)",
                "New Zealand (NZ)",
                "Nicaragua (NI)",
                "Niger (NE)",
                "Nigeria (NG)",
                "Niue (NU)",
                "Norfolk Island (NF)",
                "North Korea (KP)",
                "North Macedonia (MK)",
                "Northern Mariana Islands (MP)",
                "Norway (NO)",
                "Oman (OM)",
                "Pakistan (PK)",
                "Palau (PW)",
                "Palestine (PS)",
                "Panama (PA)",
                "Papua New Guinea (PG)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Pitcairn Islands (PN)",
                "Poland (PL)",
                "Portugal (PT)",
                "Puerto Rico (PR)",
                "Qatar (QA)",
                "Romania (RO)",
                "Russia (RU)",
                "Rwanda (RW)",
                "Réunion (RE)",
                "Samoa (WS)",
                "San Marino (SM)",
                "Saudi Arabia (SA)",
                "Senegal (SN)",
                "Serbia (RS)",
                "Seychelles (SC)",
                "Sierra Leone (SL)",
                "Singapore (SG)",
                "Sint Maarten (SX)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "Solomon Islands (SB)",
                "Somalia (SO)",
                "South Africa (ZA)",
                "South Georgia & South Sandwich Islands (GS)",
                "South Korea (KR)",
                "South Sudan (SS)",
                "Sri Lanka (LK)",
                "St. Barthélemy (BL)",
                "St. Helena (SH)",
                "St. Kitts & Nevis (KN)",
                "St. Lucia (LC)",
                "St. Martin (MF)",
                "St. Pierre & Miquelon (PM)",
                "St. Vincent & Grenadines (VC)",
                "Sudan (SD)",
                "Suriname (SR)",
                "Svalbard & Jan Mayen (SJ)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Syria (SY)",
                "São Tomé & Príncipe (ST)",
                "Taiwan (TW)",
                "Tajikistan (TJ)",
                "Tanzania (TZ)",
                "Thailand (TH)",
                "Timor-Leste (TL)",
                "Togo (TG)",
                "Tokelau (TK)",
                "Tonga (TO)",
                "Trinidad & Tobago (TT)",
                "Tunisia (TN)",
                "Turkmenistan (TM)",
                "Turks & Caicos Islands (TC)",
                "Tuvalu (TV)",
                "Türkiye (TR)",
                "U.S. Outlying Islands (UM)",
                "U.S. Virgin Islands (VI)",
                "Uganda (UG)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "Uruguay (UY)",
                "Uzbekistan (UZ)",
                "Vanuatu (VU)",
                "Vatican City (VA)",
                "Venezuela (VE)",
                "Vietnam (VN)",
                "Wallis & Futuna (WF)",
                "Western Sahara (EH)",
                "Yemen (YE)",
                "Zambia (ZM)",
                "Zimbabwe (ZW)",
                "Åland Islands (AX)"
              ]
            }
          },
          "trendingHours": {
            "title": "Trending window",
            "enum": [
              "4",
              "24",
              "48",
              "168"
            ],
            "type": "string",
            "description": "How far back the Trending Now list reaches. Default: past 24 hours. The US list has about 100 trends for 4 hours, 500 for 24 hours and 3,000+ for 7 days.",
            "default": "24"
          },
          "trendingCategory": {
            "title": "Trending category",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "20",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "13",
              "14",
              "15",
              "16",
              "17",
              "18",
              "19"
            ],
            "type": "string",
            "description": "Optional: only trending searches in this Trending Now category (Google's own list, different from the keyword categories). Left-out trends are free.",
            "default": ""
          },
          "trendingOnlyActive": {
            "title": "Only active trends",
            "type": "boolean",
            "description": "On: only trends Google still marks as active (endedAt null). Off (default): everything in the window.",
            "default": false
          },
          "trendingIncludeKeywords": {
            "title": "Trending: only searches containing",
            "type": "array",
            "description": "Optional: keep only trending searches whose title or related searches contain one of these words (case-insensitive, matched at the start of a word: \"vs\" finds \"Spain vs Italy\", not \"canvas\"), e.g. iphone, apple for a brand alert. Left-out trends are free.",
            "items": {
              "type": "string"
            }
          },
          "trendingExcludeKeywords": {
            "title": "Trending: leave out searches containing",
            "type": "array",
            "description": "Optional: leave out trending searches whose title or related searches contain any of these words (matched like the field above), e.g. sports teams. Left-out trends are free.",
            "items": {
              "type": "string"
            }
          },
          "maxTrendingPerGeo": {
            "title": "Max trending searches per country",
            "minimum": 0,
            "type": "integer",
            "description": "Optional: keep the top N trending searches per country, in Google's order. 0 (default) = all of them.",
            "default": 0
          },
          "trendingNews": {
            "title": "News stories for top trends",
            "type": "boolean",
            "description": "On (default): add news stories (title, link, source, picture) and a picture to the top trends, from Google's Trending Now feed (about the top 10 per country). Off: skip that request.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new trending searches (monitoring)",
            "type": "boolean",
            "description": "On: skip trending searches this monitor delivered in earlier runs (remembered per Monitor name), so a scheduled run returns only new trends and costs $0 when nothing is new. Off (default): the whole list. Keyword results are always delivered.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional: the name of the memory \"Only new\" uses, e.g. us-daily. Each name keeps its own list. Empty = \"default\"."
          },
          "language": {
            "title": "Language (hl)",
            "type": "string",
            "description": "Language of Google's labels (formattedTime, region and category names), e.g. en-US (default), de, fr, ja. The numbers are the same in every language.",
            "default": "en-US"
          },
          "timezone": {
            "title": "Time zone offset (minutes)",
            "type": "integer",
            "description": "Minutes WEST of UTC, Google's tz parameter (New York = 300, Berlin = -60). Shifts formattedTime and hourly buckets; the ISO date field is always UTC. Default 0 = UTC.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max parallel terms",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "Optional: how many keywords load at the same time. Empty (default) = automatic, growing with the job size. Lower it only for gentler runs."
          },
          "viewedFrom": {
            "title": "Proxy country (viewedFrom)",
            "type": "string",
            "description": "Optional, kept so apify/google-trends-scraper inputs work as they are: the country of the proxy IPs (e.g. us). It does not change the data (Location does). Empty = automatic."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: the Actor uses Apify datacenter IPs and adds residential IPs by itself when Google throttles. Choose RESIDENTIAL for residential only, or your own proxy URLs.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}