{"uid":"cap_Z4da_y4cZ1stfeyijjUxQ","slug":"quantaflow-x402-api-gateway-alchemy-polygon-mainnet-9ab604e0","name":"QuantaFlow x402 API Gateway – Alchemy Polygon Mainnet","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/alchemy-polygon-mainnet?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WShJz4S8tzx-PchDsuahS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies paid API requests to Alchemy's Polygon Mainnet JSON-RPC endpoint using the x402 micropayment protocol at $0.01 USDC per call","exampleAgentPrompt":"Can you query the Alchemy Polygon Mainnet RPC for the current ETH balance of wallet address 0xAbC123... using the eth_getBalance method — pay the per-call fee automatically?","exampleUseCases":[{"title":"Check wallet balance on Polygon","prompt":"Look up the MATIC balance of wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Polygon Mainnet right now."},{"title":"Fetch latest Polygon block data","prompt":"Get the latest block number and its transaction count from Polygon Mainnet using eth_getBlockByNumber."},{"title":"Read smart contract state on Polygon","prompt":"Call the balanceOf function on the USDC contract at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on Polygon Mainnet for address 0xAbC123... and return the token balance."}],"resultDescription":"The raw upstream Alchemy Polygon Mainnet JSON-RPC response body is passed through directly after the x402 micropayment is settled — including block data, transaction receipts, account balances, contract call results, or any other standard Polygon RPC response payload, along with its content type.","failureModes":["Insufficient USDC balance for micropayment — payment fails and request is rejected","Invalid or malformed JSON-RPC path/body — upstream Alchemy returns an error response","Unsupported RPC method — Alchemy rejects the call with a method-not-found error","Rate limit or Alchemy-side outage — upstream returns 5xx or timeout","Incorrect query parameters — unexpected behavior or empty result from Alchemy","x402 facilitator unavailable — payment cannot be processed, request blocked"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to Alchemy's Polygon Mainnet RPC without committing to a subscription or managing API keys — ideal for agents that make infrequent or bursty blockchain queries and want to pay $0.01 USDC per call via the x402 micropayment protocol. Prefer this over direct Alchemy API access when your agent environment already handles x402 payments natively.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:44:15.364Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-alchemy-polygon-mainnet-9ab604e0"}