kalil0321/reverse-api-engineer

Reverse engineer any website into a typed API client. Works with Claude Code, Codex, Cursor and OpenCode.

What it solves

Reverse API Engineer eliminates the tedious work of manually opening DevTools, copying cURL commands, and gluing together a client from a website's network traffic. You describe a goal, browse or let an AI agent browse, and the tool produces a clean, typed API client for the endpoints the site actually uses.

How it works

You give the tool a website and a goal. A browser opens, either driven by you or by an AI agent. All network traffic is captured into a HAR file. Your configured model then reads that traffic and writes a working API client in one of ten languages: Python, JavaScript, TypeScript, Go, Java, C#, PHP, Ruby, C, or PowerShell. The output includes the client file, a README, and an example script. Four operating modes are available: manual (you drive), agent (AI drives), engineer (re-generate from a previous capture), and collector (structured data extraction). Settings live in ~/.reverse-api/config.json.

Who it's for

Developers who need quick integrations against websites without official APIs, or who want to automate structured data extraction. It also integrates with coding agents like Claude Code, Codex, Cursor, and OpenCode via an installable skill, so an agent can drive the whole process.

Highlights

  • Generates typed API clients in 10 programming languages.
  • Supports both manual browsing and fully autonomous agent capture.
  • Works with Claude, OpenCode, Cursor, and GitHub Copilot SDKs.
  • Can re-engineer a client from a previous run's HAR file.
  • Collector mode extracts structured JSON/CSV data via web search and fetch.
  • Agent mode needs no extra Python packages (uses npx-launched browser tooling).
  • Runs on Linux, Apple Silicon macOS, and 64-bit Windows.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch