nottelabs/reverse-api-engineer

The agent that turns websites into APIs!

What it solves

Reverse API Engineer turns websites into usable APIs by automating the process of capturing network traffic and generating a typed API client. It eliminates the need to manually inspect network requests in browser DevTools, copy cURL commands, and manually write boilerplate code to interact with a site's internal endpoints.

How it works

  1. Traffic Capture: The tool captures network traffic to a HAR file. This can be done in two ways:
    • Manual Mode: The user drives the browser and performs the actions needed to trigger the the target API calls.
    • Agent Mode: An AI agent autonomously browses the site to achieve a specific goal (e.g., "fetch all Apple jobs").
  2. Client Generation: A configured LLM reads the captured HAR file and automatically writes a working, typed API client in the user's chosen language (supporting Python, JavaScript, TypeScript, Go, Java, C#, PHP, Ruby, or C).
  3. Output: The generates a client script, a README, and an example usage file.

Who it’s for

Developers who need to integrate with websites that do not provide a public API, or those who want to automate interactions with web services by reverse-engineering their internal APIs.

Highlights

  • Multi-language support: Generates clients in 8 different programming languages.
  • AI-driven browsing: Includes an agent mode that can autonomously navigate websites to find the required endpoints.
  • Agent Provider flexibility: Supports various agent providers including Playwright MCP, Chrome MCP, and Vercel's agent-browser.
  • LLM integration: Compatible with various models (e.g., Claude Sonnet, Opus, Haiku) and SDKs (Claude, OpenCode, Cursor, Copilot).
  • CLI-first workflow: Provides a comprehensive CLI with slash commands for settings, history, and script execution.

Related

  • Project
  • Project
  • Dispatch
  • Project