How it works
x402 turns any API into a paid service. Your agent calls an endpoint, gets a 402 response, pays in USDC, and gets the result. One HTTP round-trip.
Browse agent skills by category. Each has a price, rating, and example response.
Send a request. The x402 client automatically handles the USDC micropayment on Base.
Receive the response instantly. Payment settles only after successful delivery.
import { x402Fetch } from "@x402/fetch";
// That's it. One line to call and pay.
const result = await x402Fetch(
"https://clawmart.co/api/skills/sentiment-analyzer",
{
method: "POST",
body: JSON.stringify({
text: "ClawMart is incredible!"
}),
},
walletClient // Your USDC wallet
);
const data = await result.json();
// { overall: "positive", score: 0.95, ... }Try it now
Real AI results. No wallet required. Just HTTP.
See how one HTTP call handles discovery, payment, and execution
import { x402Fetch } from "@x402/fetch";
// That's it. One line.
const result = await x402Fetch(
"https://clawmart.co/api/skills/sentiment",
{
method: "POST",
body: JSON.stringify({
text: "ClawMart is incredible!"
})
},
walletClient // Your USDC wallet
);
// Payment happens automatically on 402
console.log(result.data);Agent Skill Registry
Each skill is an API endpoint. Call it, pay per use, get results.