Serper.dev icon

Serper.dev

Search Google using Serper.dev

Scraper → Webpage

AI-generated

Summary

Scrape the content of a webpage given its URL, optionally including a markdown-formatted version in the response.

Inputs

  • Webpage URL (required) — The URL of the webpage to scrape.
  • Include Markdown — Whether to include markdown output in the response.

Output shape

a JSON object representing the scraped webpage content, optionally containing markdown formatted text if requested

The response JSON structure depends on the scraped webpage and the 'Include Markdown' option. Each input item produces one output item with the scraped data.

Examples

Example 1: Scrape a webpage without markdown

Set 'Webpage URL' to the target URL and 'Include Markdown' to false (default). The output will include the scraped content in JSON format without markdown.

Example 2: Scrape a webpage with markdown output

Set 'Webpage URL' to the target URL and enable 'Include Markdown'. The response JSON will include the scraped content plus a markdown representation.

Links

Discussion