scrape_page
Extract raw storefront data without AI: product catalogs, facets, page metadata, dataLayer events, and platform fingerprinting via network response interception.
Instructions
[DEPRECATED — use acquire instead] Extract raw structured data from any storefront URL without running AI analysis. Returns product catalog (title, price, stock, CTA, description, B2B/B2C signals), facets/filters, page metadata, performance timing, data layer contents, and interactable elements. Also intercepts XHR/fetch network responses to fingerprint the commerce platform (Algolia, Elasticsearch, SFCC, Shopify, etc.), extract structured product and facet data directly from APIs when confidence is high, and parse dataLayer/digitalData ecommerce events (GA4, GTM, Adobe, Segment). Results are cached for 10 minutes — calling audit_storefront or ask_page on the same URL afterward will reuse this data. Session cookies are managed automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full http/https URL to scrape. | |
| depth | No | Pages of pagination to follow (1 = current page only, max 5). Default: 1. | |
| max_products | No | Max products to extract per page. Default: 10. | |
| include_pagespeed | No | Fetch real Core Web Vitals from PageSpeed Insights API (adds ~5s). Default: false. | |
| mobile_screenshot | No | Also capture a 390×844 (iPhone 14) mobile viewport screenshot. Returned as a second image. Default: false. | |
| include_screenshot | No | Set true to include a base64 JPEG screenshot. Default: false. |