coinbase avatar

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-code

Installs 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 GitHub

Sponsors

Details

Repository
github.com/coinbase/agentic-wallet-skills
Categories
Backend & APIs, AI & Agent Building, Finance & Trading, Web3 & Blockchain

More from coinbase/agentic-wallet-skills

All 10
1actionbook avatardomain-iotactionbook/rust-skillsUse when building IoT apps. Keywords: IoT, Internet of Things, sensor, MQTT, device, edge computing, telemetry, actuator, smart home, gateway, protocol, 物联网, 传感2.9Kskills.sh installs
2wordpress avatarwp-abilities-auditwordpress/agent-skillsAudit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML sch2.9Kskills.sh installs
3elastic avatarkibana-streamselastic/agent-skillsList, inspect, enable, disable, and resync Kibana Streams via the REST API. Use when the user needs stream details, ingest/query settings, queries, significant 2.9Kskills.sh installs
4binance avatarspotbinance/binance-skills-hubBinance Spot request using the Binance API. Authentication requires API key and secret key. Supports testnet, mainnet, and demo.2.9Kskills.sh installs
5onmax avatarnuxt-modulesonmax/nuxt-skillsUse when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components,2.9Kskills.sh installs
6elastic avatarkibana-connectorselastic/agent-skillsCreate and manage Kibana connectors for Slack, PagerDuty, Jira, webhooks, and more via REST API or Terraform. Use when configuring third-party integrations or m2.9Kskills.sh installs