# Serpstack

![Serpstack logo](https://apilayer.com/wp-content/themes/hello-theme-child/assets/products/images/serpstack.svg)

**Status:** Live

The **Serpstack API** provides a powerful and easy-to-use solution for scraping Google Search Engine Results Pages (SERPs) in real-time. With a simple HTTP GET request structure, you can retrieve search results in JSON or CSV format, making it ideal for developers and businesses looking to gather search data efficiently.

## Key Features

-   **Real-time Data:** Access the latest search results from Google instantly.
-   **Multiple Output Formats:** Choose between JSON and CSV for your response data.
-   **Advanced Search Parameters:** Utilize various parameters to refine your search, including location targeting, device emulation, and more.
-   **Comprehensive Documentation:** Detailed API documentation to help you get started quickly.

## Examples

### Example 1: Basic Search Request

```text
GET https://api.apilayer.net/serpstack/search?access_key=YOUR_ACCESS_KEY&query=mcdonalds
```

This request retrieves search results for the query "mcdonalds".

### Example 2: Search with Location Targeting

```text
GET https://api.apilayer.net/serpstack/search?access_key=YOUR_ACCESS_KEY&query=mcdonalds&location=New+York
```

This request retrieves search results for "mcdonalds" specifically targeted to New York.

### Example 3: Search with Pagination

```text
GET https://api.apilayer.net/serpstack/search?access_key=YOUR_ACCESS_KEY&query=mcdonalds&page=2
```

This request retrieves the second page of search results for "mcdonalds".

* * *

© 2026 APILayer. All rights reserved.
