Coinbase/pay-for-service — Agent Skills | officialskills.sh
Back to skills

pay-for-service

communityworkflows

Calls paid API endpoints that use the x402 protocol, automatically handling USDC payments on Base.

Setup & Installation

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

What This Skill Does

Calls paid API endpoints that use the x402 protocol, automatically handling USDC payments on Base. You give it a URL and it negotiates payment, sends the request, and returns the response. Works with GET, POST, and other HTTP methods.

It handles the x402 payment negotiation and USDC transfer in one command, so you don't have to manually sign transactions or figure out the payment flow for each endpoint.

When to use it

  • Querying a paid weather API without manually handling crypto payments
  • Sending text to a paid sentiment analysis endpoint
  • Fetching premium data feeds that charge per request in USDC
  • Testing x402-compatible services during development
  • Calling a paid summarization API as part of a larger workflow