# Web Fetch (`neuro-scraper/web-fetch`) Actor

Web Fetch SD - Web Fetch is a URL fetching tool that extracts clean Markdown, text, cleaned or raw HTML, links and page metadata (Open Graph, JSON-LD, canonical) from any URL, with redirects, status and timing; optional browser rendering and PDF text.

- **URL**: https://apify.com/neuro-scraper/web-fetch.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Web Fetch — any URL to Markdown, text, HTML, links and metadata

The Web Fetch collects public Web fetch data and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the Web Fetch your input, start it and get structured Web data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

Web Fetch downloads the URLs you give it and returns, per URL: clean **Markdown**, plain text, cleaned HTML, the raw HTML, every link (internal / external, nofollow), page **metadata** (title, description, canonical, language, robots, author, dates, Open Graph, Twitter card, hreflang, feeds, favicon, parsed JSON-LD) and fetch details (final URL, status code, redirect chain, content type, size, response time, anti-bot detection).

HTTP by default (fast, light). Optional headless Chromium: **auto** renders only pages that look JavaScript-built, **browser** renders every page. PDFs return their text; JSON, XML and text files are returned as text.

#### Input

| Field | Type | Default | Meaning |
|---|---|---|---|
| `startUrls` | URL list | Wikipedia + python.org (prefill) | URLs to fetch |
| `includeMarkdown` / `includeText` / `includeCleanHtml` / `includeRawHtml` | booleans | true / false / false / false | Content formats |
| `includeLinks` / `includeMetadata` / `includeResponseHeaders` | booleans | true / true / false | Extra data |
| `onlyMainContent` | boolean | true | Main content only (menus, footers, banners removed) or the whole page |
| `keepMarkdownLinks` | boolean | false | Keep `[text](url)` links in Markdown |
| `renderingMode` | select | `http` | `http`, `auto` (browser only when needed), `browser` (always) |
| `renderWaitSecs` | integer | 2 | Extra wait for late JavaScript (browser only) |
| `respectRobotsTxt` | boolean | true | Skip URLs disallowed by robots.txt |
| `requestTimeoutSecs` | integer | 30 | Timeout per URL |
| `includeFailedUrls` | boolean | false | Add a row with `error` for URLs that could not be fetched |
| `maxItems` | integer | 100 | Max URLs per run |
| `proxyConfiguration` | proxy | Apify datacenter | RESIDENTIAL for sites that block datacenter IPs |

#### Output (one row per URL)

| Field | Meaning |
|---|---|
| `url`, `finalUrl`, `statusCode`, `redirectChain` | Requested URL, where it ended, status, every redirect hop (`redirectChain` is empty when the URL does not redirect - 21 of our 22 test URLs) |
| `contentType`, `sizeBytes`, `responseTimeMs`, `fetchedWith` | Response details; `http` or `browser` |
| `blockedBy` | Anti-bot page detected (e.g. `cloudflare-challenge`, `datadome`) or null - null on all 22 URLs of our 2026-11-21 test because none showed an anti-bot page |
| `title`, `markdown`, `text`, `html`, `rawHtml` | Content (the formats you chose) |
| `links` | `[{url, text, type: internal/external, nofollow}]` |
| `metadata` | Page metadata (or `pdf` page count + PDF info for PDFs) |
| `responseHeaders` | Final response headers (optional) |
| `wordCount`, `fetchedAt` | Words in the content; ISO time |

#### Measured (2026-10-03, see TEST_REPORT.md)

- Wikipedia article (236 KB) -> 4,202 words of Markdown; arXiv PDF (2.2 MB, 15 pages) -> 6,443 words of text.
- JavaScript page quotes.toscrape.com/js/: 4 words over HTTP, 208 words in `auto` mode (rendered in 8.7 s).

#### Limits

- Browser rendering is slower (about 4–9 s per page) and needs more memory (use 2 GB+); it never solves CAPTCHAs.
- Other binary files (images, archives) return fetch details only. No login or cookies.
- Private-network and metadata addresses are refused.

#### Example

```json
{"startUrls": [{"url": "https://quotes.toscrape.com/js/"}], "renderingMode": "auto", "includeText": true}
```

#### Which columns can be empty in Web Fetch

Measured on our 22-URL test run (2026-11-21):

- `blockedBy` - empty on all 22 rows: it names the anti-bot vendor only when a URL answers with a challenge page; none of the 22 test URLs did, so empty means the page content was fetched normally.
- `redirectChain` - empty on 21 of 22 rows: it lists the redirect hops only when a URL redirects; 21 test URLs answered directly.

### Why use the Web Fetch

