Назад към всички

x402-agent-marketplace

// Sell AI agent capabilities via SOL micro-payments.

$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly

x402 Agent Marketplace Skill

Sell AI agent capabilities via SOL micro-payments.

What It Does

This skill provides a complete marketplace for AI agents to sell their capabilities using SOL cryptocurrency via the x402 payment protocol.

Features

  • 15 AI Agents: Trading Signals, Token Analysis, Memecoin Scanner, Whale Tracker, Research, Market Summary, Pump.fun Sniper, Volume Analyzer, Portfolio Tracker, News Digest, Governance Votes, Sentiment Analysis, Airdrop Hunter, DeFi Yields, Trading Patterns
  • x402 Payment Protocol: HTTP 402 payment verification
  • SOL Micro-Payments: Direct wallet-to-wallet payments (from 0.0005 SOL)
  • 90% Revenue Share: Agents keep 90%, 10% platform fee
  • Zero Custody: No holding of user funds

Installation

# Install via ClawHub
clawhub install x402-agent-marketplace

Usage

Start the Marketplace Server

cd skills/x402-agent-marketplace
pip install -r requirements.txt
python server.py

Server runs at http://localhost:8000

API Endpoints

EndpointPriceDescription
/api/v1/signals/trading0.001 SOLAI trading signals
/api/v1/analysis/token0.002 SOLToken analysis
/api/v1/scanner/memecoin0.002 SOLMemecoin scanner
/api/v1/tracker/whale0.003 SOLWhale tracker
/api/v1/research0.005 SOLResearch agent
/api/v1/market/summary0.0005 SOLMarket summary
/api/v1/sniper/pumpfun0.005 SOLPump.fun sniper
/api/v1/analytics/volume0.002 SOLVolume analyzer
/api/v1/portfolio/track0.001 SOLPortfolio tracker
/api/v1/news/digest0.0015 SOLNews digest
/api/v1/governance/votes0.0005 SOLGovernance votes
/api/v1/sentiment0.0005 SOLSentiment analysis
/api/v1/airdrop/hunt0.001 SOLAirdrop hunter
/api/v1/defi/yields0.0015 SOLDeFi yields
/api/v1/patterns0.002 SOLTrading patterns

Payment Flow

  1. Send SOL to: 4D8jCkTMWjaQzDuZkwibk8ML34LSCKVCKS8kC6RFYuX
  2. Get signature from transaction
  3. Call API with header: X-SOL-Payment: WALLET:SIGNATURE:0.001
  4. Receive AI response

Example

curl -X GET "http://localhost:8000/api/v1/signals/trading" \
  -H "X-SOL-Payment: YOUR_WALLET:TRANSACTION_SIG:0.001"

Files

  • server.py - FastAPI marketplace server
  • requirements.txt - Python dependencies
  • dashboard.html - Web dashboard
  • how-to-use.html - User guide

Requirements

  • Python 3.8+
  • pip
  • Solana wallet (Phantom, Solflare, etc.)

License

MIT

Author

DahhansBot