Show HN: API Parrot – Automatically Reverse Engineer HTTP APIs (opens in a new tab)apiparrot.com
456 pointsOften, the issue is that it can be hard to resolve all the cookies, access tokens, and other elements required to successfully execute the requests. Manually trying to resolve these dependencies using developer tools is especially challenging with multiple requests where data is stored in JavaScript objects or HTML elements.
To try to solve this issue, I built a tool called API Parrot that automatically identifies the data correlations between requests and builds a graphical representation of the flow to give users a better understanding. To streamline the process, I also included functionality to record requests, define your own inputs and outputs, and export the entire flow—or parts of it—as JavaScript code.
The application is Electron-based and currently compiled for Windows and Linux. Please try it out and give feedback!
Online Tutorial: A simple example of reverse engineering the USPS API is available at https://docs.apiparrot.com/docs/category/tutorial---reverse-...

Comments (117) 34 threads
Show all comments
Showing thread 2 of 34
https://github.com/alufers/mitmproxy2swagger
Unfortunately, names matter.
Continue this thread — 2 replies
It is a bit frustrating when a project on GitHub doesn't have good tags or searchable keywords, making it harder to find.
My usual process is Dev tools -> Copy as CURL -> delete unnecessary headers -> translates to requests in python (these days I just use ChatGPT) -> wrap in python sdk for managing auth etc.
The OP’s correlation features are really nice though.
Thank you for sharing this though, I was looking for a tool like this :)
There's other tools out there that can generate similar docs or playgrounds, given you have a schema/spec of some type.
https://graphql.org/learn/schema/