{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Trends Trending Now History: past days by country",
    "description": "Past Google Trends Trending Now lists by country, as we collected them: rank, title, search volume, growth, related queries. US, UK, Germany and India from 2026-09-13, except 2026-11-05 to 11-12; 26 more from 2026-11-13. Input: {\"countries\":[\"US\"],\"startDate\":\"2026-10-01\",\"endDate\":\"2026-10-01\"}",
    "version": "0.1",
    "x-build-id": "iRFhNycGCYN7g72XM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tallyrake~google-trends-trending-history/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tallyrake-google-trends-trending-history",
        "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/tallyrake~google-trends-trending-history/runs": {
      "post": {
        "operationId": "runs-sync-tallyrake-google-trends-trending-history",
        "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/tallyrake~google-trends-trending-history/run-sync": {
      "post": {
        "operationId": "run-sync-tallyrake-google-trends-trending-history",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "startDate"
        ],
        "properties": {
          "countries": {
            "title": "Countries",
            "minItems": 1,
            "type": "array",
            "description": "Countries to return. United States, United Kingdom, Germany and India are in the archive from 2026-09-13, except 2026-11-05 through 2026-11-12. The other 26 countries start on 2026-11-13.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "DE",
                "IN",
                "BR",
                "JP",
                "CA",
                "AU",
                "FR",
                "IT",
                "ES",
                "MX",
                "NL",
                "KR",
                "ID",
                "TR",
                "PL",
                "SE",
                "AR",
                "CO",
                "ZA",
                "NG",
                "PH",
                "VN",
                "TH",
                "SA",
                "MY",
                "SG",
                "IE",
                "NZ"
              ],
              "enumTitles": [
                "United States (US)",
                "United Kingdom (GB)",
                "Germany (DE)",
                "India (IN)",
                "Brazil (BR)",
                "Japan (JP)",
                "Canada (CA)",
                "Australia (AU)",
                "France (FR)",
                "Italy (IT)",
                "Spain (ES)",
                "Mexico (MX)",
                "Netherlands (NL)",
                "South Korea (KR)",
                "Indonesia (ID)",
                "Türkiye (TR)",
                "Poland (PL)",
                "Sweden (SE)",
                "Argentina (AR)",
                "Colombia (CO)",
                "South Africa (ZA)",
                "Nigeria (NG)",
                "Philippines (PH)",
                "Vietnam (VN)",
                "Thailand (TH)",
                "Saudi Arabia (SA)",
                "Malaysia (MY)",
                "Singapore (SG)",
                "Ireland (IE)",
                "New Zealand (NZ)"
              ]
            },
            "default": [
              "US"
            ]
          },
          "startDate": {
            "title": "Start date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "First day to return, as YYYY-MM-DD. The archive starts on 2026-09-13. A day is the calendar day in US Central time on which that day's list was collected."
          },
          "endDate": {
            "title": "End date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Last day to return, as YYYY-MM-DD, included. Leave empty for the newest day in the archive. One run covers at most 366 days."
          },
          "includeRecovered": {
            "title": "Recovered rows for 2026-11-08 to 2026-11-12",
            "type": "boolean",
            "description": "Off by default. Collection failed from 2026-11-05 to 2026-11-12, so those days have no saved daily list. On 2026-11-14 we saved the 7-day Trending Now list of each of the 30 countries once; for the United States, United Kingdom, Germany, India, Brazil, Japan, Canada and France that save stopped at a row limit on our side. Turn this on to also get the trends from that save whose start day (UTC) is from 2026-11-08 to 2026-11-12 and inside your range, marked `source` = `recovered`. Trends in the save that started on other days are never returned as recovered rows. For a recovered row your date range matches the day the trend started, in UTC; for a daily row it matches the US Central day the list was collected. Recovered rows are not a daily list: see \"Recovered rows\" in the README.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}