{"uid":"cap_HO8aIwQRZYwE3rTKCWDv4","slug":"quantaflow-x402-api-gateway-alchemy-zksync-mainnet-68d0dc7c","name":"QuantaFlow x402 API Gateway – Alchemy zkSync 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-zksync-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_WVGnJtviezZSICJnjI8Jf","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 requests to the Alchemy zkSync Mainnet RPC/API with per-call micropayment settlement via the x402 protocol","exampleAgentPrompt":"Call the Alchemy zkSync mainnet API to get the current ETH balance for address 0xAbCd...1234 — use the eth_getBalance JSON-RPC method and pay the $0.01 USDC fee per call.","exampleUseCases":[{"title":"Check zkSync token balance","prompt":"Look up the ETH balance for wallet address 0x1234...abcd on zkSync mainnet using the Alchemy API — it's a pay-per-use call so go ahead and pay the micro fee."},{"title":"Fetch zkSync transaction receipt","prompt":"Get me the transaction receipt for tx hash 0xdeadbeef...7890 on zkSync mainnet via Alchemy — call eth_getTransactionReceipt and pay the $0.01 per-call fee."},{"title":"Query zkSync smart contract state","prompt":"I need to do an eth_call to the zkSync mainnet contract at 0xContractAddr...5678 to read its totalSupply — use the Alchemy gateway, path /v2/{apiKey}, and pay per use with x402."}],"resultDescription":"The raw upstream Alchemy zkSync Mainnet API response body (JSON-RPC result, token data, transaction info, etc.) and its content type are passed through transparently after the x402 micropayment is settled. The agent receives exactly what Alchemy would return directly.","failureModes":["Payment failure: insufficient USDC balance or invalid x402 payment header results in 402 Payment Required","Invalid path: unrecognized path below the upstream origin returns an upstream 404 or gateway error","Malformed body: invalid JSON body forwarded to a POST endpoint may return Alchemy 400 Bad Request","Rate limiting: Alchemy upstream may throttle or reject requests returning 429","Network error: zkSync mainnet RPC node unavailability may cause 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use, no-subscription access to Alchemy's zkSync Mainnet APIs (RPC, enhanced APIs, NFT data, etc.) and want to settle costs via x402 USDC micropayments rather than managing an Alchemy API key subscription. Ideal for agents that make infrequent or unpredictable zkSync calls and prefer on-chain payment over OAuth/API-key auth.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:38:35.975Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-alchemy-zksync-mainnet-68d0dc7c"}