{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Trends Scraper: Fast, No Browser",
    "description": "Google Trends data without a browser: interest over time, by region, city and US metro, related queries, trending searches by country. Compare any number of terms on one scale. Accepts the input of Apify's Google Trends Scraper.",
    "version": "1.0",
    "x-build-id": "z8qfqLgl2WTe0Nl2y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/webthreenity~google-trends-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-webthreenity-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/webthreenity~google-trends-scraper/runs": {
      "post": {
        "operationId": "runs-sync-webthreenity-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/webthreenity~google-trends-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-webthreenity-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": "One search term per line. Each term gives one result row. With **Compare terms separated by commas**, a line such as `coffee, tea` compares those terms on one chart (Google allows 5 per comparison).",
            "items": {
              "type": "string"
            }
          },
          "isMultiple": {
            "title": "Compare terms separated by commas",
            "type": "boolean",
            "description": "Treat a comma in a line as a separator: `coffee, tea` becomes one comparison of two terms, as on the Google Trends website.",
            "default": false
          },
          "compareAllTerms": {
            "title": "Put all search terms on one scale",
            "type": "boolean",
            "description": "Compare every search term against every other, not just 5: values are rescaled through the most popular term so 100 is the highest point among all of them. Each term still gets its own row.",
            "default": false
          },
          "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 data. The time between points depends on it, as on Google Trends.",
            "default": ""
          },
          "customTimeRange": {
            "title": "Custom time range",
            "type": "string",
            "description": "Overrides **Time range**. Two dates, `YYYY-MM-DD YYYY-MM-DD`, for example `2024-01-01 2024-12-31`. Hourly data: `2026-10-01T00 2026-10-07T23`."
          },
          "geo": {
            "title": "Country",
            "enum": [
              "",
              "AF",
              "AX",
              "AL",
              "DZ",
              "AS",
              "AD",
              "AO",
              "AI",
              "AQ",
              "AG",
              "AR",
              "AM",
              "AW",
              "AU",
              "AT",
              "AZ",
              "BS",
              "BH",
              "BD",
              "BB",
              "BY",
              "BE",
              "BZ",
              "BJ",
              "BM",
              "BT",
              "BO",
              "BA",
              "BW",
              "BV",
              "BR",
              "IO",
              "VG",
              "BN",
              "BG",
              "BF",
              "BI",
              "KH",
              "CM",
              "CA",
              "CV",
              "BQ",
              "KY",
              "CF",
              "TD",
              "CL",
              "CN",
              "CX",
              "CC",
              "CO",
              "KM",
              "CG",
              "CD",
              "CK",
              "CR",
              "CI",
              "HR",
              "CU",
              "CW",
              "CY",
              "CZ",
              "DK",
              "DJ",
              "DM",
              "DO",
              "EC",
              "EG",
              "SV",
              "GQ",
              "ER",
              "EE",
              "SZ",
              "ET",
              "FK",
              "FO",
              "FJ",
              "FI",
              "FR",
              "GF",
              "PF",
              "TF",
              "GA",
              "GM",
              "GE",
              "DE",
              "GH",
              "GI",
              "GR",
              "GL",
              "GD",
              "GP",
              "GU",
              "GT",
              "GG",
              "GN",
              "GW",
              "GY",
              "HT",
              "HM",
              "HN",
              "HK",
              "HU",
              "IS",
              "IN",
              "ID",
              "IR",
              "IQ",
              "IE",
              "IM",
              "IL",
              "IT",
              "JM",
              "JP",
              "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",
              "MX",
              "FM",
              "MD",
              "MC",
              "MN",
              "ME",
              "MS",
              "MA",
              "MZ",
              "MM",
              "NA",
              "NR",
              "NP",
              "NL",
              "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",
              "RE",
              "RO",
              "RU",
              "RW",
              "WS",
              "SM",
              "ST",
              "SA",
              "SN",
              "RS",
              "SC",
              "SL",
              "SG",
              "SX",
              "SK",
              "SI",
              "SB",
              "SO",
              "ZA",
              "GS",
              "KR",
              "SS",
              "ES",
              "LK",
              "BL",
              "SH",
              "KN",
              "LC",
              "MF",
              "PM",
              "VC",
              "SD",
              "SR",
              "SJ",
              "SE",
              "CH",
              "SY",
              "TW",
              "TJ",
              "TZ",
              "TH",
              "TL",
              "TG",
              "TK",
              "TO",
              "TT",
              "TN",
              "TR",
              "TM",
              "TC",
              "TV",
              "UM",
              "VI",
              "UG",
              "UA",
              "AE",
              "GB",
              "US",
              "UY",
              "UZ",
              "VU",
              "VA",
              "VE",
              "VN",
              "WF",
              "EH",
              "YE",
              "ZM",
              "ZW"
            ],
            "type": "string",
            "description": "Where the searches were made. For a state or province, paste a Google Trends URL in **Google Trends URLs** (for example one with `geo=US-CA`).",
            "default": ""
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "3",
              "184",
              "316",
              "1104",
              "317",
              "319",
              "318",
              "612",
              "1116",
              "1117",
              "1115",
              "1113",
              "1114",
              "569",
              "891",
              "1086",
              "1085",
              "539",
              "1173",
              "447",
              "1174",
              "182",
              "1095",
              "895",
              "1180",
              "1244",
              "1047",
              "34",
              "1097",
              "1101",
              "1100",
              "1099",
              "360",
              "1102",
              "1098",
              "1103",
              "1072",
              "1094",
              "210",
              "1145",
              "1291",
              "1108",
              "615",
              "213",
              "1106",
              "1107",
              "1105",
              "1310",
              "616",
              "1096",
              "35",
              "217",
              "586",
              "587",
              "588",
              "1022",
              "1023",
              "589",
              "1040",
              "42",
              "1285",
              "218",
              "1087",
              "1024",
              "1025",
              "1026",
              "216",
              "1327",
              "1325",
              "1326",
              "1091",
              "1027",
              "1028",
              "892",
              "617",
              "220",
              "1021",
              "215",
              "809",
              "1186",
              "1020",
              "585",
              "590",
              "1037",
              "1035",
              "1038",
              "1036",
              "1041",
              "893",
              "592",
              "1030",
              "1242",
              "1039",
              "618",
              "593",
              "1208",
              "1034",
              "1033",
              "591",
              "1287",
              "1286",
              "1031",
              "1032",
              "33",
              "538",
              "449",
              "613",
              "1222",
              "211",
              "575",
              "23",
              "894",
              "1243",
              "581",
              "1185",
              "36",
              "1055",
              "1187",
              "359",
              "358",
              "1193",
              "1111",
              "1194",
              "357",
              "1110",
              "1050",
              "1049",
              "1112",
              "1048",
              "24",
              "477",
              "1361",
              "1195",
              "653",
              "654",
              "655",
              "656",
              "1167",
              "47",
              "1190",
              "1191",
              "1140",
              "1213",
              "1013",
              "1214",
              "1215",
              "806",
              "810",
              "1380",
              "1317",
              "273",
              "148",
              "1147",
              "1212",
              "610",
              "1057",
              "1056",
              "1058",
              "815",
              "820",
              "821",
              "1059",
              "822",
              "1060",
              "823",
              "826",
              "833",
              "834",
              "836",
              "1061",
              "838",
              "840",
              "896",
              "842",
              "843",
              "1062",
              "845",
              "1378",
              "1063",
              "846",
              "848",
              "1064",
              "1065",
              "849",
              "850",
              "1066",
              "851",
              "852",
              "853",
              "1067",
              "854",
              "855",
              "1377",
              "856",
              "857",
              "858",
              "859",
              "1068",
              "897",
              "860",
              "861",
              "1070",
              "863",
              "1069",
              "898",
              "865",
              "867",
              "1294",
              "968",
              "170",
              "138",
              "89",
              "1217",
              "1218",
              "1188",
              "230",
              "1189",
              "1216",
              "1269",
              "438",
              "473",
              "1268",
              "1267",
              "803",
              "44",
              "1219",
              "239",
              "1220",
              "238",
              "147",
              "143",
              "244",
              "234",
              "242",
              "93",
              "144",
              "185",
              "98",
              "1155",
              "94",
              "241",
              "611",
              "146",
              "235",
              "145",
              "557",
              "236",
              "22",
              "690",
              "355",
              "1183",
              "608",
              "540",
              "1184",
              "412",
              "565",
              "1177",
              "12",
              "25",
              "83",
              "1309",
              "327",
              "84",
              "328",
              "356",
              "669",
              "668",
              "46",
              "748",
              "747",
              "749",
              "621",
              "750",
              "751",
              "752",
              "799",
              "1138",
              "1160",
              "1139",
              "620",
              "905",
              "784",
              "1179",
              "1240",
              "1241",
              "1164",
              "1163",
              "1165",
              "1159",
              "336",
              "157",
              "723",
              "331",
              "724",
              "330",
              "338",
              "721",
              "1360",
              "722",
              "801",
              "329",
              "1162",
              "334",
              "335",
              "340",
              "280",
              "726",
              "800",
              "28",
              "337",
              "95",
              "1375",
              "333",
              "1330",
              "1331",
              "1332",
              "1333",
              "494",
              "495",
              "718",
              "719",
              "720",
              "1076",
              "725",
              "288",
              "670",
              "671",
              "672",
              "673",
              "674",
              "48",
              "650",
              "829",
              "830",
              "831",
              "651",
              "652",
              "686",
              "233",
              "658",
              "954",
              "659",
              "657",
              "660",
              "1307",
              "1349",
              "77",
              "341",
              "343",
              "342",
              "955",
              "956",
              "957",
              "287",
              "1152",
              "839",
              "835",
              "837",
              "49",
              "661",
              "606",
              "255",
              "1176",
              "332",
              "1199",
              "841",
              "844",
              "551",
              "1200",
              "727",
              "552",
              "566",
              "50",
              "662",
              "664",
              "289",
              "354",
              "1150",
              "663",
              "665",
              "291",
              "290",
              "1306",
              "1347",
              "666",
              "667",
              "5",
              "1300",
              "30",
              "717",
              "741",
              "226",
              "740",
              "496",
              "1321",
              "1322",
              "1323",
              "1318",
              "1320",
              "1319",
              "729",
              "312",
              "487",
              "493",
              "728",
              "309",
              "739",
              "310",
              "1277",
              "314",
              "315",
              "344",
              "78",
              "361",
              "1396",
              "227",
              "1158",
              "91",
              "573",
              "1384",
              "306",
              "308",
              "1383",
              "307",
              "1192",
              "362",
              "1324",
              "1046",
              "228",
              "899",
              "1043",
              "1044",
              "1045",
              "794",
              "229",
              "1393",
              "1157",
              "1334",
              "305",
              "1354",
              "1356",
              "1355",
              "1357",
              "492",
              "1394",
              "1395",
              "434",
              "900",
              "743",
              "742",
              "744",
              "745",
              "746",
              "311",
              "488",
              "1298",
              "347",
              "346",
              "1279",
              "31",
              "731",
              "802",
              "730",
              "732",
              "733",
              "734",
              "32",
              "498",
              "1358",
              "1346",
              "1359",
              "1344",
              "1345",
              "225",
              "804",
              "901",
              "807",
              "808",
              "304",
              "902",
              "1109",
              "532",
              "497",
              "1089",
              "1092",
              "1088",
              "805",
              "486",
              "1090",
              "313",
              "303",
              "736",
              "735",
              "737",
              "224",
              "567",
              "785",
              "7",
              "278",
              "1341",
              "1283",
              "37",
              "279",
              "468",
              "813",
              "811",
              "812",
              "466",
              "814",
              "903",
              "1282",
              "38",
              "467",
              "249",
              "465",
              "107",
              "904",
              "619",
              "71",
              "277",
              "404",
              "406",
              "405",
              "906",
              "122",
              "907",
              "908",
              "909",
              "910",
              "825",
              "911",
              "912",
              "913",
              "914",
              "915",
              "297",
              "121",
              "560",
              "916",
              "276",
              "917",
              "918",
              "816",
              "8",
              "919",
              "920",
              "921",
              "922",
              "39",
              "923",
              "924",
              "41",
              "1311",
              "925",
              "926",
              "927",
              "928",
              "1343",
              "381",
              "929",
              "930",
              "931",
              "932",
              "933",
              "1342",
              "1146",
              "1290",
              "1397",
              "105",
              "935",
              "936",
              "937",
              "622",
              "938",
              "939",
              "940",
              "45",
              "623",
              "624",
              "499",
              "1239",
              "1238",
              "419",
              "625",
              "626",
              "628",
              "429",
              "629",
              "630",
              "1211",
              "571",
              "1328",
              "1329",
              "941",
              "638",
              "559",
              "632",
              "1262",
              "817",
              "942",
              "818",
              "819",
              "631",
              "824",
              "627",
              "420",
              "633",
              "254",
              "252",
              "1253",
              "1256",
              "251",
              "1352",
              "1353",
              "256",
              "634",
              "250",
              "635",
              "943",
              "944",
              "500",
              "253",
              "945",
              "636",
              "202",
              "437",
              "639",
              "640",
              "641",
              "642",
              "418",
              "649",
              "456",
              "457",
              "643",
              "237",
              "245",
              "645",
              "248",
              "646",
              "947",
              "644",
              "946",
              "1263",
              "195",
              "198",
              "647",
              "558",
              "401",
              "536",
              "1236",
              "421",
              "257",
              "1351",
              "1350",
              "1237",
              "1235",
              "246",
              "1224",
              "648",
              "65",
              "64",
              "1016",
              "188",
              "189",
              "1276",
              "364",
              "284",
              "1230",
              "458",
              "688",
              "568",
              "462",
              "542",
              "461",
              "786",
              "439",
              "577",
              "1315",
              "787",
              "999",
              "541",
              "977",
              "678",
              "1270",
              "1246",
              "1274",
              "1078",
              "1123",
              "1079",
              "1275",
              "1124",
              "1271",
              "1125",
              "1122",
              "293",
              "502",
              "503",
              "676",
              "1002",
              "459",
              "1305",
              "689",
              "11",
              "948",
              "1365",
              "1366",
              "1369",
              "1367",
              "1368",
              "472",
              "949",
              "269",
              "271",
              "1293",
              "1292",
              "1371",
              "270",
              "1363",
              "272",
              "1362",
              "1370",
              "158",
              "950",
              "827",
              "832",
              "1232",
              "1153",
              "1175",
              "1348",
              "137",
              "828",
              "951",
              "120",
              "1373",
              "1364",
              "1372",
              "471",
              "952",
              "953",
              "13",
              "385",
              "1182",
              "394",
              "1381",
              "1379",
              "386",
              "382",
              "1171",
              "1170",
              "1382",
              "390",
              "1071",
              "485",
              "1234",
              "383",
              "501",
              "104",
              "384",
              "389",
              "392",
              "1142",
              "301",
              "302",
              "326",
              "422",
              "53",
              "675",
              "958",
              "74",
              "1289",
              "1015",
              "372",
              "367",
              "1012",
              "1266",
              "791",
              "792",
              "371",
              "1118",
              "373",
              "1308",
              "700",
              "1388",
              "369",
              "60",
              "959",
              "960",
              "961",
              "19",
              "76",
              "1075",
              "962",
              "963",
              "1387",
              "1385",
              "1221",
              "964",
              "1386",
              "965",
              "1161",
              "1316",
              "702",
              "966",
              "555",
              "75",
              "427",
              "423",
              "1272",
              "967",
              "424",
              "522",
              "426",
              "701",
              "969",
              "970",
              "366",
              "1247",
              "1248",
              "1250",
              "1288",
              "1249",
              "793",
              "166",
              "704",
              "1181",
              "1312",
              "1284",
              "168",
              "535",
              "705",
              "508",
              "511",
              "706",
              "16",
              "112",
              "507",
              "1259",
              "1204",
              "572",
              "408",
              "396",
              "398",
              "410",
              "1203",
              "1201",
              "1202",
              "409",
              "1077",
              "63",
              "1209",
              "299",
              "504",
              "55",
              "546",
              "102",
              "320",
              "321",
              "191",
              "43",
              "1223",
              "578",
              "847",
              "582",
              "275",
              "978",
              "979",
              "529",
              "972",
              "14",
              "677",
              "56",
              "579",
              "547",
              "556",
              "1257",
              "549",
              "528",
              "580",
              "1205",
              "682",
              "973",
              "113",
              "681",
              "171",
              "550",
              "548",
              "683",
              "1131",
              "1304",
              "1132",
              "400",
              "1231",
              "58",
              "974",
              "1374",
              "115",
              "403",
              "402",
              "1134",
              "1133",
              "1261",
              "1135",
              "1260",
              "154",
              "679",
              "680",
              "59",
              "448",
              "862",
              "864",
              "866",
              "868",
              "869",
              "1258",
              "1296",
              "1251",
              "870",
              "975",
              "101",
              "1340",
              "298",
              "54",
              "883",
              "57",
              "1314",
              "82",
              "1166",
              "1280",
              "1313",
              "1127",
              "1281",
              "976",
              "1301",
              "703",
              "1121",
              "509",
              "1302",
              "1303",
              "510",
              "520",
              "521",
              "543",
              "66",
              "882",
              "379",
              "380",
              "563",
              "884",
              "885",
              "886",
              "607",
              "887",
              "888",
              "889",
              "890",
              "119",
              "1278",
              "1009",
              "29",
              "378",
              "1178",
              "687",
              "463",
              "425",
              "96",
              "1080",
              "1081",
              "533",
              "527",
              "377",
              "980",
              "691",
              "692",
              "374",
              "693",
              "1137",
              "694",
              "1136",
              "695",
              "1084",
              "1014",
              "268",
              "685",
              "474",
              "433",
              "609",
              "1093",
              "108",
              "1264",
              "1265",
              "375",
              "1233",
              "174",
              "435",
              "440",
              "788",
              "981",
              "982",
              "1226",
              "505",
              "1227",
              "1229",
              "1299",
              "1168",
              "1254",
              "443",
              "1169",
              "441",
              "442",
              "1255",
              "231",
              "1141",
              "436",
              "1252",
              "444",
              "445",
              "446",
              "18",
              "68",
              "1228",
              "983",
              "984",
              "428",
              "985",
              "124",
              "350",
              "986",
              "987",
              "988",
              "989",
              "697",
              "990",
              "991",
              "992",
              "993",
              "994",
              "995",
              "530",
              "996",
              "997",
              "292",
              "61",
              "69",
              "97",
              "365",
              "450",
              "451",
              "353",
              "352",
              "1143",
              "1144",
              "70",
              "100",
              "323",
              "99",
              "324",
              "696",
              "73",
              "576",
              "574",
              "531",
              "263",
              "1083",
              "1210",
              "614",
              "123",
              "432",
              "1225",
              "20",
              "1073",
              "514",
              "515",
              "516",
              "512",
              "554",
              "1206",
              "1207",
              "998",
              "1000",
              "261",
              "519",
              "262",
              "1376",
              "1126",
              "518",
              "1273",
              "180",
              "1082",
              "1001",
              "258",
              "259",
              "264",
              "534",
              "296",
              "1017",
              "260",
              "517",
              "294",
              "699",
              "118",
              "265",
              "1149",
              "1148",
              "1198",
              "513",
              "67",
              "203",
              "1245",
              "708",
              "205",
              "1339",
              "206",
              "179",
              "1003",
              "1004",
              "707",
              "1389",
              "1005",
              "1390",
              "1391",
              "208",
              "1074",
              "1006",
              "1120",
              "1119",
              "1007",
              "1008",
              "1010",
              "1392",
              "1019",
              "1011"
            ],
            "type": "string",
            "description": "Limit the data to searches in one category, for example Finance or Travel > Air Travel.",
            "default": ""
          },
          "property": {
            "title": "Search type",
            "enum": [
              "",
              "images",
              "news",
              "youtube",
              "froogle"
            ],
            "type": "string",
            "description": "Which Google search the interest comes from.",
            "default": ""
          },
          "includeInterestOverTime": {
            "title": "Interest over time",
            "type": "boolean",
            "description": "The timeline, plus a summary per term: average, peak, latest value and change.",
            "default": true
          },
          "includeInterestByRegion": {
            "title": "Interest by region",
            "type": "boolean",
            "description": "By country for worldwide searches, by state or region inside a country.",
            "default": true
          },
          "includeCities": {
            "title": "Interest by city",
            "type": "boolean",
            "description": "Up to 200 cities.",
            "default": true
          },
          "includeMetros": {
            "title": "Interest by US metro area",
            "type": "boolean",
            "description": "Nielsen DMA metro areas, for searches in the United States or a US state.",
            "default": false
          },
          "includeRelatedQueries": {
            "title": "Related queries",
            "type": "boolean",
            "description": "Top and rising searches made together with each term.",
            "default": true
          },
          "includeRelatedTopics": {
            "title": "Related topics",
            "type": "boolean",
            "description": "Top and rising topics. Off by default: in October 2026 Google returns them empty for most searches (related queries are not affected).",
            "default": false
          },
          "trendingSearchesCountries": {
            "title": "Trending searches in these countries",
            "type": "array",
            "description": "Country codes such as `US`, `GB`, `FR`. Adds the searches trending right now in each country, with their approximate search volume and news articles. Works with or without search terms.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Google Trends URLs",
            "type": "array",
            "description": "Paste URLs from trends.google.com/trends/explore. Terms, place (including states such as `US-CA`), time, category and search type are read from each URL.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "spreadsheetId": {
            "title": "Google Sheet ID",
            "type": "string",
            "description": "ID of a public Google Sheet with one search term per row in the first column. Row 1 is the column title and is skipped."
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many search term rows. 0 means no limit.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify residential proxies by default, included in the price: Google limits each IP address, and every attempt gets a fresh residential IP. If you pick datacenter proxies, searches that keep failing move to residential ones.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "viewedFrom": {
            "title": "Proxy country",
            "enum": [
              "",
              "af",
              "ax",
              "al",
              "dz",
              "as",
              "ad",
              "ao",
              "ai",
              "aq",
              "ag",
              "ar",
              "am",
              "aw",
              "au",
              "at",
              "az",
              "bs",
              "bh",
              "bd",
              "bb",
              "by",
              "be",
              "bz",
              "bj",
              "bm",
              "bt",
              "bo",
              "ba",
              "bw",
              "bv",
              "br",
              "io",
              "vg",
              "bn",
              "bg",
              "bf",
              "bi",
              "kh",
              "cm",
              "ca",
              "cv",
              "bq",
              "ky",
              "cf",
              "td",
              "cl",
              "cn",
              "cx",
              "cc",
              "co",
              "km",
              "cg",
              "cd",
              "ck",
              "cr",
              "ci",
              "hr",
              "cu",
              "cw",
              "cy",
              "cz",
              "dk",
              "dj",
              "dm",
              "do",
              "ec",
              "eg",
              "sv",
              "gq",
              "er",
              "ee",
              "sz",
              "et",
              "fk",
              "fo",
              "fj",
              "fi",
              "fr",
              "gf",
              "pf",
              "tf",
              "ga",
              "gm",
              "ge",
              "de",
              "gh",
              "gi",
              "gr",
              "gl",
              "gd",
              "gp",
              "gu",
              "gt",
              "gg",
              "gn",
              "gw",
              "gy",
              "ht",
              "hm",
              "hn",
              "hk",
              "hu",
              "is",
              "in",
              "id",
              "ir",
              "iq",
              "ie",
              "im",
              "il",
              "it",
              "jm",
              "jp",
              "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",
              "mx",
              "fm",
              "md",
              "mc",
              "mn",
              "me",
              "ms",
              "ma",
              "mz",
              "mm",
              "na",
              "nr",
              "np",
              "nl",
              "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",
              "re",
              "ro",
              "ru",
              "rw",
              "ws",
              "sm",
              "st",
              "sa",
              "sn",
              "rs",
              "sc",
              "sl",
              "sg",
              "sx",
              "sk",
              "si",
              "sb",
              "so",
              "za",
              "gs",
              "kr",
              "ss",
              "es",
              "lk",
              "bl",
              "sh",
              "kn",
              "lc",
              "mf",
              "pm",
              "vc",
              "sd",
              "sr",
              "sj",
              "se",
              "ch",
              "sy",
              "tw",
              "tj",
              "tz",
              "th",
              "tl",
              "tg",
              "tk",
              "to",
              "tt",
              "tn",
              "tr",
              "tm",
              "tc",
              "tv",
              "um",
              "vi",
              "ug",
              "ua",
              "ae",
              "gb",
              "us",
              "uy",
              "uz",
              "vu",
              "va",
              "ve",
              "vn",
              "wf",
              "eh",
              "ye",
              "zm",
              "zw"
            ],
            "type": "string",
            "description": "Country of the residential IP addresses. Leave empty for the United States (European IPs can get Google's consent page). This does not change the data: the Country field does.",
            "default": ""
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Search terms processed at the same time. The Actor slows down by itself when Google asks it to.",
            "default": 10
          },
          "maxRequestRetries": {
            "title": "Retries per search term",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Attempts with a new IP address before a term is reported as failed. Failed terms are not charged.",
            "default": 8
          },
          "skipDebugScreen": {
            "title": "Skip debug screenshots",
            "type": "boolean",
            "description": "Accepted for compatibility with Apify's Google Trends Scraper. This Actor uses no browser, so there are no screenshots.",
            "default": true
          },
          "pageLoadTimeoutSecs": {
            "title": "Page load timeout",
            "minimum": 0,
            "type": "integer",
            "description": "Accepted for compatibility with Apify's Google Trends Scraper and ignored: requests time out after 30 seconds and are retried."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}