monetize-service
π―Skillfrom coinbase/agentic-wallet-skills
Skill for building and deploying paid APIs that other agents can pay to use via the x402 HTTP-native payment protocol, with automatic USDC payments on Base and service discovery through the x402 Bazaar.
Overview
A Claude Code skill from Coinbase that guides you through building and deploying a paid API using the x402 HTTP-native payment protocol. It enables creating Express servers that charge USDC per-request on Base, requiring no accounts, API keys, or subscriptions from callers. Services are automatically discoverable by other agents via the x402 Bazaar.
Key Features
- x402 Payment Protocol - Implements HTTP 402 payment-required responses where callers sign USDC payments and retry with payment headers, all verified by a facilitator
- Per-Request USDC Charging - Set custom prices per endpoint (e.g., $0.01 per API call) with payments settled in USDC on the Base blockchain
- Agent-to-Agent Discovery - Services automatically register with the x402 Bazaar so other AI agents can discover and pay for them
- Express Server Scaffolding - Complete step-by-step setup with npm packages, payment middleware configuration, and protected endpoint creation
- Wallet Integration - Uses the awal CLI for wallet status, address retrieval, and payment operations
Who is this for?
This skill is designed for developers who want to monetize their APIs by allowing other AI agents and users to pay per-request in USDC without traditional authentication or subscription infrastructure. It is particularly relevant for those building agent-to-agent service ecosystems where autonomous agents need to discover and pay for services programmatically.
Same repository
coinbase/agentic-wallet-skills(10 items)
Installation
npx vibeindex add coinbase/agentic-wallet-skills --skill monetize-servicenpx skills add coinbase/agentic-wallet-skills --skill monetize-service~/.claude/skills/monetize-service/SKILL.mdSKILL.md
More from this repository9
Executes cryptocurrency trades on Coinbase by analyzing market conditions, calculating optimal entry/exit points, and managing transaction parameters
Generates secure, gas-optimized transaction payloads for complex blockchain interactions with advanced encoding and validation techniques.
Enables secure cryptocurrency payments for digital services by generating transaction details, calculating fees, and executing transfers on blockchain networks.
Skill for sending USDC to any Ethereum address or ENS name on Base using the awal CLI, supporting dollar amounts, atomic units, and ENS resolution.
Quickly locate and evaluate blockchain services, protocols, and platforms based on specific user requirements and technical criteria.
Skill for authenticating with the agentic payments wallet using a two-step email OTP process via the awal CLI, serving as a prerequisite for sending, trading, or funding operations.
Skill for adding USDC funds to the agentic wallet via Coinbase Onramp, supporting Apple Pay, debit cards, bank transfers, and Coinbase account funding methods.
Skill for querying onchain data (events, transactions, blocks, transfers) on Base using the CDP SQL API via x402, with CoinbaseQL syntax based on ClickHouse and indexed field requirements for performance.
Skill