1. Home
  2. Docs
  3. API Docs
  4. Google search API

Google search API

Endpoint allows you to extract the results from Google search.

GET: https://api.app.outscraper.com/search

Request parameters

apiKey (required)

API token from the profile page.

query (required)

Parameter defines the query you want to search. You can use anything that you would use in a regular Google Maps search. It supports batching by sending arrays with up to 50 items (?query=Trump&query=bitcoin).

language

(default: en) – Parameter specifies the language to use for Google Maps site.

region

(default: us) – Parameter specifies the country to use for Google Maps site.

async

Parameter defines the way you want to submit your search to OutScraper. It can be set to true to open an HTTP connection and keep it open until you got your search results, or false (default) to just submit your search to OutScraper and retrieve them later (usually a few seconds). In this case, you’ll need to use Requests Archive to retrieve your results.

Example request async:
https://api.app.outscraper.com/search?apiKey=SECRET_API_KEY&query=bitcoin

Example response async:
{"status":"Pending","id":"32692d16-725c-4e66-b013-95e80e873b7e"}

Example request:
https://api.app.outscraper.com/search?apiKey=SECRET_API_KEY&async=false&query=bitcoin

Example response:
{
  "status": "Success",
  "id": "c116ec88-57f7-4d52-97c6-44b1c2404713",
  "data": {
    "organic_search": [
      {
        "link": "https://www.bbc.co.uk/newsround/25622442",
        "title": "Guide: What is Bitcoin and how does Bitcoin work? - CBBC ...",
        "description": ""
      },
      {
        "link": "https://www.banks.com/articles/investing/cryptocurrency/convert-bitcoin-cash/",
        "title": "Learn How To Convert Bitcoin To Cash | banks.com",
        "description": ""
      },
      {
        "link": "https://www.cnbc.com/2014/01/23/cnbc-explains-how-to-mine-bitcoins-on-your-own.html",
        "title": "CNBC Explains: How to mine bitcoins on your own - CNBC.com",
        "description": ""
      },
      {
        "link": "https://www.investopedia.com/ask/answers/121515/bitcoin-legal-us.asp",
        "title": "Is Bitcoin Legal? - Investopedia",
        "description": ""
      },
      {
        "link": "https://bitcoin.org/",
        "title": "Bitcoin - Open source P2P money",
        "description": "Bitcoin is an innovative payment network and a new kind of money. Find all you need to know and get started with Bitcoin on bitcoin.org."
      },
      {
        "link": "https://www.bitcoin.com/",
        "title": "Bitcoin.com | Buy BTC & BCH | News, prices, mining & wallet",
        "description": "Digital money that's instant, private, and free from bank fees. Download our official wallet app and start using Bitcoin today. Read news, start mining, and buy\u00a0..."
      },
      {
        "link": "https://www.coindesk.com/price/bitcoin",
        "title": "Bitcoin Price Index \u2014 Real-time Bitcoin Price Charts - CoinDesk",
        "description": "Bitcoin is a cryptocurrency which isn't managed by a bank or agency but in which transactions are recorded in the blockchain that is public and contains records\u00a0..."
      },
      {
        "link": "https://www.investopedia.com/terms/b/bitcoin.asp",
        "title": "Bitcoin Definition - Investopedia",
        "description": "Bitcoin is a digital or virtual currency created in 2009 that uses peer-to-peer technology to facilitate instant payments. It follows the ideas set out in a whitepaper\u00a0..."
      },
      {
        "link": "https://en.wikipedia.org/wiki/Bitcoin",
        "title": "Bitcoin - Wikipedia",
        "description": "Bitcoin (\u20bf) is a cryptocurrency. It is a decentralized digital currency without a central bank or single administrator that can be sent from user to user on the\u00a0..."
      },
      {
        "link": "https://cointelegraph.com/tags/bitcoin",
        "title": "Bitcoin (BTC) - Latest News on Bitcoin | Cointelegraph",
        "description": "Currently, Bitcoin's market cap surpasses $138 billion and this is the most popular kind of digital currency. Buying and selling cryptocurrency is available through\u00a0..."
      },
      {
        "link": "https://cointelegraph.com/news/forget-10k-bitcoin-12k-breakout-will-catch-everyone-off-guard",
        "title": "Forget $10K, Bitcoin $12K Breakout Will Catch Everyone Off ...",
        "description": "7 hours ago - Is Bitcoin allergic to $10000? Will we see a breakout in 2020 for BTC as this key level keeps being tested each week."
      },
      {
        "link": "https://money.cnn.com/infographic/technology/what-is-bitcoin/index.html",
        "title": "What is bitcoin? - CNNMoney - Business",
        "description": "Bitcoin is a new currency that was created in 2009 by an unknown person using the alias Satoshi Nakamoto. Transactions are made with no middle men\u00a0..."
      }
    ]
  }
}