Beta opening — May 2026

The AI that understands
your APIs.

Routemage reads your Next.js, Express, and Node.js backends — discovering every route, mapping every parameter, revealing every response. Then it produces OpenAPI specs, documentation, and tests automatically. And keeps them in sync forever.

Built for
Next.jsExpressFastifyNestJS
Reading api/users/[id]/route.ts
~/your-project — routemage
$ npx routemage scan
Reading repository at .
Detected: Next.js 15 (App Router)
47 routes discovered
Schemas inferred from prisma + types
openapi.yaml written (3.1)
routes.md published
184 test cases written → tests/
Understood in 12.4s.
The problem

You shouldn't have to describe what you've already written.

Every team using Postman or Apidog spends hours documenting APIs that already exist — in code, in handlers, in types. The source of truth is right there. The tools just can't read it.

  • You ship code. Your specs go stale.
  • Your docs lie. The endpoint signature changed two sprints ago.
  • Your tests cover yesterday's routes, not today's.
  • You spend hours describing APIs you've already written.
  • Postman and Apidog ask you to describe what your code already says.
How it works

Login. Scan. Explore. Generate.

One-time setup. One command to sync. One click to generate docs and tests.

01 / LOGIN

Login once

Create an account and run routemage login. Paste your API key — it's saved locally. This is the only setup step you ever do.

$ routemage login
02 / SCAN

Scan and sync

Run routemage scan from your Next.js project. The CLI reads every route.ts with TypeScript AST, builds a manifest, and auto-uploads it to your workspace.

$ routemage scan
03 / EXPLORE

Open and explore

Every route is in the sidebar, pre-filled with params, headers, auth, and body. Send a real request, then use the Docs and Scripts tabs to generate AI documentation and test cases.

$ ✓ 14 endpoints → app.routemage.com/w/my-project
04 / GENERATE

AI-powered quality

Generate full markdown docs or 4–5 test cases per endpoint with one click. Run them instantly, see pass/fail per assertion, and download results as JSON.

$ ✓ Docs generated · 5 tests: 4 passed, 1 failed
The difference

Postman asks you to describe your APIs.

Routemage reads your code and knows them.

That's the difference.
Show, don't tell

One command. Every route, synced.

Run routemage scan from your Next.js project. The CLI scans every route handler, uploads the manifest, and prints a workspace URL — all in under five seconds.

app/api/users/[id]/route.ts
your code
// your code
import { db } from '@/db'

export async function GET(
  req: Request,
  { params }: { params: { id: string } }
) {
  const user = await db.users.find(params.id)
  if (!user) return new Response('Not found', { status: 404 })
  return Response.json(user)
}
terminal outputlive
✔ Found 7 route files · Scanned 7 endpoints
GET/api/usershigh
POST/api/usershigh
GET/api/users/:idhigh
PUT/api/users/:idmedium
DELETE/api/users/:idhigh
GET/api/postshigh
POST/api/postsmedium
✓ 7 endpoints synced → app.routemage.com/w/my-project
Capabilities

Everything you'd build yourself, if you had the time.

One command, one CI step. Six surfaces of API intelligence.

Auto-discovery

Every route across App Router, Pages Router, Express, Fastify, and NestJS — found without configuration.

Schema inference

Real types extracted from your TypeScript and runtime — no hand-written Zod, no JSDoc gymnastics.

AI test generation

Click "Generate with AI" in the Scripts tab — get 4–5 test cases (happy-path, edge-case, error) with assertions. Run them all and download results as JSON.

AI documentation

One click in the Docs tab generates full markdown docs — overview, params, request/response examples, error codes — and saves them alongside the request.

CI-native

GitHub Action fails builds when contracts drift. Your openapi.yaml is always honest.

Team workspace

Collections, request history, and shared environments — for the whole team, with code-level fidelity.

Stop describing your APIs.Routemage already understands them.

Free during beta · No credit card required