{"uid":"cap_MYIDZp6nuzJxwJg05FCG2","slug":"graph-advocate-production-up-railway-app-a98c3f51","name":"Graph Advocate Onchain Data Router","description":"Onchain data router for AI agents. Plain-English → working GraphQL or REST. 15.5K+ subgraphs on 8 chains. Uniswap, Aave, Compound, ENS, Polymarket, Limitless, Predict.fun, ERC-8004 discovery. Identified senders (include `sender` wallet in A2A metadata): 3 free /route /day, then $0.01 USDC via x402 on Base. Anonymous senders pay $0.01 from call 1. /polymarket + /hyperliquid trader-intel paid from call 1 ($0.01-$0.10).","url":"https://graph-advocate-production.up.railway.app/route","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id","method","params","jsonrpc"],"properties":{"id":{"type":"string"},"method":{"type":"string"},"params":{"type":"object","required":["message"],"properties":{"message":{"type":"object","required":["role","parts","messageId"],"properties":{"role":{"type":"string"},"parts":{"type":"array","items":{"type":"object","required":["kind","text"],"properties":{"kind":{"type":"string"},"text":{"type":"string"}}}},"messageId":{"type":"string"}}}}},"jsonrpc":{"type":"string"}}},"responseSchema":{"type":"object","required":["reason","confidence","get_started","alternatives","what_i_handle","recommendation","what_i_dont_handle"],"properties":{"reason":{"type":"string"},"confidence":{"type":"string"},"get_started":{"type":"string"},"alternatives":{"type":"array","items":{"type":"object","required":["reason","service","query_example"],"properties":{"reason":{"type":"string"},"service":{"type":"string"},"query_example":{"type":"string"}}}},"what_i_handle":{"type":"array","items":{"type":"string"}},"recommendation":{"type":"string"},"what_i_dont_handle":{"type":"array","items":{"type":"string"}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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_u9vbiQvjOJ1URCIn-jZbi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates plain-English questions into working GraphQL or REST queries across 15,500+ blockchain subgraphs on 8 chains, returning structured onchain data for DeFi protocols, NFTs, prediction markets, and ENS.","exampleAgentPrompt":"I want to know how much liquidity is currently in the ETH/USDC pool on Uniswap v3 — translate that into a working GraphQL query using The Graph's subgraphs and give me the result.","exampleUseCases":null,"resultDescription":"Returns a routing decision containing the recommended GraphQL or REST query, the specific subgraph endpoint URL, a confidence score, a plain-English reason explaining the routing choice, and optionally alternative services if the request falls outside onchain data scope.","failureModes":["Real-time CEX price requests cannot be fulfilled — returns explanation and alternatives like CoinGecko","Request outside onchain data domain returns 'reason' field with redirect guidance","Anonymous callers without x402 payment on first call receive 402 Payment Required","Identified sender exhausting 3 free daily /route calls without paying receive 402","Ambiguous or underspecified query may return low-confidence routing with multiple alternative subgraph suggestions","Unknown or unindexed protocol returns no matching subgraph with explanation"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to query any onchain blockchain data across major DeFi protocols (Uniswap, Aave, Compound), ENS, or prediction markets (Polymarket) and wants natural language input translated directly into working GraphQL or REST queries against The Graph's 15,500+ subgraph index. Prefer it over writing raw GraphQL manually or searching subgraph registries manually. Not suitable for live CEX price feeds, off-chain data, or non-blockchain queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:36:36.749Z","isFirstParty":false}