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.
| Action | Description |
|---|---|
| Scrape HTML | Retrieves the raw HTML of a page, optionally with a screenshot. Browser rendering is optional. |
| Scrape Markdown | Retrieves a page as Markdown. Browser rendering is optional. |
| Get Screenshot | Captures a base64 screenshot of the full page or top viewport. Browser rendering is always enabled. |
| Scrape Brand | Extracts a website's colors, typography, logos, and social links as JSON. |
| Scrape JSON | Extracts structured JSON from a page using a natural-language prompt. |
| Web Search | Searches the web and returns ranked results with titles, URLs, descriptions, and sources. |
| Status | Retrieves your MrScraper subscription account status, including plan and usage details. |
Prerequisites
Before you start, make sure you have:
- A MrScraper account and a MrScraper API token.
- A Zapier account.
Integration Steps
Add the MrScraper Action
- Open the Zap editor and set up a trigger for your Zap.
- Click + to add an action step, then search for and select MrScraper.
- Choose an Action event, such as Scrape Markdown, Scrape JSON, or Web Search.
Connect Your MrScraper Account
- Under Account, click Sign in to add a new connection.
- Complete the connection with your MrScraper account credentials, such as your MrScraper API token.
- 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
- Click Test step to run the action once and inspect the output.
- 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.
| Field | Actions | Description |
|---|---|---|
url | All | Absolute HTTP or HTTPS URL of the page. Required. |
geoCode | All | Two-letter country code for the request, such as us. See Country Codes. |
maxAge | All | Returns a cached result of the same request if it is newer than this many milliseconds. 0 always fetches a fresh page. |
timeout | All | Page timeout in seconds. |
waitForSelector | All | CSS selector to wait for before returning the page. Requires browser rendering. |
maxRetries | All | Maximum number of retries. 0 disables retries. |
browserRendering | HTML, Markdown, JSON | true forces browser rendering and false disables it. Leave empty to let the service decide. |
warmStart | HTML, Markdown, JSON | Visits the site's home page before the target URL. |
blockResources | HTML, Markdown, JSON | Blocks images, CSS, and fonts. |
screenshot | HTML, Screenshot, JSON | Captures 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.
| Field | Required | Description |
|---|---|---|
prompt | No | What to extract, such as Extract each product's title and price. Append Json Schema: and a JSON schema to shape the output. |
html | No | Includes the page HTML in the response. |
Web Search
Searches the web when you don't have a target URL yet.
| Field | Required | Description |
|---|---|---|
query | Yes | Search text. |
country | No | Two-letter country code for the results, such as gb. |
numResults | No | Number 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
- Add a Schedule by Zapier trigger.
- Choose the interval, such as every hour, day, or week.
Fetch the Page
- Add a MrScraper action and select Scrape Markdown, or Scrape JSON if you want specific fields such as a price.
- Enter the page
url, and for Scrape JSON, describe the fields inprompt.
Save to Google Sheets
- Add a Google Sheets action and select Create Spreadsheet Row.
- 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
- Add a trigger, such as a new Google Sheets row that contains a search term.
- Add a MrScraper action, select Web Search, and map the search term into
query.
Loop Through the Results
- Add a Looping by Zapier action and select Create Loop From Line Items.
- Map the result URLs from the Web Search step into the loop values.
Fetch Each Result
- Inside the loop, add a MrScraper action and select Scrape Markdown.
- Map the current loop URL into
url.
Save the Results
- Add a Google Sheets action and select Create Spreadsheet Row.
- 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
- Add a Schedule by Zapier trigger that runs every day.
- Add a MrScraper action and select Status.
Filter and Notify
- Add a Filter by Zapier step that continues only when token usage passes your threshold.
- Add a Slack or Email by Zapier action to send the alert.
Webhook
Learn how to use webhooks to send an HTTP request to your own API whenever a MrScraper scrape starts, completes, or fails, and what each payload holds.
ClawHub
Add MrScraper to OpenClaw from ClawHub: a plugin with 13 native tools plus web_search and web_fetch providers, and a skill for direct API use.