Endpoint Scanner
Probe API endpoints and detect HTTP 402 Payment Required responses with x402-compatible headers.
The terminal gateway for x402-powered APIs on Base.
Scan endpoints, inspect HTTP 402 payment requirements, preview USDC-based API payments, and interact with x402-powered services directly from a terminal-inspired interface.
Scanner
Simulate an x402 endpoint scan. No real network requests are made — output is generated from mock data to preview CLI behavior.
Overview
x402 CLI is an experimental web and CLI concept designed to help developers understand and test x402-powered API flows. It provides a terminal-style interface for exploring HTTP 402 Payment Required responses, USDC payment requirements on Base, and the emerging ecosystem of pay-per-request APIs built for developers and AI agents.
Purpose
x402cli.xyz is an experimental discovery layer and terminal playground for x402-powered APIs on Base. It exists to help developers, API builders, and AI agents explore pay-per-request workflows before production integration.
Not an official x402 CLI. This is an independent project built for ecosystem exploration and developer education.
Not affiliated with Coinbase or Base. No official endorsement. References are for compatibility and documentation only.
Focused on Base, USDC, HTTP 402, API discovery, and agent-ready workflows. Built for developers who need clarity on x402 payment flows.
Features
Probe API endpoints and detect HTTP 402 Payment Required responses with x402-compatible headers.
Parse and display payment requirements including network, asset, amount, and resource metadata.
Preview how USDC-based micropayments on Base would apply to a given API request before execution.
Browse a curated preview of x402-compatible APIs with pricing, endpoints, and availability status.
Designed for AI agents and automation tools that need structured payment flow discovery.
Clear documentation covering x402 concepts, example commands, and planned CLI behavior.
Registry
Browse demo API entries. Filter by category to preview how the public registry will work.
| API Name | Category | Price | Network | Status | Action |
|---|---|---|---|---|---|
| Weather API | Data | 0.001 USDC per request | Base | Demo | |
| Market Data API | Finance | 0.002 USDC per request | Base | Demo | |
| Agent Tool API | AI Agent | 0.005 USDC per request | Base | Demo | |
| Content API | Content | 0.001 USDC per request | Base | Demo |
0.001 USDC per request
Data · Base · Demo
0.002 USDC per request
Finance · Base · Demo
0.005 USDC per request
AI Agent · Base · Demo
0.001 USDC per request
Content · Base · Demo
Workflow
Send a request to any API endpoint that may require payment per call.
The endpoint returns HTTP 402 with x402 payment requirement headers.
Parse network, asset, amount, and scheme from the 402 response payload.
Prepare the Base / USDC payment flow and retry the request with proof of payment.
Interactive
Switch between commands to preview planned CLI behavior. See full command docs for details.
Audience
Integrate pay-per-request APIs into your stack with clear visibility into x402 payment flows and Base USDC requirements.
Give autonomous agents a structured way to discover, inspect, and prepare payments for x402-powered services.
Understand how your API appears to clients when returning HTTP 402 and listing in the x402 registry.
Changelog
Honest progress tracking for an early-stage experimental project.
Live terminal demo, registry filters, submit API form, commands page, and visual polish.
Initial site, documentation, interactive terminal tabs, and roadmap.
Real endpoint probing and structured parsing of x402 payment requirement payloads.
Research and prototype USDC micropayment flows on Base for pay-per-request APIs.
Roadmap
Launch site, documentation, and interactive terminal UI preview.
Endpoint scanner prototype and x402 response parser.
Research and prototype USDC micropayment flows on Base.
Submission system for listing x402-compatible API endpoints.
Agent mode for AI tools and automation workflows.