{"uid":"cap_Mr4wR3_ZQE645wj9BE7B7","slug":"quantaflow-x402-api-gateway-alchemy-pharos-mainnet-ef905639","name":"QuantaFlow x402 API Gateway – Alchemy Pharos 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-pharos-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_Wwc7GuUwQk2wDFDwkUg1g","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 the Alchemy Pharos mainnet node via the x402 micropayment protocol, charging $0.01 USDC per call.","exampleAgentPrompt":"Hit the Alchemy Pharos mainnet RPC to fetch the latest block number — forward a POST to the root path with body '{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1}' and pay the $0.01 USDC fee via x402.","exampleUseCases":[{"title":"Fetch latest Pharos block data","prompt":"Query the Alchemy Pharos mainnet to get the latest block number and hash — POST to the root RPC path with the standard eth_getBlockByNumber JSON-RPC body and pay the micropayment fee."},{"title":"Check smart contract state on Pharos","prompt":"Call eth_call on the Alchemy Pharos mainnet to read the current balance of a specific ERC-20 contract at address 0xABC...123 — forward the request body through the payment gateway and give me the result."},{"title":"Retrieve Pharos mainnet transaction receipt","prompt":"I need the transaction receipt for tx hash 0xDEF...456 on Pharos mainnet — send the eth_getTransactionReceipt JSON-RPC request through the Alchemy gateway and pay the $0.01 USDC fee."}],"resultDescription":"The raw upstream response body and content-type from the Alchemy Pharos mainnet API, passed through transparently after successful x402 micropayment verification. The agent receives whatever JSON-RPC or REST response the underlying Alchemy endpoint returns.","failureModes":["Payment failure or insufficient USDC balance — gateway rejects with 402 Payment Required","Invalid or malformed x402 payment header — request blocked before reaching upstream","Upstream Alchemy Pharos endpoint error — non-2xx status passed through from origin","Invalid JSON-RPC body — Alchemy returns a JSON-RPC error object","Rate limiting or node unavailability on Alchemy side — 503 or timeout","Incorrect path parameter — request routed to wrong upstream endpoint"],"whenToPreferThis":"Choose this endpoint when you need pay-as-you-go access to Alchemy's Pharos mainnet RPC without committing to a subscription or API key plan. Ideal for agents that make sporadic on-chain queries, want micropayment-based billing via USDC, or are operating in a web3-native x402 payment context. Prefer this over direct Alchemy subscriptions when the use case is low-volume, automated, or requires programmatic per-call payment settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:45:17.121Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-alchemy-pharos-mainnet-ef905639"}