The Web Fetch is a Web scraper and Web data extractor for anyone who needs public Web fetch data as clean data. The Web Fetch handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the Web Fetch for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the Web Fetch runs on Apify with one click or one API call.
- Pay per result: the Web Fetch charges only for rows delivered - no monthly Web API fee.
- Complete fields: the Web Fetch returns every public field, with a stable schema for automation.
- Integrations: connect the Web Fetch to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### Web Fetch use cases

- Market research: the Web Fetch collects Web fetch data at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the Web Fetch on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the Web Fetch gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the Web Fetch keeps a fresh copy of Web data through an Apify schedule and a webhook.
- Analytics and dashboards: send the Web Fetch output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the Web Fetch returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the Web Fetch turns public Web data into a dataset you can diff run by run.
- Automation workflows: connect the Web Fetch to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the Web Fetch from the Apify Console, or call it from code. The Web Fetch returns its dataset as JSON, CSV or Excel. With the Apify API you can run the Web Fetch from Python or Node.js, wait for it to finish and read the rows, which makes the Web Fetch easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the Web Fetch on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the Web Fetch. Follow the run log while the Web Fetch collects public Web data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the Web Fetch to keep your Web data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the Web Fetch with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller Web Fetch runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each Web Fetch run adds to your Web data over time.
- Filter early: use the input filters of the Web Fetch so you only pay for the Web fetch data you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every Web Fetch result straight to Google Sheets, a CRM or a database.
- Watch the run log: the Web Fetch writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### Web Fetch FAQ

#### Do you offer custom scrapers?

Yes. If you need a field or a filter the Web Fetch does not have yet, contact Neuro Scraper through the Apify Store page and we can extend the Web Fetch for you.

#### Can I export the results to Excel, CSV or Google Sheets?

Yes. Every Web Fetch run stores a dataset you can export as CSV, JSON, Excel (XLSX), XML or HTML, or send to Google Sheets with the Apify integration.

#### What does this Web scraper do?

The Web Fetch collects public Web fetch data and returns it as a structured dataset. It is web scraping without code: you set the input, start the Web Fetch and download JSON, CSV, Excel or XLSX.

#### How much does it cost?

The Web Fetch is pay per result: you pay only for the rows you receive, with lower prices on higher Apify plans. You can cap the cost of every run with the maximum cost setting.

#### What happens if a run is interrupted?

The Web Fetch saves its progress, so a resurrected or restarted run continues where it stopped instead of paying for the same rows again.

#### Which formats can I download?

The Web Fetch dataset downloads as JSON, CSV, Excel (XLSX), XML, RSS or an HTML table, and the Apify API returns the same Web Fetch data page by page.

#### Can I use it through the API?

Yes. Start the Web Fetch and read its dataset through the Apify API from Python, Node.js or any HTTP client, or call it from Zapier, Make and n8n.

#### Can it replace the official Web API?

For public data, yes. The Web Fetch gives you Web data through the Apify API without an official Web API key, quota approval or developer account.

#### How fast is it?

The Web Fetch runs requests in parallel and rotates proxy sessions automatically, so a typical run of a few hundred items finishes in minutes.

#### Why is a field empty in my results?

The Web Fetch fills every field Web publishes for that item. When Web does not show a value - for example a figure the owner hid - the field stays empty rather than being guessed.

#### Can I send the data to my CRM?

Yes. Push Web Fetch rows to HubSpot, Salesforce, Pipedrive or any CRM through Zapier, Make or a webhook - a common setup for an agency or B2B sales team.

#### How is this different from other Web scrapers?

The Web Fetch combines complete public fields, no login, pay-per-result pricing and a stable output schema, so the Web Fetch fits both quick one-off exports and long-running automation.

#### Can I run it for many inputs at once?

Yes. Give the Web Fetch a list of inputs in one run; each row says which input it came from, so one Web Fetch run can cover a whole list.

#### Can I schedule it?

Yes. Apify schedules run the Web Fetch hourly, daily or weekly, and a webhook can notify your system when new Web data is ready.

#### What is the best Web scraper for fetch data?

The Web Fetch is built for exactly this job: public Web fetch data, complete fields, no login, pay per result and a clean export to JSON, CSV or Excel.

#### How do I get more results?

Raise the maximum items, add more inputs (keywords, URLs or profiles), or run the Web Fetch several times on a schedule. Results are de-duplicated.

#### Do I need a Web account or login?

No. The Web Fetch works with no login and no cookies. It reads only public data, the same data any visitor can see.

#### Does it work with proxies?

Yes. The Web Fetch uses Apify Proxy by default and you can pick the proxy group or country in the input.

#### Is it legal to scrape Web?

The Web Fetch collects only publicly available data. If results contain personal data, process it under GDPR or the rules that apply to you, and only for a legitimate purpose.

### Get started

