1. Task API
Dataify
English
  • 中文
  • English
  • Introduction
    • Overview
    • Support
  • Data Services
    • Getting Started Guide
    • MCP Setup Guide
    • Dataify cloud delivery tutorial
    • Web Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter Reference
        • Amazon Parameters
        • EBay Parameters
        • Walmart Parameters
    • Video Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter
    • SERP API
      • Overview
      • Quick Start Guide
      • Send your first request
      • Billing Information
      • FAQ
      • Status Code
      • Request Parameter Reference
        • Google
          • Google Search
          • Google Light
          • Google AI Mode
          • Google Map
          • Google Scholar
          • Google News
          • Google Lens
          • Google Jobs
          • Google Videos
          • Google Local
          • Google Trends
          • Google finance
          • Google Flight
          • Google Hotel
          • Google Images
          • Google Patent
          • Google Shopping
          • Google Play
        • Bing
          • Bing Search
          • Bing Map
          • Bing News
          • Bing Videos
          • Bing Images
          • Bing Shopping
        • DuckDuckGo
          • DuckDuckGo
        • Yandex
          • Yandex
      • Response Field Reference
        • Google
          • Google Search
          • Google AI Mode
          • Google Images
          • Google Shopping
          • Google videos
          • Google news
          • Google Map
          • Google Lens
          • Google Flight
          • Google Scholar
          • Google Hotel
          • Google Jobs
          • Google Trends
          • Google Local
          • Google Play
          • Google Finance
        • Bing
          • Bing search
          • Bing Map
          • Bing Shopping
          • Bing Video
          • Bing Images
          • Bing News
        • Yandex
          • Yandex
    • Web API
      • Overview
      • Quick Start
      • Billing Information
      • Send Your First Request
        • Search API
        • Extract API
        • Map API
      • Parameter Reference
        • Search API
        • Export API
        • Map API
        • Response code
    • Web Unlocker API
      • Overview
      • Quick Start
      • Send Your First Request
      • Parameter Reference
      • Billing Information
      • Response code
    • FAQ
      • Frequently Asked Questions
  • Network Infrastructure
    • Dynamic Network Services
      • Dynamic Residential Network
        • Introduction
        • Quick Start
          • Account and Password Authentication
          • Whitelist
          • List of countries/regions
      • High bandwidth network
        • Introduction
        • Quick Start
          • Account Verification
          • Whitelist
    • Static Network Services
      • Static ISP Network
        • Introduction
        • Quick Start
      • Static Data Center
        • Introduction
        • Quick Start
  • Public API
    • Overview
    • Get Token
    • Account
      • Query Credit Balance
      • Query Traffic Balance
      • Query Traffic Usage Records
    • Geolocation
      • Get Country Lists
      • Get State Lists
      • Get City Lists
      • Get ASN Lists
    • Network Service Users
      • Update user information
      • Delete user
      • Daily Traffic Usage Records
      • Hourly Traffic Usage Records
    • Whitelist
      • Query whitelist list
      • Add to Whitelist
      • Remove from Whitelist
    • ISP / Datacenter Proxies
      • Get a list of network nodes
      • Query network nodes expired
    • Dynamic High Bandwidth
      • Get a list of dynamic high-bandwidth servers
      • Restart dynamic high-bandwidth server
      • Renewal for Dynamic High-Bandwidth Servers
      • Dynamic High-Bandwidth Upgrade
      • Whitelist for High-Bandwidth Server Sub-accounts
      • Add sub-accounts to the high-bandwidth server whitelist
      • Remove the sub-account from the high-bandwidth server whitelist.
    • Web Scraper API
      • Usage Statistics
      • Task API
        • Create Task Instructions
        • Task Execution Status Description
        • Task List Retrieval Instructions
        • Task Download Instructions
        • Get Latest Task Instructions
    • SERP API
      • Interface Information
      • Task API
        • Google search API
        • Bing Search API
        • Duckduckgo search API
        • Yandex search API
    • Web API
      • Search API
      • Extract API
      • Map API
    • Web Unlocker API
      • Get Task Interface API
      • Using the statistics API
  • Integrations
    • AdsPower
    • BitBrowser
    • ClonBrowser
    • Hubstudio
    • Puppeteer
    • Playwright
    • Selenium
    • Chrome
  • FAQ
    • Payment Issues
    • Data Services
    • Network Infrastructure
  • SDK
    • Go SDK Guide
    • JavaScript SDK Guide
    • Python SDK Guide
    • TypeScript SDK Guide
  • CLI
    • Overview
    • Installation
    • Commands
    • Usage Examples
    • FAQ
  • MCP Server
    • Overview
    • Tools
    • Usage Examples
    • Output Format
    • FAQ
    • Agent Setup
      • Codex
      • Claude Code
      • Claude Desktop
      • Cursor
      • VS Code / GitHub Copilot
      • Windsurf / Devin Local
      • Cline
      • Google Antigravity
      • Gemini CLI
      • OpenClaw
      • CodeBuddy
      • WorkBuddy
      • Alibaba Qoder / Qoder CN
      • Alibaba Qwen Code
      • Moonshot AI Kimi Code
      • ByteDance Trae
      • ByteDance Coze
    • Remote Mode
      • Quick Start
      • Advanced
  • SKILLS
    • Guide
    • Agent Setup
      • WorkBuddy
  1. Task API

Google search API

Google Search API

Basic Information

Description: Retrieve real-time search data from Google via API.

Endpoint: https://scraperapi.dataify.com/request

Method: POST

Request Parameters

Headers:

