Natural-language Q&A over the x402 Base settlements warehouse
Natural-language Q&A over the x402 Base settlements warehouse. POST {question}. Backed by 132M settlement rows on Cloudflare R2 + pre-aggregated daily_stats (388 days, May 2025 - Jun 2026), queried via Anthropic Sonnet + DuckDB. Returns {answer, sql_trace, model, upstream_ms}; sql_trace lets the caller verify the data path is real, not hallucinated. $0.05 USDC on Base.
50000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-12
updated
Provider
graphadvocate.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0FF5A6ecef783BBA35463ec2F8403B9B5e9e7C86",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"question": "Top 10 recipient addresses by payment count in the last 30 days"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"answer": "# Top 10 recipients\n| Rank | Address | Count | USDC |\n...",
"dataset": "base-x402-settlements via x402-watch.vercel.app",
"model": "claude-sonnet-4-6",
"question": "Top 10 recipient addresses last 30 days",
"sql_trace": [
{
"ms": 1350,
"rows": 10,
"sql": "SELECT recipient, COUNT(*) AS payment_count, SUM(amount::DECIMAL(38,0))/1e6 AS usdc_total FROM settlements WHERE block_number >= 45553999 GROUP BY recipient ORDER BY payment_count DESC LIMIT 10"
}
],
"upstream_ms": 3500
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"question": {
"description": "Plain-English question about x402 Base settlements",
"maxLength": 1000,
"type": "string"
}
},
"required": [
"question"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"answer": {
"type": "string"
},
"dataset": {
"type": "string"
},
"model": {
"type": "string"
},
"question": {
"type": "string"
},
"sql_trace": {
"type": "array"
},
"upstream_ms": {
"type": "number"
}
},
"required": [
"answer",
"sql_trace",
"model"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://graphadvocate.com/ask" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://graphadvocate.com/ask");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://graphadvocate.com/ask")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5017.json, and this resource appears in /discovery/resources and /discovery/search.