Scraper
Google Search API
Tinq.ai Google Search API
Get started
Overview
The Google Search API provides programmatic access to Google Search results with additional features for proxy handling and result formatting. This documentation covers the API endpoints, parameters, and response structure.
Request Parameters
Required Parameters
Search term
: The query string to search for (e.g., “best pizza in atlanta, ga”)
Optional Parameters
Proxy
: Toggle for proxy usageBuilt-in Proxy
: Option to use the API’s built-in proxy serviceRaw HTML
: Option to receive raw HTML resultsChoose best
: Option to receive optimized resultsProxies
: Dropdown to select proxy location (e.g., “US”)
Response Structure
The API returns a JSON object with the following main sections:
Results Object
Key Components
bottom_ads
: Array of advertisements displayed at the bottom of resultslocal_results
: Array of location-based resultspeople_also_ask
: Array of related questions and answersrelated
: Array of related search suggestionsresults
: Main search results arraytop_ads
: Array of advertisements displayed at the top of results
People Also Ask Structure
Each item in the people_also_ask
array contains:
question
: The related questionanswer
: The corresponding answersource
: URL source of the answer
Usage Statistics
Status Information
message
: Status of the request (e.g., “success”)errors
: Array of any error messages