Skip the browser. Call the API.

Every website has an API powering it. ApiTap finds it, captures it, and lets your AI agent call it directly — no browser, no scraping, no DOM. Just structured JSON at 1/100th the token cost.

$ npm install -g @apitap/core
Then: claude mcp add -s user apitap -- apitap-mcp
789 tests passing 12 MCP tools v1.0.6 Claude Code / Cursor / Windsurf
token-counter

Browser automation was built for humans.
Your AI agent isn't one.

The Browser Way
  1. Launch headless Chrome 200MB RAM
  2. Navigate to page 3-5 seconds
  3. Wait for JS to render flaky
  4. Parse the DOM 50,000 tokens
  5. Convert to markdown lossy
  6. Feed to LLM expensive
  7. Repeat for every page linear cost
4,900 tokens to read a Wikipedia article.
The ApiTap Way
  1. Capture the site's API once 30 seconds
  2. Call the endpoint directly fetch()
  3. Get structured JSON 127 tokens
  4. Done. that's it
127 tokens for the same article.

That's not an optimization. That's a different architecture.

Three steps. No browser after step one.

Step 1

Capture

$ apitap capture https://polymarket.com

Point ApiTap at any site. It opens a browser, watches network traffic, and identifies real API endpoints — filtering out analytics, tracking pixels, and framework noise.

Step 2

Skill File

{ "domain": "gamma-api.polymarket.com", "endpoints": [{ "id": "get-events", "method": "GET", "path": "/events", "tier": "green" }] }

A portable JSON map of the site's API. Parameterized URLs, auth tokens encrypted at rest, HMAC-signed to prevent tampering. Share it, version it, commit it.

Step 3

Replay

$ apitap replay gamma-api.polymarket.com get-events # 200 OK — structured JSON, no browser

Your agent reads the skill file and calls the API directly with fetch(). No Chrome. No DOM. No flaky selectors. Just structured data.

Capture: Browser → Playwright listener → Filter → Skill File
Replay: Agent → Skill File → fetch() → API → JSON
↑ no browser in this path

Real numbers. Real sites.

These aren't mock numbers. Run apitap read https://youtube.com/watch?v=dQw4w9WgXcQ yourself and count the tokens.

Hardened for production.

789 tests. Defense in depth. Because your agent shouldn't be a liability.

Two commands. Then ask your agent to browse.

terminal

The web was built for human eyes; ApiTap makes it native to machines.