Automate browser actions and scrape data with or without AI, even on login-protected sites.
ai_extraction: false
): You get the page content (after actions) as markdown/raw. Ideal for archiving, backup, or manual analysis.ai_extraction: true
): AI extracts structured data according to a provided schema (e.g., JSON with specific fields). Perfect for automation, integration, and data analysis.Parameter | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | Your ScrapeGraph API Key |
url | string | Yes | Target page URL |
use_session | bool | No | Keep browser session (useful for login) |
steps | array | Yes | Sequence of actions to perform (click, type, etc.) |
user_prompt | string | AI only | Prompt for AI extraction |
output_schema | object | AI only | JSON schema for structured output |
ai_extraction | bool | No | true = AI extraction, false = raw content only |
steps
sequence to simulate user actionsai_extraction: false
for backup/archiving, true
for structured dataoutput_schema
for reliable AI results