ScraperAPI icon

ScraperAPI

Official ScraperAPI nodes for n8n

AI Parser → Create a Parser

AI-generated

Summary

Create a ScraperAPI AI parser from a name and one to three example URLs with a consistent page structure. Optionally specify extraction fields; otherwise, let the AI infer them, and configure scraping parameters for the example pages.

Inputs

  • Name (required) — A name to identify the parser.
  • Example URLs (required) — One to three URLs of pages with the same structure. The node filters out blank entries and errors if none or more than three remain.
  • Fields — Optional extraction fields, each with a name, description, data type (string, number, or array), and optional CSS selector. Entries without a name or description are skipped; if no valid fields are supplied, the AI infers them.
  • Scraper Parameters — Optional settings for fetching the example pages: country code, desktop or mobile device, redirect handling, response headers, premium or ultra-premium proxies, JavaScript rendering, 404 retries, and proxy session number. Mobile takes precedence if both device options are enabled. Session numbers are sent only when greater than zero.

Output shape

A single item per input item, containing the full HTTP response details.

Each item's JSON has resource: "aiparser" and response with body, headers, statusCode, and statusMessage. The request creates the parser with a POST to ScraperAPI's AI Parser endpoint and requires ScraperAPI API credentials. With Continue On Fail enabled, errors are returned as { "error": "..." } items.

Links

Discussion