APIDocly provides all the tools you need to create beautiful, comprehensive API documentation.
Beautiful dark-themed documentation that's easy on the eyes during late-night coding sessions.
Track API changes across versions. See added, removed, and modified endpoints at a glance.
Secure your API docs with AES-256-GCM encryption and password protection.
Simple command-line interface with flexible options for input, output, and configuration.
Support for 20+ annotation types including params, headers, responses, examples, and more.
Export your API to Postman Collection or Insomnia format for instant testing and collaboration.
Download OpenAPI JSON and let AI generate client code, TypeScript models, or full integrations.
Parse documentation from JavaScript, TypeScript, Python, and PHP source files.
Define multiple API environments (dev, staging, prod) and switch between them when testing endpoints.
Install globally with npm and generate documentation from your source files with a single command.
npm install -g apidoclyapidocly -i ./src -o ./docsOpen docs/index.html in your browser
# Basic usage $ apidocly -i ./src -o ./docs # With config file $ apidocly -c apidocly.json # Include private endpoints $ apidocly -i ./src --private # Single file export $ apidocly -i ./src --single-file # Verbose output $ apidocly -i ./src --verbose
Use familiar JSDoc-style annotations to document your API endpoints directly in your source code.
User: Here's my API spec (openapi.json attached). Generate a TypeScript client with Axios. AI: Based on your OpenAPI specification, here's a complete TypeScript client: import axios from 'axios'; interface User { id: string; email: string; name: string; } export const getUser = async ( id: string ): Promise<User> => { const { data } = await axios.get( `/users/${id}` ); return data; };
Every APIDocly documentation exports to OpenAPI 3.0 JSON format. Simply download and feed it to your favorite AI assistant to instantly:
Get production-ready client code in TypeScript, Python, Go, or any language
Auto-generate TypeScript interfaces, Zod schemas, or Pydantic models
Let AI understand your entire API and build complete integration modules
Found a bug or have a feature request? We'd love to hear from you.
feedback@apidocly.com