x402 Payment & Agentic Commerce Endpoint Auditor (MCP Ready)
Pricing
from $3.00 / 1,000 audited endpoint
x402 Payment & Agentic Commerce Endpoint Auditor (MCP Ready)
Bulk audit HTTP 402 (x402 v1/v2) paid APIs and domains. Decodes PAYMENT-REQUIRED headers, calculates exact USDC costs on Base & Solana, checks wallet/budget compatibility, and discovers .well-known A2A, MCP, OpenAPI & llms.txt manifests.
Pricing
from $3.00 / 1,000 audited endpoint
Rating
0.0
(0)
Developer
Kai-Chin Huang
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Bulk-inspect HTTP 402 (x402 v1 & v2) machine-payable APIs and company domains before your AI agent signs a spending mandate—or audit thousands of domains to map the emerging Agentic Commerce ecosystem.
Built specifically for autonomous AI agents (via Apify MCP Server), x402 API developers, crypto/fintech researchers, and agent directory indexers.
What Does This Actor Do?
- Decodes
x402v2 & v1 Payment Challenges- Parses
PAYMENT-REQUIRED(Base64 / Base64URL JSON headers),X-PAYMENT-REQUIRED, HTTP402JSON bodies,/.well-known/x402, andWWW-Authenticate(L402) headers.
- Parses
- Calculates Exact USD / Stablecoin Costs (BigInt-Safe)
- Converts atomic token base units (e.g.
"10000"on 6-decimal USDC) into exact human-readable decimals and USD prices across Base, Solana, Ethereum, Arbitrum, OP Mainnet, Polygon, and Avalanche (both Mainnet & Testnets via CAIP-2).
- Converts atomic token base units (e.g.
- Verifies Wallet & Budget Compatibility for AI Agents
- Checks whether an endpoint's accepted chains match your agent's
preferredNetworks(e.g.["base", "solana"]) and whethercheapestPriceUsdfits withinmaxPriceUsd.
- Checks whether an endpoint's accepted chains match your agent's
- Discovers
.well-knownAgentic Manifests- Automatically probes each origin (cached once per domain) for:
/.well-known/x402/.well-known/agent.json&/.well-known/agent-card.json(Google A2A Protocol)/.well-known/mcp.json(Model Context Protocol)/openapi.json/llms.txt
- Automatically probes each origin (cached once per domain) for:
- Validates Security & Spec Compliance
- Flags unencrypted
http://mainnet payment challenges, malformed EVM (0x...) or Solana (Base58)payTorecipient addresses, unrecognized token contracts, and invalid timeouts.
- Flags unencrypted
- Outputs Token-Efficient Markdown Briefs
- Every dataset record includes a
markdownBriefready to feed directly into Claude, Gemini, GPT, Cursor, or custom MCP agents.
- Every dataset record includes a
Example Output Record
{"url": "https://api.example.com/v2/enrich","origin": "https://api.example.com","httpStatus": 402,"isX402Detected": true,"x402Version": 2,"transportSource": "header:payment-required","cheapestPriceUsd": 0.005,"supportedNetworks": ["Base Mainnet", "Solana Mainnet"],"budgetFit": true,"walletCompatible": true,"agentReadinessScore": 90,"paymentOptions": [{"scheme": "exact","network": "Base Mainnet","networkRaw": "eip155:8453","networkSlug": "base","caip2": "eip155:8453","isTestnet": false,"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","tokenSymbol": "USDC","decimals": 6,"rawAmount": "5000","humanAmount": "0.005","usdEstimate": 0.005,"payTo": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F","maxTimeoutSeconds": 60,"description": "Per-request enrichment fee","mimeType": "application/json","hasOutputSchema": true}],"wellKnownDiscovery": {"x402Manifest": false,"a2aAgentCard": true,"a2aAgentName": "Example Data Agent","mcpManifest": true,"openApiSpec": true,"llmsTxt": true,"detectedPaths": {"/.well-known/agent.json": true,"/.well-known/mcp.json": true,"/openapi.json": true,"/llms.txt": true}},"validationWarnings": [],"responseTimeMs": 118,"markdownBrief": "### https://api.example.com/v2/enrich\n- **HTTP Status:** 402 (118 ms) | **Agent Readiness:** 90/100\n- **x402 Protocol:** v2 via `header:payment-required` | **Min Price:** $0.005 USD\n- **Networks:** Base Mainnet, Solana Mainnet | **Wallet Match:** Yes | **Within Budget:** Yes\n- **Discovered Manifests:** /.well-known/agent.json, /.well-known/mcp.json, /openapi.json, /llms.txt","auditedAt": "2026-11-29T22:20:00.000Z"}
Using with AI Agents (Apify MCP Server)
Connect this Actor directly to Claude Desktop, Cursor, Windsurf, or custom MCP clients via https://mcp.apify.com:
- Pre-flight Cost Guardrail: Ask your agent to audit an unknown x402 URL with
maxPriceUsd: 0.02andpreferredNetworks: ["base"]before authorizing payment. - Ecosystem Indexing: Feed a list of 1,000 developer domains to discover which companies expose A2A Agent Cards, MCP manifests, or x402 paid APIs.