# X402 Solver Gateway > Pay-per-call developer and on-chain utilities for AI agents: web to markdown, secret scanner, Solidity audit, token risk, Chainlink BTC/USD, swap payload builder, AI chat, summarize, translate and code review. Every route accepts GET query parameters or a POST JSON body with the same fields. Settlement is USDC on Base. ## Endpoints - GET https://x402-solver-gateway.alfrexo95.workers.dev/v1/extract : Fetch a URL and return clean text/markdown. Use to read a web page cheaply. [0.003 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/scan/secrets : Detect leaked API keys, tokens and private keys in text before publishing. [0.002 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/audit/solidity : Static Solidity audit for common issues (tx.origin, delegatecall, reentrancy patterns). [0.02 USDC] - GET https://x402-solver-gateway.alfrexo95.workers.dev/v1/token : Token risk report from DexScreener liquidity and volume signals. [0.005 USDC] - GET https://x402-solver-gateway.alfrexo95.workers.dev/v1/token/trading : Current price, liquidity and 24h volume of a token via DexScreener. [0.005 USDC] - GET https://x402-solver-gateway.alfrexo95.workers.dev/v1/chainlink/price : On-chain Chainlink BTC/USD price. [0.003 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/execute/swap : Builds an unsigned swap instruction payload. Does not move funds. [0.01 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/ai/chat : General AI chat completion (Llama 3.3 70B with automatic fallback). [0.003 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/ai/summarize : Summarize text into 3 key points. [0.002 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/ai/translate : Translate text into any language. [0.003 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/ai/code : AI code audit with Qwen2.5-Coder. [0.005 USDC] - POST https://x402-solver-gateway.alfrexo95.workers.dev/v1/ai/data-analysis : Numeric statistics (count, mean, median, min, max) over a JSON array of records. [0.004 USDC] ## Payment (x402 v2) 1. Call a paid endpoint without payment: HTTP 402 with a PAYMENT-REQUIRED header (base64 JSON: amount, asset, payTo, network, input/output schema). 2. Sign an EIP-3009 transferWithAuthorization for the stated USDC amount (eip155:8453). 3. Retry the same request with the PAYMENT-SIGNATURE header. ## Discovery - https://x402-solver-gateway.alfrexo95.workers.dev/.well-known/x402 - https://x402-solver-gateway.alfrexo95.workers.dev/openapi.json - https://x402-solver-gateway.alfrexo95.workers.dev/.well-known/agent-card.json - MCP (JSON-RPC over HTTP): https://x402-solver-gateway.alfrexo95.workers.dev/mcp