Skip to content
EN
Get API key

Google Search API Fast, reliable real-time SERP results.

FlashData's Google Search API returns web, image, news, shopping, video and place results as structured JSON. Use one API key for realtime requests, background jobs and batches, with country, language and location controls.

Try up to 2,000 Google Search requests for free.

No credit card required.Trial details

API playground

API PLAYGROUND
API docs
Fixed for this demo; configurable in API callsConfigure API request
API options
Search results
Google

People also ask

Recorded response
{
"results": [
{
"searchParameters": {
},
"organic": [
{
},
{
},
{
},
{
},
results[0].organic[0].title↔ result
Recorded response · 2026-09-16 07:41:40 UTC

Select a result to highlight its JSON fields.

Protected by reCAPTCHA. Privacy · Terms

See your first API request
Results in the same request
Realtime
Google search types
6
Default response format
JSON

Which Google Search API request mode should I use?

All six Google search types support realtime, async and batch requests. Choose by when your application needs the results; batch size and pending-job capacity follow your plan.

Scroll horizontally to compare all columns →

Compare realtime, async and batch search requests
Request modeChoose it forWhat you receiveHow usage is counted
RealtimeSearch inside an application or an interactive AI tool.Search results in the same HTTP response.One query per request.
AsyncBackground research that can retrieve results later.One job ID, with status and result links.One query per job.
BatchA collection of keywords, countries or result pages.A separate job receipt and result for each query.Each query is billed separately.

WHY GOOGLE SEARCH API

Realtime results with location and language controls.

01

Results in the same response.

Send a query and receive results in the same response with the realtime API.

02

Structured JSON fields.

Titles, links, snippets and source-specific fields arrive as structured JSON. Feed them straight into your application without building and maintaining search page parsers.

03

Country, language and location.

Set country and language, request a location, and paginate results. Keep the search context alongside the data your application collects.

FEATURES

Six Google search types.

Choose the results you need, from web pages and news to products and local businesses.

Google Search JSON APIs in 2026: which one to use

USE CASES

Search applications.

Search for AI agents

Give your assistant a tool for finding current information and source links through the API or MCP.

SEO & market research

Collect search observations for keywords and markets. Schedule requests and track changes in your own system.

Content discovery

Find articles, images, products and places to feed search experiences and research dashboards.

GET STARTED

How to request search results.

  1. 01

    Choose your search

    Select a search type and enter your query. Set the country, language and result page for your audience.

  2. 02

    Send a request

    Use your API key to request results from your server. Get results in the same response, or submit background jobs for larger workloads.

  3. 03

    Build on the results

    Display results in your app, track search rankings over time or give your AI assistant links to relevant sources.

Read the integration guideConnect your AI assistant with MCP
EXAMPLE REQUESTRealtime
Python 3 · requests
python3 -m pip install requests
import json

import requests

api_key = "YOUR_API_KEY"
payload = {
    "source": "google_search",
    "query": "openai",
    "params": {
        "gl": "us",
        "hl": "en",
        "num": 10,
        "page": 1,
    },
}

response = requests.post(
    "https://data.flashdata.dev/v1/queries/realtime",
    headers={"X-API-Key": api_key},
    json=payload,
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), ensure_ascii=False, indent=2))

Replace YOUR_API_KEY near the top of the example. Keep real keys out of source control.

USAGE PRICING

Google Search API
pricing.

Google search types share your plan’s Google rate. Each query in a batch is billed separately.

Shared Credits across Google and YouTube APIs.
From$0.40per 1,000 requestsUSD · Business plan · Subscription required · $1,999.00 / monthCompare all plans

FAQ

Frequently asked questions.

Contact support
How do I start my free trial?
Create an account and verify your email. Eligible accounts receive trial Credits automatically. View your balance in account overview. No credit card is required.
How is the trial allowance shared?
One shared trial balance covers Google Search, YouTube Data and downloads. This estimate uses current Pay as you go rates for this product. Each search query, including each query in a batch, uses the shared allowance. Check your balance in the console.
What does the starting price require?

The starting usage rate is $0.40 per 1,000 requests on the Business plan. This rate requires a subscription costing $1,999.00 / month; the plan includes 40,000 Credits per billing period. Usage consumes Credits, and additional top-ups are charged separately. Google search types share your plan’s Google rate. Each query in a batch is billed separately.

Current prices and plan limits
What is FlashData's Google Search API?

FlashData's Google Search API returns web, image, news, shopping, video and place results as structured JSON. Use an API key with the selected source. It supports realtime responses, async jobs and batches, with per-query billing at your account's source rate.

Read the reference
Can I try it before signing up?

Yes. Use the demo to run a Google search and preview the results without an account. To use the API in your own application, create an account and get an API key.

Can I choose JSON, plain text or Markdown?

Yes. JSON is the default. Choose plain text or Markdown in the playground, or use the response headers in your API request. See the guide for examples.

Read the reference
Which search types are included?

Web search, images, news, shopping, videos and places. Available fields and result counts vary by query and search type; the API reference describes each response.

Can I get Google search results for a specific country, language or city?

Yes. Set params.gl to a two-letter country code, params.hl to the Google interface language, and params.location to a location such as London, England, United Kingdom. Check the selected search type's reference for supported settings.

Read the reference
How do I paginate Google Search API results?

Set params.page to the result page and params.num to the requested result count. Send a separate query for each page, or submit those queries together in a batch. Each query is billed separately. Use the returned results array to count the items received.

Read the reference
Can I run searches in the background?

Yes. All six search types support background jobs and batch requests. Use the returned job links to check progress and retrieve results. Your plan sets the batch size and processing limits.

Does this return the full text of each website?

No. This product returns search results and their available snippets and fields. Fetching and processing the contents of linked pages is a separate step in your application.

Can I use the Google Search API with an AI agent through MCP?

Yes. Add the REST API to your application’s tools, or connect a compatible assistant through FlashData MCP. Use an API key with access to the Google search types you need. Both options use your account’s shared Credits balance.

Read the reference
When should I choose realtime, async or batch?

Choose realtime for results in the same HTTP response. Choose async when your application can wait for a background job and retrieve its results later. Batch submits multiple queries together; each is billed separately and your plan's batch and pending limits apply.

Read the reference
How can I measure API speed for my application?

Measure complete responses from the region where your application runs. Report successful-request p50 and p95 latency alongside failures, concurrency, source and query settings. Async submission latency and total job completion time measure different parts of the workflow.

Read the reference

Access the Google Search API.

Verify your email to receive trial Credits if eligible. No credit card required.