# x402 Seller Kit — sell your API to AI agents per call

> Production template + playbook behind a live 12-endpoint x402 API listed on x402scan, Circle and the MCP Registry

x402 Seller Kit — sell your API to AI agents per call is a paid AI agent skill on Agensi by Hyui, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Hyui](https://www.agensi.io/creators/hyui)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-09-13
- Security: scan passed (2026-09-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/x402-seller-kit-sell-your-api-to-ai-agents-per-call
- Tags: api, x402, web3, node-js, automation, llm-ops, mcp, usdc

## About this skill

### The problem

Monetizing an API for AI agents usually requires complex Stripe integrations, API key management, and user signup flows that create friction. Most developers lack a way to charge agents per call directly over HTTP using stablecoins.

### What it does

- Generates a production-ready Express server with built-in x402 payment middleware.
- Handles 402 Payment Required handshakes and USDC settlement via Coinbase CDP.
- Provides a single source of truth for routes, schemas, and pricing in `catalog.ts`.
- Exports automated discovery files including `openapi.json`, `llms.txt`, and `/.well-known/x402`.
- Includes a `/stats` dashboard for tracking on-chain earnings and per-route traffic.

### Frameworks & tools

Node.js, Express, TypeScript, Zod, Coinbase CDP (Facilitator), and Base (EVM L2).

### Why this beats prompting it yourself

Implementing the x402 protocol manually requires precise header handling and facilitator synchronization that is easy to break. This kit provides a hardened template used in live production services, ensuring your API passes registry probes and handles edge cases like opt-in free tiers correctly.

### Use cases

- Selling structured data lookups to autonomous agents.
- Charging per call for specialized LLM text transformation tasks.
- Launching a pay-per-use MCP server listed on official registries.
- Prototyping a micro-payment API on Base Sepolia testnet.

### Known limitations

Requires an always-on host with a permanent domain; local tunnels like ngrok are often rejected by registries. Pricing under $0.005 per call is discouraged due to facilitator fees.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the x402 Seller Kit — sell your API to AI agents per call skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the x402 Seller Kit simplify API monetization?

This kit provides a production-ready Express template and playbook that implements the x402 protocol, allowing you to charge AI agents per API call in USDC without requiring complex user signups or manual API key management.

### What specific assets are included in this purchase?

The kit includes a complete Node.js/Express template, a 'catalog.ts' configuration for managing routes and pricing, automated discovery files (openapi.json, llms.txt), and a dashboard to track on-chain earnings.

### Can I use this kit to get my API listed on major agent registries?

Yes, this template is specifically designed to meet the technical standards for listing on x402scan, the MCP Registry, and Circle, ensuring your API is discoverable by autonomous agents.

### What are the core technical requirements to run this template?

The kit is built for Node.js and TypeScript environments, utilizing Coinbase CDP for payment facilitation and the Base L2 network for fast, low-cost USDC settlement.

### Does the kit support free trials or usage tracking?

While designed for per-call payments, the kit includes logic to handle opt-in free tiers and provides a /stats dashboard to monitor usage and revenue directly from your server.

### Are there any hosting limitations I should be aware of?

Due to the nature of the x402 protocol, you will need a permanent domain and a reliable hosting environment; temporary local tunnels like ngrok are generally not supported by registries.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
