Zapier

Connect MrScraper to Zapier to scrape pages as HTML, Markdown, screenshots, brand data, or JSON, search the web, and check account status from no-code Zaps.

Zapier connects apps and services through automated workflows called Zaps. The MrScraper app for Zapier lets a Zap scrape a web page, extract brand details or structured JSON, search the web, or check your account status, and then pass the results to any other app in Zapier.

Available Actions

The MrScraper app provides seven actions. It has no triggers, so start a Zap with another app's trigger, such as Schedule by Zapier, a new spreadsheet row, or a form submission.

ActionDescription
Scrape HTMLRetrieves the raw HTML of a page, optionally with a screenshot. Browser rendering is optional.
Scrape MarkdownRetrieves a page as Markdown. Browser rendering is optional.
Get ScreenshotCaptures a base64 screenshot of the full page or top viewport. Browser rendering is always enabled.
Scrape BrandExtracts a website's colors, typography, logos, and social links as JSON.
Scrape JSONExtracts structured JSON from a page using a natural-language prompt.
Web SearchSearches the web and returns ranked results with titles, URLs, descriptions, and sources.
StatusRetrieves your MrScraper subscription account status, including plan and usage details.

Prerequisites

Before you start, make sure you have:

Integration Steps

Add the MrScraper Action

  1. Open the Zap editor and set up a trigger for your Zap.
  2. Click + to add an action step, then search for and select MrScraper.
  3. Choose an Action event, such as Scrape Markdown, Scrape JSON, or Web Search.

Connect Your MrScraper Account

  1. Under Account, click Sign in to add a new connection.
  2. Complete the connection with your MrScraper account credentials, such as your MrScraper API token.
  3. Save the connection. You can reuse it in any Zap.

Configure the Action

Fill in the action fields described below. You can map values from earlier steps, such as a URL from a spreadsheet row, into any field.

Test and Publish

  1. Click Test step to run the action once and inspect the output.
  2. Map the output fields into the following steps, then publish the Zap.

Action Reference

Page Fields

Scrape HTML, Scrape Markdown, Get Screenshot, and Scrape JSON retrieve a known page through the Scraper API. Only url is required. Leave the other fields empty to use the API defaults.

FieldActionsDescription
urlAllAbsolute HTTP or HTTPS URL of the page. Required.
geoCodeAllTwo-letter country code for the request, such as us. See Country Codes.
maxAgeAllReturns a cached result of the same request if it is newer than this many milliseconds. 0 always fetches a fresh page.
timeoutAllPage timeout in seconds.
waitForSelectorAllCSS selector to wait for before returning the page. Requires browser rendering.
maxRetriesAllMaximum number of retries. 0 disables retries.
browserRenderingHTML, Markdown, JSONtrue forces browser rendering and false disables it. Leave empty to let the service decide.
warmStartHTML, Markdown, JSONVisits the site's home page before the target URL.
blockResourcesHTML, Markdown, JSONBlocks images, CSS, and fonts.
screenshotHTML, Screenshot, JSONCaptures a base64 screenshot of the page.

Choosing a loading path

Start with browserRendering left at its default, and change it only if the response is not usable. Browser rendering is not always better: some pages load correctly only without it. See Independent Loading Paths.

Scrape HTML

Returns the page HTML. Set screenshot to also capture the page, which enables browser rendering. See Scrape HTML.

Scrape Markdown

Returns the page as Markdown, ready for an AI step or a document. See Scrape Markdown.

Get Screenshot

Returns a base64 screenshot. Set screenshot to full for the entire page or top for the first viewport. See Get Screenshot.

Scrape Brand

Takes only url and returns the site's colors, typography, logos, and social links as JSON. See Scrape Brand.

Scrape JSON

Extracts structured data from the page with AI. See Scrape JSON.

FieldRequiredDescription
promptNoWhat to extract, such as Extract each product's title and price. Append Json Schema: and a JSON schema to shape the output.
htmlNoIncludes the page HTML in the response.

Searches the web when you don't have a target URL yet.

FieldRequiredDescription
queryYesSearch text.
countryNoTwo-letter country code for the results, such as gb.
numResultsNoNumber of results, from 10 to 100. The search may return fewer.

Each result includes its rank, title, URL, description, and source.

Status

Takes no input. Returns your subscription status, plan, and usage details, which you can use to monitor usage or stop a Zap before you run out of tokens.

Example Workflows

Scheduled Page Fetch to Google Sheets

Fetch a page on a schedule and store the content in Google Sheets, for example to track prices or monitor a listing.

Set Up the Schedule

  1. Add a Schedule by Zapier trigger.
  2. Choose the interval, such as every hour, day, or week.

Fetch the Page

  1. Add a MrScraper action and select Scrape Markdown, or Scrape JSON if you want specific fields such as a price.
  2. Enter the page url, and for Scrape JSON, describe the fields in prompt.

Save to Google Sheets

  1. Add a Google Sheets action and select Create Spreadsheet Row.
  2. Map the fetched content and the run time into the sheet's columns.

Search and Fetch the Top Results

Search for a topic and fetch each result page.

Search the Web

  1. Add a trigger, such as a new Google Sheets row that contains a search term.
  2. Add a MrScraper action, select Web Search, and map the search term into query.

Loop Through the Results

  1. Add a Looping by Zapier action and select Create Loop From Line Items.
  2. Map the result URLs from the Web Search step into the loop values.

Fetch Each Result

  1. Inside the loop, add a MrScraper action and select Scrape Markdown.
  2. Map the current loop URL into url.

Save the Results

  1. Add a Google Sheets action and select Create Spreadsheet Row.
  2. Map the page content and URL into the sheet's columns.

Token Usage Alert

Get notified when your account usage runs high.

Check the Account Daily

  1. Add a Schedule by Zapier trigger that runs every day.
  2. Add a MrScraper action and select Status.

Filter and Notify

  1. Add a Filter by Zapier step that continues only when token usage passes your threshold.
  2. Add a Slack or Email by Zapier action to send the alert.

On this page