Google Search SERP API avatar

Google Search SERP API

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Google Search SERP API

Google Search SERP API

A powerful, high-performance interface to access real-time Google search engine results. Designed for developers who need fast, reliable, and structured data from Google Search for SEO analytics, AI chatbots, or market research.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(2)

Developer

Mahbub Hasan

Mahbub Hasan

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

a day ago

Last modified

Share

Google SERP API for Apify

Overview

Welcome to the Google SERP API documentation. This actor provides a powerful, high-performance interface to access real-time Google search engine results directly from the Apify platform. It's designed for developers who need fast, reliable, and structured data from Google Search for their applications, whether for SEO analytics, AI chatbots, or market research.

Unlike other SERP APIs, this actor avoids CAPTCHAs and blocking by seamlessly rotating valid tokens, ensuring a highly reliable scraping experience.

Usage on Apify

You can run this actor on the Apify platform or locally using the Apify CLI.

Input Configuration

The actor accepts input via JSON. When running the actor, you will provide a JSON object with your search parameters.

Example Input (JSON):

{
"query": "pizza",
"gl": "us",
"hl": "en",
"page": 1
}

Input Parameters

Here are the fields you can pass into the actor's input:

ParameterTypeDescription
querystringRequired. The search string you want to query.
glstringThe country code (e.g., 'us', 'uk'). Defaults to 'us'.
hlstringThe language code (e.g., 'en', 'es'). Defaults to 'en'.
pageintegerThe result page number. Typically 1-10. Defaults to 1.
tbsstringTime frame parameter (e.g., 'qdr:h' for past hour).
udmstringSearch type filter (e.g., '1' for Places, '2' for Images).
tbmstringSearch type filter (e.g., 'nws' for News).

Dynamic Options

tbs Options (Time Filters)

ValueDescription
qdr:hPast Hour
qdr:dPast 24 Hours
qdr:wPast Week
qdr:mPast Month

udm Options (Type Filters)

ValueDescription
1Places / Maps
2Images
6Learn
7Videos
14Web
18Forum
36Books

Output Format

The actor pushes the extracted SERP data to the Apify Default Dataset. The data will be cleanly parsed into a structured JSON format containing organic results, top stories, related searches, and more depending on your applied filters.


Localization Reference

Countries (gl)

Below are some commonly used country codes:

  • United States: us
  • United Kingdom: gb
  • Canada: ca
  • Australia: au
  • India: in
  • Germany: de
  • France: fr
  • Japan: jp
  • Brazil: br
  • Mexico: mx

(For a full list of country codes, refer to the standard ISO 3166-1 alpha-2 codes.)

Languages (hl)

Below are some commonly used language codes:

  • English: en
  • Spanish: es
  • French: fr
  • German: de
  • Italian: it
  • Portuguese: pt
  • Russian: ru
  • Chinese (Simplified): zh-CN
  • Chinese (Traditional): zh-TW
  • Japanese: ja
  • Arabic: ar
  • Hindi: hi

(For a full list of language codes, refer to the standard ISO 639-1 codes.)