# Export Google search results to CSV or Excel

**Use case:** 

Google search results for a list of keywords, several pages deep, ready to download as CSV or Excel: one row per result page with every organic result (position, title, real URL, snippet), the ads, the questions and the related searches. $0.45 per 1,000 result pages, no start fee.

## Input

```json
{
  "queries": "coffee machines\nwireless headphones\ngarden furniture\nkids bikes\nair purifier",
  "maxPagesPerQuery": 2,
  "countryCode": "us",
  "languageCode": "en",
  "timeRange": "any",
  "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`).
