Agent Tool Discovery
API discovery for agent tools — catalog paid endpoints with structured metadata before MCP integration.
The terminal gateway for x402-powered APIs on Base.
Discover, test, and inspect x402-powered APIs through a terminal-inspired interface built for HTTP 402 payment flows, Base USDC exploration, and future MCP-ready agent workflows.
Scanner
Simulate an x402 endpoint scan to preview planned CLI behavior.
This is a simulated scanner. No real network request is made in the current static version.
Purpose
API20 is an experimental discovery and testing layer for x402-powered APIs on Base. It helps developers understand how HTTP 402 payment requirements can be inspected, documented, and explored before integrating paid APIs into agent workflows.
API discovery — Browse and preview x402-compatible APIs with pricing and metadata.
HTTP 402 inspection — Simulate how payment requirements appear before a paid request.
Base + USDC payment flow exploration — Research pay-per-request flows on Base without claiming live payment execution.
MCP-ready documentation — Prepare API metadata for future agent tool integrations.
Future agent workflows — Explore how paid APIs may connect to AI agents through MCP servers.
MCP Research
AI agents need reliable tools, APIs, and payment-aware workflows. API20 explores how x402-powered APIs can be discovered, documented, and prepared for future MCP server integrations. API20 is designed to help developers discover and document APIs that may later be exposed to AI agents through MCP servers.
API discovery for agent tools — catalog paid endpoints with structured metadata before MCP integration.
Future MCP server compatibility research. No live MCP server is operated today.
Document network, asset, price, and protocol fields that agents need before calling a paid API.
Attribution Research
Builder Codes introduce an attribution layer for x402 payments on Base. API20 is tracking Builder Codes as future registry metadata for identifying which apps, APIs, and agent workflows may drive or serve x402 traffic.
Track which apps or builders may receive attribution for x402 settlement traffic on Base.
Document how registry entries may reference payment traffic and service attribution fields.
Explore ERC-8021 Schema 2 Builder Code fields as documentation-only registry metadata.
Builder Code support is currently research/planned. API20 does not attach Builder Codes to real x402 settlement transactions in the current version.
Builder Codes ResearchFeatures
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 | MCP Ready | Builder Code | Action |
|---|---|---|---|---|---|---|---|
| Weather API | Data | 0.001 USDC/request | Base | Demo | Demo | Planned | Details |
| Market Data API | Finance | 0.002 USDC/request | Base | Demo | Planned | Planned | Details |
| Agent Tool API | AI Agent | 0.005 USDC/request | Base | Demo | Demo | Research | Details |
| Content API | Content | 0.001 USDC/request | Base | Demo | Planned | Planned | Details |
0.001 USDC/request
Data · Base · MCP: Demo · Builder: Planned
0.002 USDC/request
Finance · Base · MCP: Planned · Builder: Planned
0.005 USDC/request
AI Agent · Base · MCP: Demo · Builder: Research
0.001 USDC/request
Content · Base · MCP: Planned · Builder: Planned
v0.3
API20 now includes a structured registry metadata layer for documenting x402-powered APIs, including endpoint details, payment requirements, MCP-ready status, Builder Code attribution research, and example HTTP 402 responses.
{
"id": "weather-api",
"name": "Weather API",
"category": "Data",
"endpoint": "https://server.api20.xyz/weather",
"network": "base",
"asset": "USDC",
"price": "0.001",
"paymentProtocol": "x402",
"mcpReady": "demo",
"builderCode": "planned",
"attributionStandard": "ERC-8021 research",
"status": "demo",
"description": "Example paid weather endpoint using HTTP 402."
}
View Public Registry JSON
API Detail Example
Schema
Preview of how API20 may represent x402-powered APIs in the registry — including MCP-ready metadata fields.
{
"name": "Weather API",
"category": "Data",
"endpoint": "https://api.example.com/weather",
"network": "base",
"asset": "USDC",
"price": "0.001",
"paymentProtocol": "x402",
"mcpReady": "demo",
"builderCode": "planned",
"attributionStandard": "ERC-8021 Schema 2 research",
"status": "demo",
"description": "Example paid weather endpoint using HTTP 402."
}
View schema docs on GitHub
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.
Added public registry.json, API detail pages, curl examples, metadata previews, and expanded registry fields for MCP-ready workflows and Builder Code attribution research.
MCP-ready workflow page, registry filters, live terminal demo, submit API form, schema preview, and updated positioning copy.
Initial site, documentation, interactive terminal tabs, and roadmap.
Real endpoint probing and structured parsing of x402 payment requirement payloads — Phase 3 research.
Roadmap
Launch site, documentation, and interactive terminal UI preview. Current
Public registry.json, API detail pages, structured metadata fields, and schema documentation. Completed
Endpoint probing and structured parsing of x402 payment requirements. Planned
Agent tool documentation and future MCP server compatibility research.
Backend for listing and reviewing x402-compatible API endpoints.
Track machine payment protocol models as future research — not live.
Installable CLI tool — planned, not published yet.
Structured output for AI tools and automation pipelines.