WebScrapingAPI Docs
HomeLoginRegister
  • Introduction
    • Registration
    • Pricing
    • Free APIs
    • API Errors
    • Custom Response Headers
  • Browser API
    • Getting Started
      • Access the API
      • Authentication
      • API Parameters
    • Basic API Requests
      • GET Request
      • POST, PUT & PATCH Requests
      • Proxy Mode
    • Advanced API Features
      • Awaiting
      • Geolocation
      • Sessions
      • Forcing Timeouts
      • Custom Headers
      • Custom Cookies
      • Device Type
      • Viewport Sizing
      • Screenshot
      • Screenshot Options
      • Extraction Rules
      • JavaScript Instructions
      • Full JSON Response
      • JSON DOM Response
      • Block Resources
      • Captcha Solving
  • WebScrapingAPI
    • Getting Started
      • Access the API
      • API Parameters
    • Basic API Requests
      • GET Request
      • POST, PUT & PATCH Requests
    • Advanced API Features
      • Geolocation
      • Extraction Rules
      • Full JSON Response
      • JSON DOM Response
      • Rendering JavaScript
  • WebStealthProxy
    • Getting Started
      • Access the Proxy
      • Usage and Statistics
    • Basic Proxy Requests
    • Advanced Proxy Requests
      • Sessions
      • Geolocation
      • Custom Headers
      • Custom Cookies
      • Screenshots
  • Google Search API
    • Getting Started
      • Access the API
      • API Parameters
    • Google Search Engines
      • Google Search API
      • Google Maps API
      • Google Maps Reviews API
      • Google Reverse Image API
      • Google Trends API
        • Geo Parameter Options List
        • Google Trends Categories List
  • WB CUSTOM SEARCH API
    • Getting Started
      • Access the API
      • API Parameters
    • WB Custom Search Engines
      • Wayfair Product API
      • Best Buy Product API
      • Nordstrom Product API
  • Amazon Search API
    • Getting Started
      • API Parameters
      • Access the API
      • Supported Domains
    • Amazon Search Types
      • Amazon Search
      • Amazon Seller
        • Amazon Seller Products
        • Amazon Seller Profile
        • Amazon Seller Feedback
      • Amazon Product
      • Amazon Category
      • Amazon Bestsellers
      • Amazon New Releases
      • Amazon Deals
  • Bing Search API
    • Getting Started
      • Access the API
      • API Parameters
    • Basic API Requests
Powered by GitBook
On this page
  1. Google Search API
  2. Getting Started

Access the API

Accessing the Google Scraping API is as simple as sending a GET request to our endpoint.

The Google API works on top of the SERP API, which is available via GET requests sent to our official API endpoint and by specifying the engine=<GOOGLE_ENGINE> query parameter.

The official SERP API endpoint is:

  • https://serpapi.webscrapingapi.com/v2

To choose the appropriate engine check out the available Google Search Engines.

You can use this as the base URL for the Google API: https://serpapi.webscrapingapi.com/v2?api_key=<YOUR_API_KEY>&engine=<GOOGLE_ENGINE>

The API key

Our SERP API requires an API key for authentication. The key is embedded in the URL as a query parameter called api_key and has to be included on each GET request, for the request to pass. Failing to pass the required api_key parameter or passing an incorrect key will result in an Unauthorized HTTP status.

To obtain an API key for the SERP API, you have to:

  1. Register a new account on our official platform

  2. Subscribe to the SERP API service from within the Dashboard

Subscription to the SERP API gives you access to all supported engines: Google, Bing and Yandex.

In the following documentation, we will refer to the API key by using this syntax:<YOUR_API_KEY>

Please make sure to store your private API key in a secure location and never make it publicly available. Using the API key directly impacts you subscription plan.

PreviousGetting StartedNextAPI Parameters

Last updated 8 months ago