# Google search results from the past week

**Use case:** 

Only results Google dates within the last week, for a list of queries: organic results with real URLs, titles and snippets, ads, questions and related searches, one record per result page. Switch the range to a day, a month or a custom date span. Export to CSV, Excel or JSON. $0.45 per 1,000 result pages, no start fee.

## Input

```json
{
  "queries": "iphone 17 review\nbest running shoes 2026\nelectric cars news",
  "maxPagesPerQuery": 1,
  "countryCode": "us",
  "languageCode": "en",
  "timeRange": "week",
  "dateFrom": "2025-01-01",
  "dateTo": "2025-06-30",
  "resolveUrls": true,
  "saveHtml": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "searchQuery.term": {
    "label": "Query",
    "format": "string"
  },
  "searchQuery.page": {
    "label": "Page",
    "format": "integer"
  },
  "organicResults": {
    "label": "Organic results",
    "format": "array"
  },
  "paidResults": {
    "label": "Ads",
    "format": "array"
  },
  "peopleAlsoAsk": {
    "label": "People also ask",
    "format": "array"
  },
  "relatedQueries": {
    "label": "Related searches",
    "format": "array"
  },
  "hasNextPage": {
    "label": "More pages",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Search Results Scraper · SERP API $0.45/1k](https://apify.com/alfalfa/google-serp-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/alfalfa/google-serp-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/alfalfa/google-serp-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
