Skip to content
Logan McDuffie edited this page Dec 23, 2025 · 1 revision

API Docs CLI

A command-line tool for discovering and extracting API documentation from any source.

Why This Tool?

API documentation is scattered across different formats and frameworks. This CLI gives you instant access to any API's endpoints—just provide a name or URL.

Features

  • Universal Discovery - Find APIs by provider name via APITracker.io
  • Multi-Framework Support - Swagger UI, Redoc, Scalar, and generic docs
  • Smart Extraction - Automatic fallback through multiple strategies
  • Spec Caching - Local cache with TTL for fast repeated access
  • Clean Output - Color-coded, grouped endpoints

Installation

npm install -g @tidalstudios/api-docs-cli

Or run directly with npx:

npx @tidalstudios/api-docs-cli endpoints stripe

Quick Start

# List endpoints from any API provider
api-docs endpoints stripe

# Or from a direct URL
api-docs endpoints https://docs.n8n.io/api

# Get details for a specific endpoint
api-docs endpoint stripe /v1/customers --method GET

# View cached specs
api-docs list

Requirements

  • Node.js 20.0.0 or higher

Documentation

Clone this wiki locally