Open the Web Fetch, paste your input and press Start. In a few minutes the Web Fetch hands you clean Web data as JSON, CSV or Excel, ready for analytics, monitoring, research or your CRM. Questions or a missing field? Write to us from the Web Fetch page on Apify - we answer fast and add features users ask for.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-keyword-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Scraper Advanced](https://apify.com/neuro-scraper/facebook-reels-scraper-advanced) | Facebook reels  advanced data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Downloader](https://apify.com/neuro-scraper/facebook-reels-downloader) | Facebook reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Search Scraper](https://apify.com/neuro-scraper/instagram-video-scraper-advanced) | Instagram search data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Video Details Scraper](https://apify.com/neuro-scraper/tiktok-video-details-scraper) | TikTok video details with all public fields, exported to JSON, CSV or Excel |
| [Instagram Hashtag Scraper](https://apify.com/neuro-scraper/instagram-reeel-scraper) | Instagram hashtag data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Profile Scraper](https://apify.com/neuro-scraper/tiktok-profile-scraper) | TikTok profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Best Sellers Scraper](https://apify.com/neuro-scraper/amazon-per-result-scraper) | Amazon best sellers with all public fields, exported to JSON, CSV or Excel |
| [Facebook Photos Scraper](https://apify.com/neuro-scraper/facebook-photo-posts-scraper) | Facebook photos with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

## `startUrls` (type: `array`):

Pages to fetch, e.g. https://en.wikipedia.org/wiki/Web_scraping. HTML pages, PDFs, JSON, XML and text files are accepted.

## `includeMarkdown` (type: `boolean`):

Page content as Markdown in 'markdown'.

## `includeText` (type: `boolean`):

Page content as plain text in 'text'.

## `includeCleanHtml` (type: `boolean`):

Page content as cleaned HTML in 'html' (no scripts, styles; main content only when 'Main content only' is on).

## `includeRawHtml` (type: `boolean`):

The HTML exactly as received (or as rendered by the browser) in 'rawHtml'.

## `includeLinks` (type: `boolean`):

Every distinct link on the page with its text, internal/external type and nofollow flag.

## `includeMetadata` (type: `boolean`):

Title, description, canonical URL, language, robots, author, dates, Open Graph, Twitter card, hreflang, feeds, favicon and parsed JSON-LD.

## `includeResponseHeaders` (type: `boolean`):

The HTTP response headers of the final response.

## `onlyMainContent` (type: `boolean`):

On: Markdown/text/HTML hold the main content (menus, footers, cookie banners removed). Off: the whole page body.

## `keepMarkdownLinks` (type: `boolean`):

Keep hyperlinks as [text](url) inside the Markdown.

## `renderingMode` (type: `string`):

'HTTP only' (default, fastest). 'Auto' renders a page in a headless browser only when the HTTP answer looks JavaScript-built or is an automatic browser check. 'Always browser' renders every page (slower, more memory - use 2 GB or more).

## `renderWaitSecs` (type: `integer`):

Browser rendering only: extra time for late JavaScript content after the page and network went idle.

## `respectRobotsTxt` (type: `boolean`):

Skip URLs that the site's robots.txt disallows.

## `requestTimeoutSecs` (type: `integer`):

Maximum time for one request or one browser page load.

## `includeFailedUrls` (type: `boolean`):

Also save a row (with 'error') for URLs that could not be fetched at all (DNS error, timeout, robots.txt). HTTP error pages such as 404 are always saved with their status code.

## `maxItems` (type: `integer`):

Maximum number of URLs fetched in this run.

## `proxyConfiguration` (type: `object`):

Apify Proxy (datacenter by default). Choose RESIDENTIAL for sites that block datacenter IPs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://en.wikipedia.org/wiki/Web_scraping"
    },
    {
      "url": "https://www.python.org/about/"
    }
  ],
  "includeMarkdown": true,
  "includeText": false,
  "includeCleanHtml": false,
  "includeRawHtml": false,
  "includeLinks": true,
  "includeMetadata": true,
  "includeResponseHeaders": false,
  "onlyMainContent": true,
  "keepMarkdownLinks": false,
  "renderingMode": "http",
  "renderWaitSecs": 2,
  "respectRobotsTxt": true,
  "requestTimeoutSecs": 30,
  "includeFailedUrls": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://en.wikipedia.org/wiki/Web_scraping"
        },
        {
            "url": "https://www.python.org/about/"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/web-fetch").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [
        { "url": "https://en.wikipedia.org/wiki/Web_scraping" },
        { "url": "https://www.python.org/about/" },
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/web-fetch").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://en.wikipedia.org/wiki/Web_scraping"
    },
    {
      "url": "https://www.python.org/about/"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call neuro-scraper/web-fetch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/web-fetch"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6B7EqWP1STh6dB5w9/builds/MDpeYrJo5LK9kdNyz/openapi.json
