TypeScript, Python and Go SDK for browser agents that drives Chrome with natural-language act, observe and extract calls alongside Playwright-style APIs.
kalil0321/reverse-api-engineer
Captures a website's network traffic while you or an AI agent browse, then generates a typed API client for the endpoints it uses.
- Stars
- 2,744
- Forks
- 285
- Open issues
- 6
- Last commit
- 4 days ago
What is it?
Reverse API Engineer turns a website into an API. You give it a site and a goal, such as fetching all job listings from a careers page. A browser visits the site, either driven manually or by an AI agent, and the network traffic is recorded to a HAR file. A configured model then reads that traffic and writes a working client for the endpoints the site actually calls, instead of copying requests out of DevTools by hand.
The generated client can be written in Python, JavaScript, TypeScript, Go, Java, C#, PHP, Ruby, C, or PowerShell. Agent capture works through Playwright or Chrome DevTools MCP servers, or the Vercel agent-browser CLI, and can use your real Chrome session with its existing cookies. Manual mode uses a local Playwright browser. The project also ships a skill for Claude Code, Codex, Cursor and OpenCode, and a collector mode that gathers structured JSON or CSV data.
The generated code runs on your machine, so the README advises reviewing it before execution. Sites with aggressive bot detection may block capture or require manual interaction.
Key features
- 01Records browser network traffic to a HAR file during capture.
- 02Generates a typed API client in ten languages, including Python, Go and TypeScript.
- 03Supports manual browsing or autonomous AI agent capture.
- 04Works with Playwright, Chrome DevTools MCP and Vercel agent-browser.
- 05Provides a CLI with JSON output for scripting.
- 06Includes a collector mode that outputs JSON and CSV.
Use cases
- Building a client for a site that has no public API.
- Pulling listings or records from a web page into a script.
- Letting a coding agent such as Claude Code generate API clients from a browsing session.
- Collecting structured data from web pages into JSON or CSV files.
Quick start
- 1
Install the tool with uv
uv tool install reverse-api-engineer - 2
Install the skill for your coding agent
npx skills add kalil0321/reverse-api-engineer - 3
Start the CLI, then give it a goal such as fetching jobs from a careers page
reverse-api-engineer
Things to know
- Requires an API key for agent mode.
- Intel macOS and 32-bit Windows are no longer supported.
- Sites with aggressive bot detection may block capture or need manual interaction.
- Generated code runs locally, so it must be reviewed before execution.
In collections
Topics
FAQ
- What is reverse-api-engineer?
- Captures a website's network traffic while you or an AI agent browse, then generates a typed API client for the endpoints it uses. Reverse API Engineer turns a website into an API. You give it a site and a goal, such as fetching all job listings from a careers page. A browser visits the site, either driven manually or by an AI agent, and the network traffic is recorded to a HAR file. A configured model then reads that traffic and writes a working client for the endpoints the site actually calls, instead of copying requests out of DevTools by hand.
- Is reverse-api-engineer free to use? What license does it have?
- reverse-api-engineer is open source under the MIT license. Check the license terms before using it in commercial products.
- Is reverse-api-engineer still maintained?
- Actively maintained. The last commit to reverse-api-engineer was on Nov 3, 2026.
- What can I use reverse-api-engineer for?
- Building a client for a site that has no public API. Pulling listings or records from a web page into a script. Letting a coding agent such as Claude Code generate API clients from a browsing session. Collecting structured data from web pages into JSON or CSV files.
- How do I install reverse-api-engineer?
- Install the tool with uv: uv tool install reverse-api-engineer Install the skill for your coding agent: npx skills add kalil0321/reverse-api-engineer Start the CLI, then give it a goal such as fetching jobs from a careers page: reverse-api-engineer
- Where can I get reverse-api-engineer?
- The source code and installation instructions are on GitHub: https://github.com/kalil0321/reverse-api-engineer
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Open-source browser API for AI agents and apps, running a managed Chrome sandbox you can drive with Puppeteer, Playwright, or Selenium.
Cloud browser infrastructure and a Playwright-based framework for running web automations with AI agents, with stealth, CAPTCHA solving and proxies.
Open-source Python library for building AI agents that control a real browser, with optional Browser Use Cloud stealth browsers and hosted agent API.
A TypeScript framework that lets AI agents control a Playwright browser to autonomously complete web tasks like clicking, typing and extracting data.
Builds MCP integrations for websites from a plain-language task, so AI agents can call sites that have no API.