ParameterTypeRequiredDescription
AuthorizationstringRequiredFixed format: Authorization: Bearer <your token>. Get the token from Dashboard → Settings → Token Management. Custom token headers are not supported.

Body:

ParameterTypeRequiredDescription
enginestringYesThe target search engine, fixed to google. Note: when tbm=isch/shop/nws/vid is passed, the Google engine routes internally to the corresponding sub-engine.
qstringYesDefines the search query to scrape (default: q=pizza).
jsonstringNoThis parameter defines the output format of the scraped results:
json=1 outputs JSON format,
json=2 outputs both formats,
json=3 outputs HTML format.
google_domainstringYesThis parameter defines the domain used when scraping; the default is google.com.
To change it or view the full list of supported domains, refer to the Google domains page.
glstringNoSpecifies the region/country setting for search results (see the Google country list for supported codes).
hlstringNoSets the interface language of the search results
For the full list of language codes, refer to: Google language codes table
crstringNo

Use the | separator to restrict search results to specific countries
(must be combined with the gl parameter to ensure the interface language matches the content language)

gl (interface language) and cr (country restriction) can be used together

In practice, the cr parameter takes precedence

lrstringNo

Use lang_XX language codes to filter search results (if the hl parameter is also used, this setting takes precedence)

Notes:

  • hl (interface language) and lr (language filter) can be used together
  • In practice, the lr parameter takes precedence
locationstringNoSimulates a search from a precise location. Must be used in pairs with uule.
uulestringNo

This parameter processes the selected location in Base64-encoded format and must be used together with the location parameter.

All available uule parameter values can be downloaded as a CSV file here

tbmstringNoDefines the result type:
tbm=isch – Images
tbm=shop – Shopping
tbm=nws – News
tbm=vid – Videos
startstringNoSets the pagination starting position of search results. For example:
start=0 (default) - first page of results
start=20 - second page of results
start=40 - third page of results, and so on
numstringNoThis parameter sets the maximum number of search results displayed per page. For example:
num=20 (default) - display 20 results
num=50 - display 50 results, and so on
safestringNoThis parameter sets whether to filter adult content. Options:
active - filter adult content
off - do not filter adult content
ludocidstringNoThis parameter defines the Google My Business ID (CID), also known as the Google Place ID, to scrape.
kgmidstringNoThis parameter directly retrieves encrypted data for a specific entry in the Google Knowledge Graph, overriding standard search parameters and returning structured results.
ibpstringNoThis parameter controls the page rendering and expansion of specific elements, for example, combined with ludocid to enable expanded Knowledge Graph search interactions.
tbsstringNo

This parameter is used for time/type filtering (supports complex conditions), for example:

  • tbs=qdr:d - show only content from the last 24 hours
  • tbs=qdr:h - past 1 hour
  • tbs=qdr:w - past 1 week
  • tbs=qdr:m - past 1 month
  • tbs=qdr:y - past 1 year
nfprstringNo

This parameter controls whether automatic correction of search keywords is disabled:

  • nfpr=1 - disable auto-correction
  • nfpr=0 - enable auto-correction
filterstringNo

This parameter controls duplicate content filtering of search results:

  • 1 - enable deduplication
  • 0 - disable deduplication

Response Example

{
    "code": 200,
    "cache_status": false,
    "spider_parameter": {
        "engine": "google",
        "device": "desktop",
        "domain": "https://www.google.com/",
        "q": "pizza",
        "render_js": false,
        "render_png": false,
        "ai_overview": false
    },
    "search_metadata": {
        "id": "ihtpdp1d5r7yltj5adx0gjahj24agw8d",
        "spider_url": "https://www.google.com/search?q=pizza",
        "total_time_taken": 1.9896,
        "created_at": "2026-06-22 15:05:03",
        "processed_at": "2026-06-22 15:05:05",
        "status": "Success"
    },
    "search_information": {
        "total_results": "About 1260000000 results",
        "query_displayed": "pizza",
        "organic_results_state": "Results for exact spelling"
    },
    "organic": [
        {
            "title": "Pizza Hut",
            "position": 1,
            "display_link": "https://www.pizzahut.com",
            "link": "https://www.pizzahut.com/",
            "description": "Starting at $7. ..."
        }
    ],
    "knowledge": {},
    "snack_pack": [],
    "pagination": {},
    "related": []
}
ParameterTypeAlways ReturnedDescription
codeintYesBusiness status code; 200 indicates success
cache_statusboolYesWhether the cache was hit
spider_parameterobjectYesRequest parameters actually in effect: engine/device/domain/q/render_js/render_png/ai_overview
search_metadataobjectYesSearch metadata
  idstringYesUnique task ID
  spider_urlstringYesFull URL actually requested
  statusstringYesTask status (Success, etc.)
  created_atstringYesCreation time
  processed_atstringYesProcessing completion time
  total_time_takennumberYesTotal time taken (seconds)
search_informationobjectYesSearch information
  total_resultsstringYesTotal results text (e.g., "About 1260000000 results")
  query_displayedstringYesQuery actually displayed
organicarrayYesList of organic search results (elements contain title/position/link/display_link/description)
knowledgeobjectNoKnowledge Graph results (returned depending on query)
snack_packarrayNoLocal business pack (returned depending on query)
snack_pack_mapobjectNoLocal map (returned depending on query)
google_ai_overviewobjectNoAI Overview (requires ai_overview=true, returned depending on query)
paginationobjectNoPagination information
relatedarrayNoRelated searches (returned depending on query)
修改于 2026-11-19 11:31:43
上一页
Interface Information
下一页
Bing Search API
Built with