extract_data
Extract structured data from any web page using multiple modes like regex, JSON, meta, and links. Choose the method that matches your data format.
Instructions
Extract structured data from the current page in multiple modes: regex, json, meta, structured, auto, apiDiscovery, parse (string conversion), transform (data format conversion), or links (all links including nested iframes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | auto | |
| flags | No | Regex flags | gi |
| types | No | For meta mode: which tag groups to include (all, meta, og, twitter) | |
| source | No | all | |
| pattern | No | For regex mode: the regular expression pattern | |
| jsonPath | No | For json mode: JSONPath expression | |
| selector | No | For structured/links mode: CSS selector to scope the extraction | |
| inputData | No | For transform mode: the string to convert | |
| keyOffset | No | For transform mode: offset value (optional) | |
| autoDecode | No | Automatically process Base64 or percent-encoded values in results | |
| transformKey | No | For transform mode: optional conversion parameter | |
| autoDetectKey | No | For transform mode: locate the conversion parameter from page scripts automatically | |
| includeHidden | No | For links mode: include hidden/non-visible links | |
| searchIframes | No | For links mode: search inside embedded frames |