{
  "x402Version": 2,
  "id": 5017,
  "slug": "5017",
  "resource": "https://graphadvocate.com/ask",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0FF5A6ecef783BBA35463ec2F8403B9B5e9e7C86",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "graphadvocate.com",
  "lastUpdated": "2026-09-12T00:24:14.82Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-12T00:24:14.608Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "graphadvocate.com",
    "manifest_name": "graphadvocate.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}