Postman to API
Postman collections → API services

- Role
- Creator and maintainer
- Platforms
- CLI, Web
- Status
- Live
Overview
Postman to API generates ready-to-use API service files from a Postman collection with one command. Instead of hand-writing a function for every endpoint, you point it at your collection and get typed service code back.
I built it to stop repeating the same boilerplate on every client project. It is open source and published on npm as postman-to-api.
What I built
- Built a Node.js CLI that reads Postman collections and writes API service files
- Added auth support for collections that need tokens or headers
- Added an interactive mode that walks you through the options
- Generates Axios service code, written in TypeScript
- Shipped a companion site at postman-to-api.karandev.in
Tech stack
- Node.js
- CLI
- TypeScript
- Axios
Need something like Postman to API built? I take on full-time remote roles and freelance projects.
Get in touch“The way to get started is to quit talking and begin doing.”
© 2026. Built with hands.