Web & API Text Extractor — Free Grok Bot Web Scraper & 100 WATT Starter Kit
Self-onboarding readable text and documentation extractor for Grok Bot (skills: getting-started + web-extractor). Provisions its own wck_... key into /workspace/.wattcoin_env (chmod 600) on Turn 1, activates a 100 WATT starter grant, and provides 10 free static-HTTP + BeautifulSoup text scrapes per UTC day with automatic local curl fallback.
Skills: getting-started + web-extractor · Template ID: k1oyHmw4iS4VBW1U8_3Ol
Architecture, Data Sources & Execution Capabilities
- Turn-1 Auto-Provisioning (getting-started): Calls POST https://www.wattcoin.org/api/v1/agents/register, writes WATTCOIN_AGENT_KEY to /workspace/.wattcoin_env (0600 permissions), and completes onboarding_v1 (25 WATT) + starter_v1 (75 WATT) for 100 WATT total.
- 10 Free Cloud Text Scrapes / UTC Day (web-extractor): Calls POST https://www.wattcoin.org/api/v1/scrape with format: 'text' (static HTTP + BeautifulSoup readable text extraction) and reports X-Quota-Limit: 10 and X-Quota-Remaining headers.
- Paid On-Chain Modes & Automatic Local Fallback: Supports 100 WATT/call html and json modes (never spends WATT without explicit user confirmation) and falls back to local curl -sL + Python HTML-to-text in /workspace when daily quota resets at UTC midnight.
- SSRF & Secret Protection: Rejects loopback (127.0.0.0/8, ::1), RFC1918 private IPs, link-local, and cloud metadata (169.254.169.254) with HTTP 400, and never echoes secret wck_... keys in chat.
Verbatim Sample Output (/workspace Proof-of-Work Preview)
Sample disclosure: this is a representative sample, not a customer report. It was produced against public or fictional test targets; wallet, account and credential values are placeholders or redacted (for example wck_<REDACTED>), and no private keys, seed phrases or secrets are ever shown. Your own report will differ in content and length.
Below is a representative output artifact generated inside /workspace with mandatory scope notes and source citations:
# Turn 1 - getting-started (auto-onboarding in /workspace)
[1/4] Registered workspace agent: WATTCOIN_AGENT_ID=agent_<REDACTED>
[2/4] Wrote /workspace/.wattcoin_env (chmod 600, -rw-------): WATTCOIN_AGENT_KEY=wck_<REDACTED>
[3/4] onboarding_v1 complete: +25 WATT
[4/4] starter_v1 complete: +75 WATT
Grant total: +100 WATT. The agent key is never printed in chat.
# Free text extraction - web-extractor (/api/v1/scrape, format=text)
$ curl -s -i -X POST https://www.wattcoin.org/api/v1/scrape \
-H "Content-Type: application/json" \
-H "X-Agent-Key: $WATTCOIN_AGENT_KEY" \
-d '{"url":"https://www.wattcoin.org/llms.txt","format":"text"}'
HTTP/2 200
x-quota-limit: 10
x-quota-remaining: 8
x-quota-reset: 2026-10-27T00:00:00Z
{
"success": true,
"url": "https://www.wattcoin.org/llms.txt",
"format": "text",
"free_tier": true,
"content": "# WattCoin (WATT) — Agent Reference\n> Utility token on Solana for AI/automation ecosystems..."
}
Scope Note: static HTTP fetch + BeautifulSoup readable-text extraction (15 s timeout, 2 MB cap). No headless-browser or client-side JavaScript SPA rendering. html and json modes cost 100 WATT/call and run only after explicit per-call confirmation.
What This Bot Does Not Do (Mandatory Refusal Boundaries)
- Never claims headless-browser or client-side JavaScript SPA rendering on the static HTTP cloud endpoint (requests.get + BeautifulSoup, 15s timeout, 2 MB response cap).
- Never prints or echoes WATTCOIN_AGENT_KEY (wck_...) in chat output.
- Never invokes paid 100 WATT/call html or json modes without explicit per-call user confirmation.
- Rejects loopback, private RFC1918, and cloud metadata SSRF targets with HTTP 400.
Turn-1 /workspace Onboarding & Non-Custodial Licensing
Every template on CoinLoader.com executes locally inside your isolated Grok Bot Linux sandbox (/workspace). Credentials are stored in /workspace/.wattcoin_env with 0600 permissions (-rw-------) and never echoed in chat. Paid licenses are settled once on-chain in SOL via POST https://www.wattcoin.org/api/v1/agents/license/quote and /purchase, issue a private wcl_... bearer code, and support up to 3 automatic workspace-reset rebinds via POST https://www.wattcoin.org/api/v1/agents/license/claim.
One wcl_... key, two runtimes. Your license key works inside Grok Bot and from any local terminal or IDE agent (Cursor, Claude Code, Windsurf, CI/CD) via the standalone single-file Python 3 CLI (standalone /runtime/<script>.py CLI) — Python 3.10+ standard library only, zero pip install dependencies, with --json / --markdown output.