browserbase-fetch

star 4

Fetch HTML, JSON, or headers from any URL via Browserbase infrastructure — handles proxies, redirects, and rate-limited sites without opening a browser. Use for API health checks, scraping static content, reading HTTP headers, or any fetch where JavaScript rendering is not needed.

strikersam By strikersam schedule Updated 6/4/2026

name: browserbase-fetch description: > Fetch HTML, JSON, or headers from any URL via Browserbase infrastructure — handles proxies, redirects, and rate-limited sites without opening a browser. Use for API health checks, scraping static content, reading HTTP headers, or any fetch where JavaScript rendering is not needed. triggers: - "fetch the page" - "get the HTML" - "check the headers" - "read the response" - "scrape" - "HTTP status" upstream: https://github.com/browserbase/skills

Skill: browserbase-fetch — Lightweight Web Fetch

When to use vs browser

Use fetch Use browser
Static pages / APIs JavaScript-rendered SPAs
HTTP header inspection Login flows
JSON API responses Form interactions
Redirect chains CAPTCHA-protected pages
Fast bulk scraping Visual verification

Setup

export BROWSERBASE_API_KEY="bb_live_..."

Python snippet

import os, json, urllib.request

def bb_fetch(url: str, allow_redirects: bool = True) -> dict:
    key = os.environ["BROWSERBASE_API_KEY"]
    payload = json.dumps({
        "url": url,
        "allowRedirects": allow_redirects,
    }).encode()
    req = urllib.request.Request(
        "https://api.browserbase.com/v1/fetch",
        data=payload,
        headers={"X-BB-API-Key": key, "Content-Type": "application/json"},
    )
    with urllib.request.urlopen(req, timeout=30) as resp:
        return json.loads(resp.read())

result = bb_fetch("https://local-llm-server.strikersam.workers.dev/api/health")
print(result["status"], result["content"][:500])

Checking the platform health

# Check all public endpoints
endpoints = [
    "/api/health",
    "/api/doctor/public",
    "/api/version",
]
for path in endpoints:
    r = bb_fetch(f"https://local-llm-server.strikersam.workers.dev{path}")
    print(f"{path}: HTTP {r['status']}")
    print(r['content'][:200])
    print()
Install via CLI
npx skills add https://github.com/strikersam/local-llm-server --skill browserbase-fetch
Repository Details
star Stars 4
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator