Blocks
Stagehand Extract
Extract data from websites
Use Stagehand to extract structured data from webpages using Browserbase and OpenAI.
Toolsstagehand
Block Preview
Stagehand Extract
Extract data from websites
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the stagehand block with monitoring enabled in production.
Inputs (UI)
URL
short-inputPlaceholder: Enter the URL of the website to extract data from
Layout: full
Instruction
long-inputPlaceholder: Enter detailed instructions for what data to extract from the page...
Layout: full
OpenAI API Key
short-inputPlaceholder: Enter your OpenAI API key
Layout: full
Schema
codePlaceholder: Enter JSON Schema...
Layout: full
Inputs (API)
url
stringRequired
instruction
stringRequired
schema
jsonRequired
apiKey
stringRequired
Outputs
Primary response type:
{
"data": "json"
}Tool Access
stagehand_extract