Loading...
Loading...
Use TinyFish web agent to extract/scrape websites, extract data, and automate browser actions using natural language. Use when you need to extract/scrape data from websites, handle bot-protected sites, or automate web tasks.
npx skill4agent add tinyfish-io/tinyfish-cookbook use-tinyfishtinyfishwhich tinyfish && tinyfish --version || echo "TINYFISH_CLI_NOT_INSTALLED"Install the TinyFish CLI:npm install -g @tiny-fish/cli
tinyfish auth statusYou need a TinyFish API key. Get one at: https://agent.tinyfish.ai/api-keysThen authenticate:Option 1 — CLI login (interactive):tinyfish auth loginOption 2 — Environment variable (CI/CD):export TINYFISH_API_KEY="your-key-here"Option 3 — Claude Code settings: Add to:~/.claude/settings.local.jsonjson{ "env": { "TINYFISH_API_KEY": "your-key-here" } }
tinyfish agent run --url <url> "<goal>"| Flag | Purpose |
|---|---|
| Target website URL |
| Wait for full result (no streaming) |
| Submit and return immediately |
| Human-readable formatted output |
tinyfish agent run --url "https://example.com" \
"Extract product info as JSON: {\"name\": str, \"price\": str, \"in_stock\": bool}"tinyfish agent run --url "https://example.com/products" \
"Extract all products as JSON array: [{\"name\": str, \"price\": str, \"url\": str}]"tinyfish agent run --url "https://example.com/search" \
"Search for 'wireless headphones', apply filter for price under $50, extract the top 5 results as JSON: [{\"name\": str, \"price\": str, \"rating\": str}]"tinyfish agent run --sync --url "https://example.com" \
"Extract the main heading and page description as JSON: {\"heading\": str, \"description\": str}"tinyfish agent run --pretty --url "https://example.com" \
"Extract all navigation links as JSON: [{\"text\": str, \"href\": str}]"tinyfish agent run --url "https://pizzahut.com" \
"Extract pizza prices as JSON: [{\"name\": str, \"price\": str}]"
tinyfish agent run --url "https://dominos.com" \
"Extract pizza prices as JSON: [{\"name\": str, \"price\": str}]"# Don't do this — less reliable and slower
tinyfish agent run --url "https://pizzahut.com" \
"Extract prices from Pizza Hut and also go to Dominos..."data: {...}type == "COMPLETE"status == "COMPLETED"resultJson# List recent runs
tinyfish agent run list
# Get a specific run by ID
tinyfish agent run get <run_id>
# Cancel a running automation
tinyfish agent run cancel <run_id>