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.

40
/ 100
Emerging

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.

Maintenance 13 / 25
Adoption 9 / 25
Maturity 18 / 25
Community 0 / 25

How are scores calculated?

Stars

3

Forks

Language

TypeScript

License

MIT

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.