{"uid":"cap_SKMcMU3YQPEZ4dRq7y0Ck","slug":"phoenix-zero-l2-health-oracle-68ae16d5","name":"Phoenix Zero L2 Health Oracle","description":"Real-time L2 sequencer health across 12 chains (Base, Arbitrum, Optimism, zkSync, Blast, Linea, Mantle, Mode, Scroll, Taiko, Polygon zkEVM, Casper). Returns kernel-level P99/P95 RTT from eBPF probes, revert ratios, gas pressure, and execution recommendation.","url":"https://rtt.phoenix-ai.work/api/v1/health","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"chains":{"type":"object","description":"Per-chain P99/P95 RTT in ms, stall flag, last-updated unix timestamp. Chains: base, arbitrum, optimism, zksync, blast, linea, mantle, mode, scroll, taiko, polygon_zkevm, casper"},"timestamp":{"type":"string","description":"ISO 8601 UTC timestamp"},"gas_pressure":{"type":"number","description":"L1 gas price in gwei"},"blob_base_fee":{"type":"number","description":"EIP-4844 blob base fee"},"recommendation":{"enum":["SAFE_TO_EXECUTE","ELEVATED_RISK","HIGH_RISK","STALL_DETECTED"],"type":"string"},"arb_revert_ratio":{"type":"number","description":"Fraction of reverted txs on Arbitrum (0.0-1.0)"},"base_revert_ratio":{"type":"number","description":"Fraction of reverted txs on Base (0.0-1.0)"}}}}}}},"responseSchema":null,"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_hSJDmRpXBk5v21WXcRnGt","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":"Returns real-time health metrics for 12 L2 chains including P99/P95 RTT, revert ratios, gas pressure, blob base fee, and an execution safety recommendation","exampleAgentPrompt":"Before I submit this transaction, check the current L2 sequencer health across Base, Arbitrum, and Optimism — I need to know if there are any stalls, what the revert ratios look like, and whether it's safe to execute right now.","exampleUseCases":[{"title":"Pre-flight check before DeFi trade","prompt":"I'm about to execute a large swap on Arbitrum — can you check whether the sequencer is healthy, what the current revert ratio is, and whether Phoenix Zero says it's safe to execute or if I should wait?"},{"title":"Gas timing for multi-chain deployment","prompt":"I need to deploy contracts to Base, Optimism, and zkSync — what's the current L1 gas pressure and blob base fee, and which of those chains has the lowest latency and best execution recommendation right now?"},{"title":"Alerting on L2 stall detection","prompt":"Keep an eye on all 12 L2 chains and alert me immediately if Phoenix Zero detects a stall or returns a HIGH_RISK or STALL_DETECTED recommendation for any of them."}],"resultDescription":"A JSON object containing per-chain health data (P99/P95 RTT in ms, stall flag, last-updated timestamp) for all 12 supported chains (Base, Arbitrum, Optimism, zkSync, Blast, Linea, Mantle, Mode, Scroll, Taiko, Polygon zkEVM, Casper), plus global metrics: L1 gas price in gwei, EIP-4844 blob base fee, Arbitrum revert ratio, Base revert ratio, an ISO 8601 UTC timestamp, and a top-level recommendation enum (SAFE_TO_EXECUTE, ELEVATED_RISK, HIGH_RISK, or STALL_DETECTED).","failureModes":["Payment not included or invalid — 402 response requiring x402 USDC payment","Upstream sequencer probe failure — partial data returned with stale timestamps for affected chains","Rate limiting if called excessively — 429 response","Service unavailable — 503 if eBPF probe infrastructure is down","Malformed response if a chain is newly unsupported or deprecated"],"whenToPreferThis":"Choose this endpoint when you need a single aggregated health snapshot across all major L2 chains simultaneously, especially when you need kernel-level RTT precision from eBPF probes rather than RPC polling heuristics. Prefer this over chain-specific RPC calls when making cross-chain routing decisions or pre-flight safety checks before high-value transactions, as it provides a unified execution recommendation rather than raw data you'd have to interpret yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:58.998Z","isFirstParty":false}