ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 4/5

openclaw-x402-skill

Discover, browse, filter, and pay for x402-compatible API endpoints and MCP tools from the x402 Bazaar — the autonomous discovery layer for agentic payments. Browse all available services, filter by price or type, inspect payment requirements, and call any discovered endpoint using USDC micropayments on Base with no API keys or account setup. Use when the agent needs to find a payable API service, check what x402 services exist for a given task (web scraping, AI inference, weather data, market data), pay for a single API call via x402, or list services under a given price threshold. Requires EVM_PRIVATE_KEY in .env (Base wallet with USDC) for paid calls. Discovery browsing requires no keys at all.

Why use this skill?

Integrate the x402 Bazaar into OpenClaw to discover, browse, and pay for API services and MCP tools using USDC on Base. Automate your agent's API access today.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/coinvest518/openclaw-x402-skill
Or

What This Skill Does

The openclaw-x402-skill enables your OpenClaw agent to interact with the x402 Bazaar, a specialized marketplace for autonomous, machine-readable API endpoints and MCP (Model Context Protocol) tools. By utilizing this skill, your agent can discover, filter, and pay for services directly on the Base blockchain using USDC. This removes the friction of traditional API key management, account creation, or manual subscription setups. Whether you need real-time weather data, advanced AI inference, or web scraping capabilities, this skill allows the agent to find the most cost-effective service, handle the micropayment settlement, and execute the request autonomously. It acts as the bridge between your agent's task requirements and the decentralized economy of paid API services.

Installation

To integrate this skill, navigate to your OpenClaw environment and execute the following installation command: clawhub install openclaw/skills/skills/coinvest518/openclaw-x402-skill. After installation, navigate to the skill directory cd ~/clawd/skills/x402-bazaar/ and install dependencies using pip install -r requirements.txt. For discovery-only operations, no credentials are required. To enable payment functionality, create or update your .env file to include your EVM_PRIVATE_KEY for a Base wallet containing USDC, and set MAX_SPEND_PER_CALL to define your risk appetite for automatic transactions.

Use Cases

This skill is ideal for agents tasked with data gathering or service execution that requires high-quality, paid data sources without the overhead of enterprise contracts. Use it when your agent needs to fetch market data, perform complex web scraping, or utilize specific AI models not available locally. It excels in scenarios where the agent must compare pricing between multiple service providers to ensure the most economical choice for a specific request. By automating the payment flow, the agent can operate continuously across diverse providers without human intervention for billing or authentication.

Example Prompts

  1. "Find the cheapest x402 web scraping API and use it to extract the main content from https://example-tech-blog.com."
  2. "Search for x402 services related to financial market data that cost less than $0.05 per request."
  3. "Call the x402 weather service at https://api.example.com/weather?location=Tokyo and provide me with the current temperature."

Tips & Limitations

Always set a conservative MAX_SPEND_PER_CALL in your environment variables to prevent accidental overspending on high-cost API services. While discovery is anonymous, ensure your Base wallet is adequately funded before attempting to trigger paid calls. This skill does not support selling services or checking native wallet balances; for those actions, consult the OpenClaw wallet management or platform documentation. Always inspect the service URL before confirming a paid transaction if the endpoint is unfamiliar.

Metadata

Stars3409
Views1
Updated2026-03-25
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-coinvest518-openclaw-x402-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#x402#blockchain#payments#api#agentic
Safety Score: 4/5

Flags: network-access, external-api, code-execution