Wallet-signed, pay-per-request data utilities (CSV validation, data cleaning, PDF extraction) using the x402 HTTP payment flow.
x402-data-utils is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on api, coinbase, csv, data-cleaning. It currently has 2 GitHub stars and 0 forks, and sits alongside related tools like x402-wiki, gold-402, x402charity, x402-Five-Proxy, Franklin, awesome-x402.
End-to-end data utility service (FastAPI backend + Next.js frontend) gated by a local x402-style invoice/signature flow. No blockchain calls or real payments.
POST /validate/csv ($0.01)POST /clean/dataframe ($0.05)POST /extract/pdf ($0.05) — now text-only (tables removed)POST /summarize/logs ($0.02)x402-local-wallet|invoice_id=<id>|path=<path>|price=<price>|pay_to=<pay_to>|nonce=<nonce>|expires_at=<expires_at>X-X402-Proof (base64 JSON: {invoice, payer, signature}).X-X402-Receipt, X-X402-Payer (plus price/path/pay_to).PAY_TO_ADDRESS (required)INVOICE_TTL_SECONDS (optional, default 300)REDIS_URL (optional; if absent, in-memory store is used)NEXT_PUBLIC_API_BASE (frontend) — API base URL (e.g., http://localhost:8000 or your Render URL)backend/)python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r backend/requirements.txt
export PAY_TO_ADDRESS=0x1111111111111111111111111111111111111111
uvicorn backend.main:app --reload
# Docs: http://127.0.0.1:8000/docs
Render deploy: use Procfile (web: uvicorn backend.main:app --host 0.0.0.0 --port ${PORT}) and set PAY_TO_ADDRESS (and REDIS_URL if desired).
website/)cd website
npm install
export NEXT_PUBLIC_API_BASE=http://127.0.0.1:8000 # or your Render backend URL
npm run dev
Vercel deploy: set project root to website/, build npm run build, and set NEXT_PUBLIC_API_BASE to your backend URL. Base path/asset prefix are /x402 for path-based hosting.
Current frontend + wallet-signed flow is hosted at https://www.devank.cv/x402 (path-based, mock local wallet signing).
python backend/demo_wallet_client.py
Shows 402 invoice -> signed proof -> 200 receipt -> replay rejected.
pytest
(Requires PAY_TO_ADDRESS set; tests use in-memory store.)
{
"invoice_id": "<uuid>",
"path": "/summarize/logs",
"price": "0.03",
"pay_to": "<pay_to_address>",
"nonce": "<random>",
"issued_at": "<iso>",
"expires_at": "<iso>",
"asset": "local-usdc",
"chain": "local",
"domain": "x402-local-wallet"
}
The x402 Service Encyclopedia — Every service ranked, reviewed, and documented. Community knowledge base for the AI agent economy.
⚡ The gold standard for x402 resources. 300+ projects, SDKs, tools, facilitators, and ecosystem data for the HTTP 402 Payment Required protocol. Curated by 24K Labs.
Automatic micro-donations powered by x402. Drop-in Express/Next.js middleware that sends USDC to charities on every user action. npm install x402charity.
A Next.js proxy implementing end-to-end x402 gateway integration — enabling payment-gated APIs and resources with on-chain USDC settlement on Solana, no accounts required.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
🚀 Curated list of x402 resources: HTTP 402 Payment Required protocol for blockchain payments, crypto micropayments, AI agents, API monetization. Includes SDKs (TypeScript, Python, Rust), examples, facilitators (Coinbase, Cloudflare), MCP integration, tutorials. Accept USDC payments with one line of code. Perfect for AI agent economy.
A payments protocol for the internet. Built on HTTP.
Self-healing infrastructure for AI agent payments. 90.3% auto-recovery.
Daydreams is a set of tools for building agents for commerce
The best way to monetize AI applications & MCP, using x402, CDP Smart Wallets & Paymaster
URL shortener
AWS payment demo of x402 using Bedrock AgentCore, Strands SDK, and CloudFront.