Peek Api banner
alexknowshtml alexknowshtml

Peek Api

AI community

Description

Discover internal APIs from any website. Captures XHR/fetch calls, extracts auth headers, outputs structured endpoint catalogs. Like opening Chrome DevTools Network tab, but automated and AI-agent friendly.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

peek-api

Discover and call internal APIs from any website. Monitors browser network traffic, captures XHR/fetch calls, extracts authentication headers, and outputs structured endpoint catalogs. Also makes direct HTTP API calls using session cookies -- no browser needed.

Like opening Chrome DevTools Network tab, but automated and scriptable.

Built on the ideas from [Unbrowse](https://github.com/lekt9/unbrowse-openclaw) by [@nicedayfor](https://github.com/nicedayfor). Their work on API discovery for AI agents is what inspired this project. This is a standalone reimplementation with no framework dependencies -- the core capture/extract/report workflow works with any agent platform, any automation stack, or just on its own from the command line.

How this differs from Unbrowse

Unbrowse is a plugin for the [OpenClaw](https://github.com/nicedayfor/openclaw) agent framework. It's tightly integrated -- it uses OpenClaw's browser service, generates OpenClaw-specific "skills", and requires the OpenClaw runtime.

`peek-api` extracts the same core idea (browse a site, capture API traffic, extract auth, catalog endpoints) and makes it a standalone CLI:

Unbrowse peek-api
Runtime Requires OpenClaw agent framework Standalone Node.js CLI
Browser OpenClaw's managed browser service Playwright (local or remote CDP)
Auth Managed by OpenClaw login command saves portable session files
Bot detection OpenClaw handles it Built-in stealth mode via --stealth
Output OpenClaw skill definitions Markdown report + JSON (use with anything)
Agent integration OpenClaw only Agent-agnostic (works with Claude, GPT, etc.)
Direct HTTP Not available Call APIs directly with session cookies

If you're using OpenClaw, use Unbrowse. If you want API capture without framework lock-in, use this.

Install

npm ins