Micropayment-powered API network for AI agents. 16 endpoints, USDC on Base L2. Built with x402 protocol.
x402-api-network is an early-stage JavaScript project in the AI payments / x402 ecosystem, focused on ai-agents, ai-content-generation, api, base-chain. It currently has 1 GitHub stars and 0 forks, and sits alongside related tools like mcp-proxy, APIMesh, conway, x402-discovery-mcp, cerebrus-pulse-mcp, pylon.
Micropayment-powered API network for AI agents. Pay per API call with USDC on Base L2.
Built with the x402 protocol — HTTP 402 Payment Required.
Base URL: https://x402.fatihai.app
Discovery:
GET / — Free endpoint listingGET /.well-known/x402 — Machine-readable manifestGET /llms.txt — AI crawler discoveryGET /health — Health check| Endpoint | Method | Price | Description |
|---|---|---|---|
/api/verify-email |
POST | $0.01 | Email verification: syntax, MX, disposable, role-based, scoring 0-100 |
/api/domain-health |
POST | $0.01 | Domain email health: MX, SPF, DKIM, DMARC analysis |
/api/scrape |
GET | $0.01 | Web scraping: text, links, images, headings extraction |
/api/ai-generate |
POST | $0.05 | AI content generation (Llama 3.3 70B): blog, email, social, SEO |
| Endpoint | Method | Price | Description |
|---|---|---|---|
/api/dns-lookup |
GET | $0.001 | DNS records (A, AAAA, MX, TXT, NS) |
/api/whois |
GET | $0.005 | WHOIS domain information |
/api/ip-info |
GET | $0.001 | IP reverse DNS and type detection |
/api/qr-code |
GET | $0.002 | QR code generation (base64 PNG) |
/api/url-meta |
GET | $0.003 | URL metadata extraction (title, OG tags) |
/api/html-to-markdown |
GET | $0.002 | HTML to Markdown conversion |
/api/ssl-check |
GET | $0.003 | SSL/TLS certificate details |
/api/http-headers |
GET | $0.001 | HTTP response headers |
/api/password-strength |
GET | $0.001 | Password strength analysis |
/api/text-stats |
GET | $0.001 | Text word/sentence/reading time stats |
/api/json-format |
POST | $0.001 | JSON formatting and validation |
/api/base64 |
POST | $0.001 | Base64 encode/decode |
PAYMENT-SIGNATURE headerimport { x402Client } from '@x402/core/client';
const client = new x402Client({
privateKey: '0xYourPrivateKey',
network: 'eip155:8453',
});
const result = await client.get('https://x402.fatihai.app/api/dns-lookup?domain=google.com');
console.log(result);
See claude-desktop-config.example.json for Claude Desktop MCP integration.
# Email verification
curl -X POST https://x402.fatihai.app/api/verify-email \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]"}'
# AI content generation
curl -X POST https://x402.fatihai.app/api/ai-generate \
-H "Content-Type: application/json" \
-d '{"topic":"AI micropayments","type":"blog_post"}'
# Web scraping
curl "https://x402.fatihai.app/api/scrape?url=https://example.com"
git clone https://github.com/user/x402-api-network.git
cd x402-api-network
npm install
cp .env.example .env # Configure wallet and CDP keys
npm start
| Variable | Description |
|---|---|
PORT |
Server port (default: 4021) |
WALLET_ADDRESS |
Your EVM wallet address (receives payments) |
WALLET_PRIVATE_KEY |
Wallet private key |
CDP_API_KEY_ID |
Coinbase Developer Platform API key ID |
CDP_API_KEY_SECRET |
CDP API key secret |
NETWORK |
Chain ID (default: eip155:8453 for Base) |
GROQ_API_KEY |
Groq API key for AI content generation |
x402 API Network
├── server.js # Express server + x402 middleware + 16 API handlers
├── mcp-server.js # MCP server for Claude Desktop integration
├── .well-known/x402 # Machine-readable discovery manifest
├── /llms.txt # AI crawler discovery
└── /health # Health check endpoint
This API is discoverable via:
/discovery/resources endpoint.well-known/x402 — Standard machine-readable manifestllms.txt — AI search engine optimization_x402.x402.fatihai.app discovery recordMIT
Apollo Intelligence MCP Server — 36 AI-curated data tools via x402 micropayments. OSINT, DeFi, economic data, security, weather, ML/NLP, and proxy infrastructure. Official MCP Registry: team.apolloai/intelligence
APIMesh — 23 pay-per-call web analysis APIs + 16-tool MCP server with autonomous API generation. Security audits, SEO, tech stack detection. x402 + Stripe MPP payments.
APIMesh — 23 pay-per-call web analysis APIs + 16-tool MCP server with autonomous API generation. Security audits, SEO, tech stack detection. x402 + Stripe MPP payments.
MCP server for x402 Service Discovery — continuously growing catalog of services, real-time quality signals, facilitator-compat checks. For Claude, Cursor, Windsurf.
MCP server for real-time crypto intelligence — 15 tools for technical analysis, liquidation heatmaps, market stress, funding rates across 50+ Hyperliquid perpetuals. CLI + MCP. x402 micropayments.
Pylon AI — Pay-per-request APIs for the agent economy. Powered by x402 micropayments on Base.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
DePIN for Vintage Hardware — Proof-of-Antiquity blockchain where old machines outmine new ones. AI-powered hardware fingerprinting, 15+ CPU architectures, Solana bridge (wRTC). $0 VC.
🚀 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.
Client SDK for the Vybe x402 API. Pay-per-call USDC over HTTP and prepaid-credit WebSocket streaming for Vybe's Solana analytics API. Built for AI agents.
The financial operating system for AI agents. A single HTTP client that intercepts '402 Payment Required', routes across x402, L402, and MPP, persists credentials as recoverable assets, enforces per-envelope budgets, and emits a structured trace.