{"uid":"cap_M3cyPllGFsop2xYR8xzzW","slug":"meryol-payai-cross-chain-token-price-sanity-check-8ae3ecd6","name":"meryol-payai Cross-Chain Token Price Sanity Check","description":"Pre-quote price sanity check: median across CoinGecko + DexScreener + GeckoTerminal with per-source quotes and spread in bps (broken >20%-off sources excluded from spread, kept visible). token = ticker (eth/btc/usdc/usdt/dai/aero…) or any ERC-20 address. Detects stale or divergent feeds before an agent quotes or trades. Chains: ethereum, base, arbitrum, optimism.","url":"https://meryol-payai.hf.space/price/cross/:chain/:token?utm_source=zero.xyz","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"},"pathParams":{"type":"object","required":["chain","token"],"properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism"],"type":"string"},"token":{"type":"string","description":"ticker (eth/usdc/aero) or 0x address"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["median_price_usd","sources"]}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"chain":"base","token":"aero"}}},"response":{"chain":"base","notes":[],"sources":[{"note":null,"source":"coingecko","price_usd":0.338972},{"note":null,"source":"dexscreener","price_usd":0.3397},{"note":null,"source":"geckoterminal","price_usd":0.3387811553},{"note":null,"source":"coingecko","price_usd":0.338972}],"requested":"aero","spread_bps":27,"median_price_usd":0.338972}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cAdTyx8A9nF659URGfZdh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a median token price in USD aggregated from CoinGecko, DexScreener, and GeckoTerminal, with per-source quotes, spread in basis points, and stale/divergent feed detection.","exampleAgentPrompt":"Before I swap, do a cross-source price sanity check on AERO on Base — give me the median price, per-source quotes from CoinGecko/DexScreener/GeckoTerminal, and the spread in basis points so I can spot any stale or divergent feeds.","exampleUseCases":null,"resultDescription":"Returns a median_price_usd computed across up to three sources (CoinGecko, DexScreener, GeckoTerminal), individual per-source quotes, spread in basis points between agreeing sources, and flags for sources excluded due to >20% divergence or staleness.","failureModes":["Token not found on any source — returns error or null price","Chain not supported — 400/422 for values outside ethereum/base/arbitrum/optimism enum","All sources diverge beyond 20% — spread cannot be computed from agreeing sources","Network timeout to upstream price feeds — may return partial data","Invalid ERC-20 address format — path param rejected","Payment not included — 402 payment required response"],"whenToPreferThis":"Use this endpoint when an agent needs to validate a token price before quoting or executing a trade, especially when you want multi-source consensus and automatic detection of stale or manipulated feeds. Prefer this over a single-source price API when spread and divergence detection are important for risk management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:38:15.723Z","isFirstParty":false,"canonicalSlug":"meryol-payai-cross-chain-token-price-sanity-check-8ae3ecd6"}