TraceAPI is a Manifest V3 browser extension for inspecting API requests without opening DevTools. It captures fetch and XMLHttpRequest calls from the active tab, displays request and response details in a side panel, formats JSON, generates Go structs, and keeps all captured data local.
- Start, stop, and clear tab-scoped capture sessions.
- Inspect method, URL, status, duration, content type, request size, and response size.
- View request headers, request payload, response headers, and response body.
- Pretty print, minify, view, and copy JSON responses.
- Generate Go structs from valid JSON responses.
- Copy URL, cURL, headers, request body, response body, JSON, and Go structs.
- Search and filter requests by URL, method, status, headers, body, and MIME type.
- Mask sensitive headers by default.
- Local-only processing with no backend service.
- Usage Guide
- Install Extension
- Development Guide
- Open Source Guide
- Contributing Guide
- Product Requirements
corepack enable pnpm
pnpm install
pnpm buildLoad the generated dist/ folder as an unpacked extension in Chrome. See Install Extension for full steps.
pnpm dev: run Vite dev server.pnpm lint: run ESLint.pnpm test: run unit tests.pnpm build: type-check and build the extension intodist/.
This project is licensed under the MIT License.