← Back to marketplace

Graph Advocate — Onchain Data Routing Agent

external

Claude-powered routing agent for The Graph Protocol. Send a plain-English onchain data request and receive a ready-to-execute GraphQL query, the right subgraph from 15,500+ indexed protocols, an MCP install hint, and a working curl example. Free tier: 10 queries/day, then $0.01 USDC on Base via x402.

by Railway1 endpoint100% uptime333ms avg

Price

from $0.0100

per request

Network

base

Category

ai

On-chain txns

3

Uptime

100%

Avg latency

333ms

Checks

39

Status

Healthy

Base URL

https://graph-advocate-production.up.railway.app

Endpoints (1)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST/route
base$0.0100

Route a plain-English onchain data request through Graph Advocate. Returns the best Graph Protocol service (subgraph, Token API, Substreams, or MCP package) with a ready-to-execute query, subgraph ID, install hint, and a working curl example. Powered by Claude with auto-search across 15,500+ subgraphs.

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://graph-advocate-production.up.railway.app \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://graph-advocate-production.up.railway.app
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://graph-advocate-production.up.railway.app", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.