
Pay For Service
This is how you call paid APIs that support the x402 protocol, which handles automatic USDC payments on Base. You give it a URL, optional POST data or query params, and optionally cap the payment amount. The skill validates inputs to prevent shell injection, checks your wallet is authenticated and funded, then fires off the request. It's the second half of a workflow where you search for services first, then actually call them. The honest take is that x402 is still niche, so you'll mostly use this if you're specifically working with services that charge per API call in USDC. If they don't support x402 payment headers, this won't help you.
- skills.sh installs
- 2.9K
- GitHub stars
- 128
- last updated
- Aug 21, 2026
Install
$ npx -y skills add coinbase/agentic-wallet-skills --skill pay-for-service --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is how you call paid APIs that support the x402 protocol, which handles automatic USDC payments on Base. You give it a URL, optional POST data or query params, and optionally cap the payment amount. The skill validates inputs to prevent shell injection, checks your wallet is authenticated and funded, then fires off the request. It's the second half of a workflow where you search for services first, then actually call them. The honest take is that x402 is still niche, so you'll mostly use this if you're specifically working with services that charge per API call in USDC. If they don't support x402 payment headers, this won't help you.
Browse the repository on GitHubSponsors