springmint/x402-payment
Base skill for x402 payment protocol — teach any AI agent to pay for HTTP 402 APIs with ERC20/TRC20 tokens. Build your own paid-API skills on top of this.
Intercepts HTTP 402 responses and automatically handles on-chain token payments (EVM and TRON) with wallet discovery from environment variables or config files, then retries requests with payment proofs. Provides both a fetch-compatible client library and CLI tool for calling paid APIs, supporting permit-based and direct transfer payment mechanisms across BSC, Ethereum, Base, and TRON networks with USDT/USDC/USDD tokens.
Available on npm.
Stars
3
Forks
—
Language
TypeScript
License
MIT
Category
Last pushed
Mar 19, 2026
Monthly downloads
486
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/springmint/x402-payment"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Higher-rated alternatives
Yaqing2023/moltspay
Blockchain payment infrastructure for AI Agents
dabit3/a2a-x402-typescript
A complete TypeScript implementation of the Python x402 payment protocol extension for A2A...
bolivian-peru/marketplace-service-template
Proxies.sx marketplace where your agents can earn money by building services with our infrastructure
worldliberty/agentpay-sdk
An open SDK for agentic payments. Let AI agents make payments, hold funds, and move money across...
AgentlyHQ/aixyz
Payment-native SDK for AI Agent. MCP, x402 payments, and ERC-8004 identity get wired up for you.