Firecrawl Interact
firecrawl_interactInteract with a previously scraped page in a live browser session.
How it works ↓Pricing
Per call
$0.03
Model
flat
Pay only for what you use. No subscriptions.
Inputs
language
stringcode
stringscrapeId *
stringprompt
stringtimeout
numberInput Parameters
Cost per run
Execution cost$0.03
About Firecrawl Interact
Interact with a previously scraped page in a live browser session. Scrape a page first with firecrawl_scrape, then use the returned scrapeId to click buttons, fill forms, extract dynamic content, or navigate deeper.
Best for: Multi-step workflows on a single page — searching a site, clicking through results, filling forms, extracting data that requires interaction. Requires: A scrapeId from a previous firecrawl_scrape call (found in the metadata of the scrape response).
Arguments:
- scrapeId: The scrape job ID from a previous scrape (required)
- prompt: Natural language instruction describing the action to take (use this OR code)
- code: Code to execute in the browser session (use this OR prompt)
- language: "bash", "python", or "node" (optional, defaults to "node", only used with code)
- timeout: Execution timeout in seconds, 1-300 (optional, defaults to 30)
Usage Example (prompt):
{
"name": "firecrawl_interact",
"arguments": {
"scrapeId": "scrape-id-from-previous-scrape",
"prompt": "Click on the first product and tell me its price"
}
}
Usage Example (code):
{
"name": "firecrawl_interact",
"arguments": {
"scrapeId": "scrape-id-from-previous-scrape",
"code": "agent-browser click @e5",
"language": "bash"
}
}
Returns: Execution result including output, stdout, stderr, exit code, and live view URLs.
Frequently Asked Questions
Interact with a previously scraped page in a live browser session. Scrape a page first with firecrawl_scrape, then use the returned scrapeId to click buttons, fill forms, extract dynamic content, or navigate deeper. **Best for:** Multi-step workflows on a single page — searching a site, clicking through results, filling forms, extracting data that requires interaction. **Requires:** A scrapeId from a previous firecrawl_scrape call (found in the metadata of the scrape response). **Arguments:** - scrapeId: The scrape job ID from a previous scrape (required) - prompt: Natural language instruction describing the action to take (use this OR code) - code: Code to execute in the browser session (use this OR prompt) - language: "bash", "python", or "node" (optional, defaults to "node", only used with code) - timeout: Execution timeout in seconds, 1-300 (optional, defaults to 30) **Usage Example (prompt):** ```json { "name": "firecrawl_interact", "arguments": { "scrapeId": "scrape-id-from-previous-scrape", "prompt": "Click on the first product and tell me its price" } } ``` **Usage Example (code):** ```json { "name": "firecrawl_interact", "arguments": { "scrapeId": "scrape-id-from-previous-scrape", "code": "agent-browser click @e5", "language": "bash" } } ``` **Returns:** Execution result including output, stdout, stderr, exit code, and live view URLs.
Firecrawl Interact costs $0.03 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the Firecrawl MCP endpoint to your client — Claude Code: claude mcp add --transport http firecrawl "https://firecrawl.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see firecrawl_interact as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath firecrawl/firecrawl_interact.)
Yes — that's exactly what xpay is for. You don't need a Firecrawl account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Firecrawl Interact immediately. Billing flows through your xpay balance.
Firecrawl Interact accepts 5 input parameters: language, code, scrapeId, prompt, timeout. See the input schema and runnable form on this page for details and to test live.

