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

Read. Reveal. Sync.

Three steps. Zero configuration. Your code is already the spec — Routemage just understands it.

01 / READ

Read

Routemage scans your backend with deep static analysis and AI inference. Every route, every parameter, every response — understood. Zero configuration.

02 / REVEAL

Reveal

OpenAPI 3.1 specs. Markdown documentation. Test cases that exercise your real endpoints. Generated from your real code — never from your description of it.

03 / SYNC

Sync

Code changes? Routemage already knows. Specs update. Docs update. Tests update. Run it in CI and your contracts stay accurate forever.

The difference

Postman asks you to describe your APIs.

Routemage reads your code and knows them.

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

From handler to understood — in one read.

Drop in a route. Routemage extracts the path parameter, infers the response shape from your database schema, writes the spec, and produces test cases.

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)
}
routemage understandinginferred
MethodGET /users/:id
Path paramid — string, required
Response 200User — inferred from db.users schema
Response 404"Not found" — text/plain
OpenAPI 3.1spec generated
Tests4 cases — happy path + 3 edge cases
Docspublished to routes.md
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

Test cases written from actual handler logic. Happy paths, edge cases, error branches — inferred and exercised.

Live documentation

Updates with every commit. Never goes stale. Hosted, embeddable, or written to your repo.

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