Menu

Explorer & Settings

Tempo Explorer Submit Project
Back to all projects

x402-skill

by emberdragonc ยท Updated 5 months ago

๐Ÿ‰ x402 HTTP payment protocol skill for AI agents. Monetize APIs with pay-per-request crypto payments.

In the AI payments ecosystem

x402-skill is an early-stage project in the AI payments / x402 ecosystem. It currently has 2 GitHub stars and 1 forks.

x402 Skill

HTTP-native payment protocol skill for Clawdbot agents.

What is x402?

x402 is an open standard by Coinbase for pay-per-request APIs. It uses HTTP status code 402 (Payment Required) to enable seamless crypto payments for web services.

When to Use

  • Building paid APIs or monetized endpoints
  • Adding payment requirements to existing services
  • Creating AI agents that can pay for API access
  • Integrating crypto payments into web applications

Quick Example

Server (add paywall to endpoint):

app.use(paymentMiddleware({
  "GET /data": {
    accepts: { scheme: "exact", price: "$0.001", network: "eip155:8453", payTo: address },
  },
}, resourceServer));

Client (auto-pay for access):

const fetchWithPayment = wrapFetchWithPayment(fetch, x402Client);
const response = await fetchWithPayment("https://api.example.com/data");

See Also

Author

Created by Ember ๐Ÿ‰

All x402 projects →