Skip to main content
Enable formats.parse and provide parseParams.rules. The result is in parsed.data. Use this when you know the page structure; use JSON extraction when you need to interpret page text.

Extract fields

Send this body to POST /web/scrape. See the Quickstart for authentication and SDK setup.
Abridged response:

Rule grammar

Extract a list of cards

Missing items are null; unmatched lists are []. Attribute values are returned as written, so resolve relative links against the response url.

Limits and page state

Provide at least one rule. Rules allow up to 100 fields, five nesting levels, and selectors up to 2,048 characters. XPath is unsupported; invalid selectors return 400. Rules run on HTML after content filtering. Cached HTML can be reused; set maxAgeMs: 0 for fresh values. Browser actions can change the page before extraction.