About routeman
We built routeman because we were tired of keeping Postman collections in sync with our APIs by hand.
Why it exists
Every API project ends up with a Postman collection. Someone creates it by hand on day one, it falls behind by week three, and new team members spend their first afternoon working out which request body each endpoint actually accepts.
The standard fix is to generate an OpenAPI schema and import it. That works well when the project was designed around a schema. Most Django, Flask, FastAPI, Express and NestJS codebases weren't, though. They have years of views, handlers, serializers and DTOs that a schema generator only partly understands, and the import still leaves you to set up login, tokens and environments.
routeman takes a different approach. It reads the application itself: the URLconf, router or controllers the framework really serves, plus the serializers, schemas, models and handler code that define each request. Then it writes the collection a careful developer would write by hand, with login automated.
routeman was first released for Python on PyPI on 8 October 2026. The next day it arrived on npm as routeman-cli, for Node.js, Bun and Deno APIs, with the same output and the same principles.
Principles
- Zero setup. One
pip installornpxand one command. No annotations, decorators or schema library. - Read-only and local. routeman never touches the database, never sends requests and never uploads anything. The Python edition imports your app read-only. The Node.js edition doesn't run your code at all.
- Useful on first import. Bodies that pass validation, a login request that saves the token, and environments for every server.
- No lock-in. The output is standard Postman Collection v2.1 JSON, and routeman is MIT licensed.
Who builds it
Divakar
Software developer and creator of routeman. Builds Python/Django back-ends, APIs and developer tooling.
Swastik Tech Solutions Pvt Ltd
The software company behind routeman. It publishes and maintains routeman on PyPI and routeman-cli on npm.
Also from Swastik Tech Solutions
Swastik Codes is our API platform for designing, testing, mocking and documenting APIs. It imports routeman's collections, and its CLI command swc mcp lets AI coding assistants use them. Its hosted MCP server gives assistants full documentation of thousands of public APIs.
Get in touch
Bug reports, feature requests, framework edge cases and partnership enquiries are all welcome. Source code is on GitHub for Python and Node.js. Email routeman@swastik.ai, call +91 76545 31678, or use the contact page.