Reference
Commands
Planned CLI command reference for API20 — discovery, HTTP 402 inspection, registry exploration, and MCP-ready metadata preview.
Overview
API20 is designed as a terminal-first tool for working with x402-powered APIs on Base. These commands represent the planned interface. You can preview scan behavior on the homepage scanner.
scan
Scan an endpoint and inspect possible HTTP 402 payment requirements.
inspect
Display x402 metadata, payment requirements, network, asset, and resource info.
registry
Browse indexed x402-compatible APIs.
mcp
Preview how an API could be documented for future MCP-ready agent workflows. MCP server support is research/planned — no live MCP server is connected.
builder-code
Preview Builder Code attribution metadata for an indexed x402 API. ERC-8021 / settlement integration is research/planned — not live.
registry export
Export registry metadata as JSON for indexed x402 APIs.
registry inspect
Inspect detailed metadata for a listed x402 API.
demo
Run a simulated x402 flow.
Current status
The installable CLI package is planned. The current public version provides a web-based terminal simulation, documentation, registry preview, and schema exploration.
- Web-based terminal simulation on api20.xyz
- Public documentation and command reference
- Public registry.json and API detail pages
- Endpoint scanner mock with preset endpoints
- Builder Codes research page
When the CLI is published, installation instructions will appear here and on the docs page.
Try it now
Use the interactive command preview on the homepage or run a live scan simulation:
Try Scanner