# MrScraper Docs ## Agent APIs - [x402 OpenAPI specification (Circle Gateway)](https://docs.mrscraper.com/x402/circle/openapi.json): Six GET tools (scrape-html, scrape-markdown, get-screenshot, scrape-brand, scrape-json, web-search) with query parameters, request and response schemas, examples, payment headers, and USDC pricing through Circle Gateway. - [x402 OpenAPI specification (Agentic Market)](https://docs.mrscraper.com/x402/agentic-market/openapi.json): The same six GET tools, paid in USDC on Base through the Coinbase CDP facilitator, with an optional async job mode for clients with short HTTP deadlines. - [x402 OpenAPI specification (Inflowpay)](https://docs.mrscraper.com/x402/inflowpay/openapi.json): Six GET tools (scrape-html, scrape-markdown, get-screenshot, scrape-brand, scrape-json, web-search) with query parameters, response schemas, and USDC pricing, paid per request through x402 and settled by the InFlow facilitator. ## api - [Authentication](https://docs.mrscraper.com/docs/api/authentication): Learn how to authenticate requests to the MrScraper API using API tokens and request headers. - [Error Handling](https://docs.mrscraper.com/docs/api/error-handling): Learn how the MrScraper API reports errors, including common error codes, response formats, and best practices for handling them in your app. - [API Overview](https://docs.mrscraper.com/docs/api/overview): Comprehensive documentation for MrScraper's API endpoints, including authentication, pagination, error handling, and scraper management. - [Pagination](https://docs.mrscraper.com/docs/api/pagination): Understand how pagination works in the MrScraper API, including parameters for controlling page size and navigating through large datasets. - [Response Headers](https://docs.mrscraper.com/docs/api/response-headers): Learn how to monitor token usage, bandwidth usage, execution runtime, and target HTTP status codes returned in API response headers. - [Get Screenshot](https://docs.mrscraper.com/docs/api/scraper-api/get-screenshot): Capture full-page or viewport screenshots of dynamic, JavaScript-rendered pages with the Get Screenshot endpoint, with real browser rendering enabled by default. - [Scrape HTML](https://docs.mrscraper.com/docs/api/scraper-api/scrape-html): Retrieve the raw HTML of any webpage with the Scrape HTML endpoint, supporting browser rendering, geo-targeting, and waiting for DOM selectors. - [Scrape JSON](https://docs.mrscraper.com/docs/api/scraper-api/scrape-json): Extract structured, strongly-typed JSON from a single page with the Scrape JSON endpoint, using a natural language prompt instead of CSS selectors or XPath. - [Scrape Markdown](https://docs.mrscraper.com/docs/api/scraper-api/scrape-markdown): Convert any web page into clean, LLM-friendly Markdown with the Scrape Markdown endpoint, stripping navigation, scripts, and ads for token-efficient AI input. - [Web Search](https://docs.mrscraper.com/docs/api/web-search/web-search): Run a search query with the Web Search endpoint and get ranked results with titles, URLs, descriptions, and sources, without scraping the results page yourself. - [Get Brand](https://docs.mrscraper.com/docs/api/scraper-api/scrape-brand/get-brand): Read a brand you already scraped with the Get Brand endpoint, or download its HTML, screenshots, and ZIP page bundle by job ID. - [Scrape Brand](https://docs.mrscraper.com/docs/api/scraper-api/scrape-brand/scrape-brand): Extract a website's colors, typography, logos, icons, social links, and metadata with the Scrape Brand endpoint, with an optional HTML, screenshot, and ZIP page bundle. - [Get Proxy Requests Bandwidth](https://docs.mrscraper.com/docs/api/v3/analytic/proxy): Retrieve total proxy bandwidth usage aggregated per proxy username within a given date range using the MrScraper API. - [Get Analytic Statuses](https://docs.mrscraper.com/docs/api/v3/analytic/status): Retrieve scrape status counts for a domain within a date range using the MrScraper API, with optional action and API token name filters. - [Cancel One Bulk Result by Result ID](https://docs.mrscraper.com/docs/api/v3/bulk/cancel-bulk-by-result-id): Cancel a running bulk scraping job using the bulk result ID returned from the bulk rerun response, with the MrScraper API. - [Cancel All Bulk Results by Scraper ID](https://docs.mrscraper.com/docs/api/v3/bulk/cancel-bulk-by-scraper-id): Cancel the remaining pending URLs of a running bulk scraping job by scraper ID, using a single PATCH request to the MrScraper API endpoint. - [Verify API Token](https://docs.mrscraper.com/docs/api/v3/authentication/verify-token): Verify your API token and retrieve subscription account information, including token usage, limits, and billing details, with the MrScraper API. - [Get All Results](https://docs.mrscraper.com/docs/api/v3/result/all): Retrieve all scraping results with data, status, token usage, and file paths using the MrScraper API, with sorting, filtering, and date ranges. - [Get a Detailed Result](https://docs.mrscraper.com/docs/api/v3/result/detail): Retrieve detailed information for a single scraping result by its unique identifier with the MrScraper API, including data, status, and token usage. - [AI Scraper Response](https://docs.mrscraper.com/docs/api/v3/scraper/ai-response): Learn the response structure of the AI Scraper API, from the standard wrapper to the agent-specific data field, and how to interpret the results. - [Self-Heal a Workflow](https://docs.mrscraper.com/docs/api/v3/workflow/workflow-heal): Ask AI to repair a Workflow workflow with the MrScraper API when a target website changes its markup and the scraper returns empty data. - [Bulk Rerun Workflow](https://docs.mrscraper.com/docs/api/v3/workflow/workflow-rerun-bulk): Run a Workflow across multiple URLs at once with the MrScraper API, then poll the bulkResultId for the asynchronous results. - [Rerun a Workflow](https://docs.mrscraper.com/docs/api/v3/workflow/workflow-rerun): Rerun an existing Workflow by scraperId and url with the MrScraper API, reusing cached results to cut token usage and runtime. - [Create and Run AI Scraper](https://docs.mrscraper.com/docs/api/v3/scraper/ai/ai-init): Create and run a new AI Scraper from natural language instructions using the MrScraper API, then save the scraperId to rerun it later. - [Bulk Rerun AI Scraper](https://docs.mrscraper.com/docs/api/v3/scraper/ai/ai-rerun-bulk): Run an AI Scraper across multiple URLs at once with the MrScraper API, then poll the bulkResultId for merged data and per-URL status. - [Rerun an AI Scraper](https://docs.mrscraper.com/docs/api/v3/scraper/ai/ai-rerun): Rerun an existing AI Scraper by scraperId and url with the MrScraper API, reusing cached results to cut token usage and execution time. ## features - [Workflow API Access](https://docs.mrscraper.com/docs/features/activating-api): Learn how to run any scraper you have created through a MrScraper API endpoint, so you can automate scraping or integrate it into your application. - [Cookie](https://docs.mrscraper.com/docs/features/cookie): Learn how to add your own cookies to a MrScraper scraper so it can reach content that is restricted, personalized, or behind a login session. - [Marketplace](https://docs.mrscraper.com/docs/features/marketplace): Discover ready-to-use MrScraper scrapers for popular platforms, runnable directly from the dashboard or in your applications using pre-built request snippets. - [Proxy](https://docs.mrscraper.com/docs/features/proxy): Configure proxy routing on your individual scrapers to retrieve region-specific content and improve scraping reliability. - [S3 Storage](https://docs.mrscraper.com/docs/features/s3-storage): Learn how to save MrScraper results to an S3 bucket, keep a durable copy of every file, and return a signed URL instead of a large response. - [Schedule](https://docs.mrscraper.com/docs/features/schedule): Learn how to schedule scrapers to run at set times or intervals, keeping data fresh for price monitoring, news aggregation, and off-peak runs. - [Scraping Tips](https://docs.mrscraper.com/docs/features/scrape-html): Get reliable results from the Scraper API by choosing the right loading path, geo-targeting, waiting, retry, and timeout settings. - [Team](https://docs.mrscraper.com/docs/features/team): Learn how to create a team in MrScraper to share scrapers, results, subscription access, and token usage across your organization. - [General Agent](https://docs.mrscraper.com/docs/features/ai-scraper/general): Use the AI Scraper General Agent to pull structured data from a single page, such as a product, profile, article, or property detail page, with a prompt. - [AI Scraper](https://docs.mrscraper.com/docs/features/ai-scraper): Learn how to use MrScraper's AI Scraper to extract structured data from any web page with just a URL and a prompt, returned as JSON or CSV. - [Listing Agent](https://docs.mrscraper.com/docs/features/ai-scraper/listing): AI-powered scraper that extracts data from listing pages with automated browser navigation for pagination, infinite scroll, and load-more buttons. - [Map Agent](https://docs.mrscraper.com/docs/features/ai-scraper/map): Use the Map Agent to enter one website URL and instantly retrieve every URL on that domain, mapping site structure before a large-scale scrape. - [Workflow](https://docs.mrscraper.com/docs/features/workflow): Step-by-step guide to building custom scraping workflows with the MrScraper workflow builder, from step types to running your first scrape. - [Multiple URLs](https://docs.mrscraper.com/docs/features/workflow/multiple-urls): Run one saved scraper against a list of URLs with the Multiple URLs button, applying the same scraper configuration to an entire uploaded list. - [Self-Healing](https://docs.mrscraper.com/docs/features/workflow/self-healing): Let AI automatically generate, repair, and extend workflows from the dashboard or through the Self-Heal API. - [Super Mode](https://docs.mrscraper.com/docs/features/workflow/super): Learn how to run a Workflow in Super mode, routing requests through a real device for complex websites. - [Templates](https://docs.mrscraper.com/docs/features/workflow/templates): Use JavaScript IIFE templates in the Inject JavaScript step to parse page content, call page APIs, and capture API responses while scrolling. - [Multi-Agent Flow](https://docs.mrscraper.com/docs/features/ai-scraper/multi-agent-flow): Chain the Map, Listing, and General Agents into one workflow to build scalable systems that go from URL discovery to detailed data extraction. - [Two Agents Flow](https://docs.mrscraper.com/docs/features/ai-scraper/multi-agent-flow/list): Learn how to crawl targeted listing pages using the Listing Agent, and collect all product detail pages using the General Agent. - [Three Agents Flow](https://docs.mrscraper.com/docs/features/ai-scraper/multi-agent-flow/single): Learn how to use MrScraper's Multi-Agent Flow starting from a single seed URL to extract comprehensive data using Map, Listing, and General Agents. - [Real-World Use Cases](https://docs.mrscraper.com/docs/features/ai-scraper/multi-agent-flow/use-cases): Explore practical Multi-Agent Flow applications, from scraping a complete e-commerce catalog to gathering comprehensive data across entire websites. ## guides - [Bulk Scraping With Custom Scraper](https://docs.mrscraper.com/docs/guides/custom-scraper-bulk): Run one custom scraper workflow against many URLs in a single bulk submission, then poll the returned submission ID for progress and results. - [E-commerce](https://docs.mrscraper.com/docs/guides/ecommerce): Learn how to scrape product names, prices, ratings, and availability from e-commerce websites with MrScraper, using a TikTok Shop walkthrough. - [Job Listing](https://docs.mrscraper.com/docs/guides/job-listing): Learn how to use MrScraper's AI Scraper to extract job postings from real job boards for hiring analysis, market research, or app development. - [Optimizing Cost](https://docs.mrscraper.com/docs/guides/optimizing-cost): Learn practical strategies to minimize MrScraper costs through scraper mode selection, smart configuration, scheduling, and output management. - [Create and Run a Scraper Programmatically](https://docs.mrscraper.com/docs/guides/programmatically): Learn how to create an AI scraper once in the dashboard and then run it programmatically through the API. Set up once, automate everywhere. - [Real Estate](https://docs.mrscraper.com/docs/guides/real-estate): Learn how to use MrScraper to extract property listings from real estate websites for market analysis, investment research, or property aggregation. - [Sentiment Analysis](https://docs.mrscraper.com/docs/guides/sentiment-analysis): A step-by-step guide to scraping product reviews with MrScraper and running sentiment analysis to understand what customers really think. - [Flight Price](https://docs.mrscraper.com/docs/guides/travel-hospitality): Learn how to use MrScraper to extract flight prices, airlines, and schedules from booking sites for price monitoring and booking analysis. ## getting-started - [Token Plan](https://docs.mrscraper.com/docs/getting-started/api-token): Learn how plan tokens and API tokens work in MrScraper, why token usage varies between runs, and how to create your own API token for authentication. - [Billing](https://docs.mrscraper.com/docs/getting-started/billing): Compare MrScraper subscription plans, understand how token usage and billing cycles work, and choose the right plan for your scraping workload. - [CLI](https://docs.mrscraper.com/docs/getting-started/cli): Install, authenticate, and use the MrScraper CLI to retrieve pages as HTML, Markdown, or screenshots, extract brand details and structured JSON, search the web, and check account status. - [MCP Server](https://docs.mrscraper.com/docs/getting-started/mcp-server): Official MrScraper MCP server for retrieving web pages, web search, and account usage. Connect AI clients or run the open-source server locally. - [Overview](https://docs.mrscraper.com/docs/getting-started/overview): Your all-in-one guide to understanding, configuring, and using the MrScraper platform, from your first scrape to AI agents, integrations, and APIs. - [Quickstart](https://docs.mrscraper.com/docs/getting-started/quickstart): A step-by-step guide to making your first MrScraper API request, scraping a product page with the General AI Agent in just a few minutes. - [Web Search](https://docs.mrscraper.com/docs/getting-started/web-search): Run a search query with MrScraper Web Search and get ranked results with titles, URLs, descriptions, and sources, without scraping the results page yourself. - [Get Screenshot](https://docs.mrscraper.com/docs/getting-started/scraper-api/get-screenshot): Capture full-page or viewport screenshots of dynamic, JavaScript-rendered pages in the Scraper API, with real browser rendering enabled by default. - [Scraper API](https://docs.mrscraper.com/docs/getting-started/scraper-api): Build, test, and validate scraping requests in MrScraper's Scraper API, preview results, and generate production-ready API code without coding. - [Scrape Brand](https://docs.mrscraper.com/docs/getting-started/scraper-api/scrape-brand): Extract a website's brand identity in the Scraper API: colors, typography, logos, icons, social links, and metadata as JSON, with optional HTML, screenshot, and ZIP page bundles. - [Scrape HTML](https://docs.mrscraper.com/docs/getting-started/scraper-api/scrape-html): Fetch complete, unparsed DOM markup in the Scraper API with automatic proxy rotation, and geo-targeting, ready for your own parser. - [Scrape JSON](https://docs.mrscraper.com/docs/getting-started/scraper-api/scrape-json): Extract structured, strongly-typed JSON from single pages with the general agent, using natural language prompts or a JSON schema instead of selectors. - [Scrape Markdown](https://docs.mrscraper.com/docs/getting-started/scraper-api/scrape-markdown): Convert web pages into clean, LLM-friendly Markdown in the Scraper API, stripping navigation, scripts, and ads for token-efficient AI and RAG input. ## integrations - [ClawHub](https://docs.mrscraper.com/docs/integrations/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. - [Dify](https://docs.mrscraper.com/docs/integrations/dify): Connect MrScraper to Dify to scrape pages as HTML, Markdown, screenshots, brand data, or JSON, search the web, and check account status from agents, chatflows, and workflows. - [Email](https://docs.mrscraper.com/docs/integrations/email): Learn how to connect your scraper to email so you receive a notification whenever a MrScraper scrape starts, completes, or fails. - [Hermes Agent](https://docs.mrscraper.com/docs/integrations/hermes): Install the MrScraper plugin for Hermes Agent to scrape pages as HTML, Markdown, screenshots, brand data, or JSON, search the web, and check account status. - [LangChain SDK](https://docs.mrscraper.com/docs/integrations/langchain): Use MrScraper as LangChain tools via the langchain-mrscraper package to retrieve pages as HTML, Markdown, or screenshots, extract brand details and structured JSON, search the web, and check account status from agents. - [Node.js SDK](https://docs.mrscraper.com/docs/integrations/node): Install the official @mrscraper/sdk package to retrieve pages as HTML, Markdown, or screenshots, extract brand details and structured JSON, search the web, and check account status from Node.js. - [Python SDK](https://docs.mrscraper.com/docs/integrations/python): Install and use mrscraper-sdk, the async Python client for the MrScraper API, to retrieve pages as HTML, Markdown, or screenshots, extract brand details and structured JSON, search the web, and check account status. - [Scalekit](https://docs.mrscraper.com/docs/integrations/scalekit): Connect MrScraper MCP through Scalekit AgentKit to give your AI agents per-user web fetching, web search, and account usage tools. - [SQL/Database](https://docs.mrscraper.com/docs/integrations/sql): Learn how to connect your MrScraper scrapers to an external SQL database so scraped data lands in structured tables ready for analysis and reporting. - [Vercel AI SDK](https://docs.mrscraper.com/docs/integrations/vercel-ai-sdk): Give AI SDK agents MrScraper tools: retrieve public pages as Markdown, HTML, or screenshots, search the web, and check account usage with @mrscraper/ai-sdk. - [Webhook](https://docs.mrscraper.com/docs/integrations/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. - [Zapier](https://docs.mrscraper.com/docs/integrations/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. - [Get Your Account Information](https://docs.mrscraper.com/docs/integrations/n8n/account): Learn how to retrieve your MrScraper account information inside n8n with the MrScraper node, and store the returned data in Google Sheets. - [Create a Scraper](https://docs.mrscraper.com/docs/integrations/n8n/create-scraper): Build an n8n workflow that creates a new MrScraper scraper and automatically saves its scraper ID and URL to a new Google Sheets spreadsheet. - [n8n](https://docs.mrscraper.com/docs/integrations/n8n): Learn how to connect MrScraper to n8n, the open-source workflow automation tool, and retrieve pages, extract brand details and structured JSON, search the web, and check account status from your workflows. - [Listing & General Agents](https://docs.mrscraper.com/docs/integrations/n8n/listing-general): Build an n8n workflow that pairs the Listing and General Agents to collect property URLs from search results and scrape details from each one. - [Map & General Agents](https://docs.mrscraper.com/docs/integrations/n8n/map-general): Build an n8n workflow that pairs the MrScraper Map and General Agents to crawl an entire website and extract detailed data from every page. - [Map & Listing & General Agents](https://docs.mrscraper.com/docs/integrations/n8n/map-listing-general): Build an n8n workflow that chains the Map, Listing, and General Agents to discover pages, collect item URLs, and scrape details from every one. - [Agentic Market](https://docs.mrscraper.com/docs/integrations/x402/agentic-market): Let AI agents use six tools to fetch page HTML, Markdown and screenshots, extract brand identity and structured JSON, and search the web, with pay-per-request USDC payments on Base through x402, listed on Agentic.market. - [Circle Gateway](https://docs.mrscraper.com/docs/integrations/x402/circle): Let AI agents fetch web pages as HTML, Markdown or screenshots, extract brands and structured data, and search the web, with pay-per-request USDC payments through Circle Gateway x402. - [x402](https://docs.mrscraper.com/docs/integrations/x402): Let AI agents fetch web pages, extract data and search the web with pay-per-request USDC payments over x402, through Circle Gateway, Agentic Market, or Inflowpay. - [Inflowpay](https://docs.mrscraper.com/docs/integrations/x402/inflowpay): Let AI agents use six tools to fetch page HTML, Markdown and screenshots, extract brand identity and structured JSON, and search the web, with pay-per-request USDC payments through x402, settled by the InFlow facilitator. ## changelog - [v3.4.14](https://docs.mrscraper.com/docs/changelog/2026/v3.4.14): Release notes for version 3.4.14 featuring Agent Setup, Playground Analytics, Scraper Type Filter, and Token Usage Analytics. - [v3.46.0](https://docs.mrscraper.com/docs/changelog/2026/v3.46.0): Release notes for version 3.46.0 featuring Web Search and response caching for the Scraper API. ## residential-proxy - [Authentication](https://docs.mrscraper.com/docs/residential-proxy/configuration/authentication): Learn how Residential Proxy authentication works, how your username pattern sets the proxy configuration, and how to test and troubleshoot it. - [Country Codes](https://docs.mrscraper.com/docs/residential-proxy/configuration/country-codes): Learn how Residential Proxy uses ISO 3166-1 alpha-2 country codes to target specific countries, with popular codes, examples, and best practices. - [Proxy Status Codes](https://docs.mrscraper.com/docs/residential-proxy/configuration/proxy-status): Understand proxy error responses and how to tell whether a request failed at the proxy or at the destination website. - [Proxy Types](https://docs.mrscraper.com/docs/residential-proxy/configuration/proxy-types): Compare Static and Rotating Residential Proxy types, understand HTTP and SOCKS5 protocol support, and learn which one to use for your workload. - [Target Blocklist](https://docs.mrscraper.com/docs/residential-proxy/configuration/target-blocklist): Save Residential Proxy bandwidth by blocking unwanted targets. Learn how to add targets, choose the right patterns, and schedule when blocking starts. - [cURL](https://docs.mrscraper.com/docs/residential-proxy/examples/curl): cURL command-line examples for testing Residential Proxy configurations quickly, covering static sessions, rotation, custom headers, and POST requests. - [Go](https://docs.mrscraper.com/docs/residential-proxy/examples/go): Go code examples for using Residential Proxy with net/http, covering basic requests, proxy rotation, concurrent scraping, retries, and timeouts. - [Node.js](https://docs.mrscraper.com/docs/residential-proxy/examples/nodejs): Node.js code examples for using Residential Proxy with axios, Puppeteer, and native http, covering rotation, parallel sessions, and retries. - [Overview](https://docs.mrscraper.com/docs/residential-proxy/examples/overview): Ready-to-use Residential Proxy code examples across languages and frameworks, with a quick reference, best practices, and common use cases. - [PHP](https://docs.mrscraper.com/docs/residential-proxy/examples/php): PHP code examples for using Residential Proxy with cURL and Guzzle, covering proxy rotation, multiple sessions, retries, and async requests. - [Playwright](https://docs.mrscraper.com/docs/residential-proxy/examples/playwright): Playwright code examples in JavaScript and Python for using Residential Proxy with browser automation, sticky sessions, and parallel contexts. - [Puppeteer](https://docs.mrscraper.com/docs/residential-proxy/examples/puppeteer): Puppeteer code examples for using Residential Proxy with Headless Chrome, sticky sessions, page authentication, and geotargeting. - [Python](https://docs.mrscraper.com/docs/residential-proxy/examples/python): Python code examples for using Residential Proxy with requests, BeautifulSoup, and asyncio, covering rotation, parallel sessions, and retries. - [Ruby](https://docs.mrscraper.com/docs/residential-proxy/examples/ruby): Ruby code examples for using Residential Proxy with Net::HTTP and HTTParty, covering rotation, multiple sessions, retries, and concurrent scraping. - [Selenium](https://docs.mrscraper.com/docs/residential-proxy/examples/selenium): Selenium Python code examples for routing browser traffic through Residential Proxy using selenium-wire and Chrome options. - [Overview](https://docs.mrscraper.com/docs/residential-proxy/getting-started/overview): Your complete guide to MrScraper Residential Proxy: static and rotating configurations, global coverage, endpoints, and common web scraping use cases. - [Proxy Generator](https://docs.mrscraper.com/docs/residential-proxy/getting-started/proxy-generator): Learn how to generate Residential Proxy credentials in the MrScraper dashboard for use in your own scripts, third-party tools, and external apps. - [Proxy Scraper](https://docs.mrscraper.com/docs/residential-proxy/getting-started/proxy-scraper): A standalone scraping service that routes requests through residential proxies, separate from individual scraper configurations. - [Troubleshoot URL Access](https://docs.mrscraper.com/docs/residential-proxy/getting-started/troubleshoot-url-access): Diagnose and fix proxy access issues when a target website blocks or fails to respond to requests through MrScraper's Residential Proxy. - [Verify a Block Manually](https://docs.mrscraper.com/docs/residential-proxy/getting-started/verify-block-manually): Replay a real browsing session through your Residential Proxy to tell whether a block comes from the target website or from the proxy itself.