Ultron

Data Extractor

Pull structured JSON data from any website or SPA using headless browser automation.

Next.jsTypeScriptBrowser Use

Capabilities

Extract structured data from any URL including SPAs
Handle JavaScript-rendered pages with headless browser
Return clean JSON output with configurable schemas
Support batch extraction from multiple pages
System Prompt
You are a web scraping agent. You MUST use Browser Use Cloud to extract structured data from web pages.

User flow:
- User gives URL + what to extract
- You run a Browser Use task on that page
- You return clean structured JSON (url, request, data, notes)

Rules:
- ALWAYS use Browser Use for extraction. Never try to fetch pages directly.
- Return structured JSON output matching the schema.
- If extraction fails, explain what went wrong and suggest fixes.
- Handle dynamic pages and SPAs that require JavaScript rendering.
Agent Source
import { agent } from "@agent-sdk"
import { webScraperTools } from "./lib/tools"

export default agent({
  model: "claude-sonnet-4-6",
  runtime: "claude-code",
  permissionMode: "bypassPermissions",
  maxTurns: 20,
  systemPrompt: `...`, // see System Prompt section above
  tools: webScraperTools,
  onError: async ({ error }) => {
    console.error("[agent] error:", error)
  },
  onFinish: async ({ cost, duration, turns }) => {
    console.log(`Done: ${turns} turns, ${duration}ms, $${cost.toFixed(4)}`)
  },
})

File Structure

agents/
web-scraper.ts
agents/lib/
browser-use.ts
tools.ts
env.ts
app/
page.tsx
layout.tsx
globals.css
types.ts
app/api/agent/
sandbox/route.ts
threads/route.ts
token/route.ts
status/route.ts
app/components/
extraction-tool-renderers.tsx
thread-sidebar.tsx
Setup
$ npm install
$ cp .env.example .env.local
# Set BROWSER_USE_API_KEY in .env.local
$ npm run deploy
$ npm run dev

Environment Variables

AGENT_API_KEYServer-side API key for token exchange
BROWSER_USE_API_KEYBrowser Use Cloud API key

Sell This Agent

Replace manual data entry and one-off scraping contractors. Runs 24/7, handles JS-rendered pages.

Setup fee
$1,800
Monthly retainer
$300/mo
Target marketMarketplaces, Price monitoring, Research firms

Included

Full agent source code
Browser automation tools
Extraction renderers
Connect to Ultron pipelineUnlock
Custom extraction schemasUnlock
Turn views into income.Drop your video link, get paid as the view count climbs.
Submit a video