Apify icon

Apify

Access Apify tools for web scraping, data extraction, and automation.

Actor → Web Fetch

AI-generated

Summary

Fetches a URL and returns the selected content formats, with optional request headers. Choose Markdown for LLM-oriented content, or select HTML, links, raw body, or plain text as needed.

Inputs

  • URL (required) — HTTP or HTTPS URL to fetch.
  • Formats — Content formats to return: HTML, links, Markdown, raw body, or plain text. Defaults to Markdown; only selected formats are returned.
  • Headers — Optional JSON object of HTTP header names and values to send with the request. Defaults to no custom headers.
  • Authentication — Choose Apify API key or OAuth2 authentication; defaults to API key.

Output shape

A single item containing the fetched response data.

The returned content fields depend on the selected formats. Raw content is base64-encoded when the response is binary.

Links

Discussion