Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

monetize-service

Scaffolds an Express server that charges USDC per request using the x402 payment protocol.

Setup & Installation

npx skills add https://github.com/coinbase/agentic-wallet-skills --skill monetize-service
or paste the link and ask your coding assistant to install it
https://github.com/coinbase/agentic-wallet-skills/tree/main/skills/monetize-service
View on GitHub

What This Skill Does

Scaffolds an Express server that charges USDC per request using the x402 payment protocol. Callers pay on Base with no accounts or API keys needed. Services get listed on the x402 Bazaar so other agents can discover and pay for them automatically.

It handles the full payment flow, from 402 responses to USDC settlement on Base, so you can monetize an API endpoint without building billing infrastructure or requiring callers to sign up.

When to use it

  • Selling a data API where each request costs a few cents in USDC
  • Setting up a paid text analysis endpoint that any agent can call
  • Running a compute-heavy query service with per-request crypto payments
  • Listing a new paid endpoint on the x402 Bazaar for agent discovery
  • Adding tiered pricing to multiple routes on a single Express server