Google

Google SERP Scraper (Sync)

This endpoint scrapes Google Search results in real time and returns either the parsed results as JSON or the raw HTML of the results page.

Note

  • Use the Sync Scraper API Server (https://sync.scraper.mrscraper.com) host when calling this endpoint.
  • Set format to json for parsed results, or to html to receive the raw results page.
  • Set renderJs to true to wait for JavaScript rendering, which makes sure the AI overview is loaded.
  • For long-running or high-volume queries, use the Google SERP Scraper (Async) endpoint instead.
POST
/api/google/serp/v2/sync
AuthorizationBearer <token>

In: header

Request Body

application/json

query*string

Search keyword or phrase to query on Google Search

region?string

Country code used to localize search results (e.g., us, gb, id)

language?string

Language code for the search results (e.g., en, id, es)

page?integer

Page number of the results to retrieve

format?string

Format of the returned results. Use json for parsed results or html for the raw results page.

Value in"html" | "json"
renderJs?boolean

Wait until JavaScript rendering finishes. Set to true to make sure the AI overview is loaded.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.app.mrscraper.com/api/google/serp/v2/sync" \  -H "Content-Type: application/json" \  -d '{    "query": "mrscraper"  }'
{
  "success": true,
  "message": "Successfully scraped",
  "data": {
    "general": {
      "query": "mrscraper",
      "results_cnt": 10,
      "search_time": 1.42,
      "language": "en",
      "location": "us",
      "page_title": "mrscraper - Google Search",
      "timestamp": "2026-07-29T03:12:35.828Z"
    },
    "input": {
      "original_url": "https://www.google.com/search?q=mrscraper&gl=us&hl=en"
    },
    "navigation": [
      {
        "name": "AI Mode",
        "link": "https://www.google.com/search?q=mrscraper&sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&udm=50&fbs=ABfTbFVyMZGZf1hfvX9uKjN_-G8c4u0nXx4bEIpwm1lnNH832SMIiTl3t-JZ4hGJOxPbHYQR84vEJkyW62ul7Q3Bkhu9i-p_ALr7slx3OYYzZdb8IT3FndrqeBHMsRzGKbRfIR7b-IDOdD4mLFnDfJE7MkVbZjvPUQl2NR7SPUm_y9noHIM_ai43MmM0DqwpOJwyPGc2vLIl38z3UfnOhopmsfG_O2-P2Q&aep=1&ntc=1&cs=1&sa=X&ved=2ahUKEwj_waqd9faVAxVHE1kFHW6FDhw4KBDYnw56BAgOEAM"
      },
      {
        "name": "Images",
        "link": "https://www.google.com/search?sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&udm=2&fbs=ABfTbFVyMZGZf1hfvX9uKjN_-G8c4u0nXx4bEIpwm1lnNH832SMIiTl3t-JZ4hGJOxPbHYQR84vEJkyW62ul7Q3Bkhu9i-p_ALr7slx3OYYzZdb8IT3FndrqeBHMsRzGKbRfIR7b-IDOdD4mLFnDfJE7MkVbZjvPUQl2NR7SPUm_y9noHIM_ai43MmM0DqwpOJwyPGc2vLIl38z3UfnOhopmsfG_O2-P2Q&q=mrscraper&sa=X&ved=2ahUKEwj_waqd9faVAxVHE1kFHW6FDhw4KBC0qAt6BAgUEAE"
      },
      {
        "name": "Shopping",
        "link": "https://www.google.com/search?sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&udm=28&fbs=ABfTbFVyMZGZf1hfvX9uKjN_-G8c4u0nXx4bEIpwm1lnNH832SMIiTl3t-JZ4hGJOxPbHYQR84vEJkyW62ul7Q3Bkhu9i-p_ALr7slx3OYYzZdb8IT3FndrqeBHMsRzGKbRfIR7b-IDOdD4mLFnDfJE7MkVbZjvPUQl2NR7SPUm_y9noHIM_ai43MmM0DqwpOJwyPGc2vLIl38z3UfnOhopmsfG_O2-P2Q&q=mrscraper&ved=1t:220175&ictx=111"
      }
    ],
    "organic": [
      {
        "link": "https://simplescraper.io/blog",
        "source": "Simplescraper",
        "display_link": "https://simplescraper.io › blog",
        "title": "| Simplescraper Blog",
        "description": "Use Simplescraper's MCP server to extract URLs, discover patterns, scrape, and compare multiple competitor websites in one Claude conversation. Free, no code.Read more",
        "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB...",
        "rank": 1,
        "global_rank": 1
      },
      {
        "link": "https://www.toolpilot.ai/products/mrscrapper?srsltid=AfmBOoroYSXwcZl5RdPO9w1KLlCCcGb8iEI_5QVImNASIH-Uo5URYUi5",
        "source": "ToolPilot AI",
        "display_link": "https://www.toolpilot.ai › products › mrscrapper",
        "title": "MrScrapper - AI Powered Web Scrapper",
        "description": "MrScrapper is an AI powered web scraper, designed to make the scraping process easier and more efficient. It includes features such as proxy rotation, ...Read more",
        "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC...",
        "rank": 2,
        "global_rank": 2
      },
      {
        "link": "https://skrapp.io/",
        "source": "Skrapp",
        "display_link": "https://skrapp.io",
        "title": "Skrapp.io | Find Emails & B2B Leads from LinkedIn",
        "description": "Find verified business email addresses and build targeted lead lists with Skrapp. Trusted by 2M+ users to enrich contacts and discover prospects — for free.",
        "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB...",
        "rank": 3,
        "global_rank": 3
      }
    ],
    "pagination": {
      "pages": [
        {
          "page": 1,
          "start": 0,
          "link": "https://www.google.com/search?q=mrscraper&sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&ei=om9pav_oI8em5NoP7oq64AE&start=0&sa=N&ved=2ahUKEwj_waqd9faVAxVHE1kFHW6FDhw4KBDy0wN6BAgrEAQ"
        },
        {
          "page": 2,
          "start": 10,
          "link": "https://www.google.com/search?q=mrscraper&sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&ei=om9pav_oI8em5NoP7oq64AE&start=10&sa=N&ved=2ahUKEwj_waqd9faVAxVHE1kFHW6FDhw4KBDy0wN6BAgrEAY"
        },
        {
          "page": 3,
          "start": 20,
          "link": "https://www.google.com/search?q=mrscraper&sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&ei=om9pav_oI8em5NoP7oq64AE&start=20&sa=N&ved=2ahUKEwj_waqd9faVAxVHE1kFHW6FDhw4KBDy0wN6BAgrEAg"
        }
      ],
      "current_page": 1,
      "next_page": 2,
      "next_page_start": 50,
      "next_page_link": "https://www.google.com/search?q=mrscraper&sca_esv=7cbf5a9134d1e0d0&gl=US&hl=en&ei=om9pav_oI8em5NoP7oq64AE&start=50&sa=N&ved=2ahUKEwj_waqd9faVAxVHE1kFHW6FDhw4KBDw0wN6BAgrEBM"
    },
    "people_also_ask": [],
    "sponsored": [],
    "results": [
      {
        "url": "https://simplescraper.io/blog",
        "title": "| Simplescraper Blog",
        "description": "Use Simplescraper's MCP server to extract URLs, discover patterns, scrape, and compare multiple competitor websites in one Claude conversation. Free, no code.Read more",
        "relevance": "high"
      },
      {
        "url": "https://www.toolpilot.ai/products/mrscrapper?srsltid=AfmBOoroYSXwcZl5RdPO9w1KLlCCcGb8iEI_5QVImNASIH-Uo5URYUi5",
        "title": "MrScrapper - AI Powered Web Scrapper",
        "description": "MrScrapper is an AI powered web scraper, designed to make the scraping process easier and more efficient. It includes features such as proxy rotation, ...Read more",
        "relevance": "high"
      },
      {
        "url": "https://skrapp.io/",
        "title": "Skrapp.io | Find Emails & B2B Leads from LinkedIn",
        "description": "Find verified business email addresses and build targeted lead lists with Skrapp. Trusted by 2M+ users to enrich contacts and discover prospects — for free.",
        "relevance": "high"
      }
    ]
  },
  "tokenUsage": 1
}
{
  "message": "Unauthorized access",
  "error": "Unauthorized"
}
{
  "message": "You do not have permission to access this resource",
  "error": "Forbidden",
  "statusCode": 403
}
{
  "success": true,
  "message": "Successfully scraped",
  "data": {
    "html": "<html itemscope=\"\" itemtype=\"http://schema.org/SearchResultsPage\" lang=\"en\"><head><meta charset=\"UTF-8\"><meta content=\"origin\" name=\"referrer\"><link href=\"//www.gstatic.com/images/branding/searchlogo/ico/favicon.ico\" rel=\"icon\"><meta content=\"/images/branding/googleg/1x/googleg_standard_color_128dp.png\" itemprop=\"image\"><title>mrscraper - Google Search</title><script type=\"text/javascript\" id=\"www-widgetapi-script\" src=\"https://www.youtube.com/s/player/b81a9a58/www-widgetapi.vflset/www-widgetapi.js\" async=\"\" nonce=\"\"></script><script nonce=\"\">window._hst=Date.now();</script><script nonce=\"\">(function(){var _g={kEI:'EWhpapvAD6DH4-EPx_CbuA8',kEXPI:'31',kBL:'RD9U',kOPI:89978449};(function(){var..."
  },
  "tokenUsage": 10
}