BotsRated

Help › How-tos

API: GET /v1/history

purpose

Signed daily aggregates for a host (free). Payee addresses are keyed hashes, not raw payTo.

call

curl -sS 'https://botsrated.com/v1/history?host=api.agentweather.io&days=3'
# optional: &as_of=2026-11-17

sample_response

source: live prod 200 fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true

{
  "service": "BotsRated",
  "host": "api.agentweather.io",
  "days_requested": 3,
  "days_returned": 3,
  "order": "newest first",
  "about": "Public history of what BotsRated recorded. x402 daily aggregates are signed ed25519 by key botsrated-prober-1 over the stored canonical JSON without sig. This public view withholds clear payee addresses and shows keyed HMAC-SHA256 hashes instead, so the stored signature will not verify on the redacted JSON. receipt_ids list every receipt of that day; receipts_sha256 is sha256 of those lines joined with \\n. Raw NDJSON parts are not published (they include payee addresses). The signed manifest for the day is at /archive/receipts/<day>/manifest.json. MCP as-of rows are checks we still have for that UTC day; if a day has no stored check we say so. Official MCP Registry snapshots, when they exist for the date, are listed separately and were not backfilled before snapshots started.",
  "daily_0": {
    "kind": "daily_aggregate",
    "schema": "botsrated-daily-1",
    "rollup_version": "0.3",
    "host": "api.agentweather.io",
    "day": "2026-11-23",
    "probes": "…",
    "primary_route_probes": "…",
    "extra_route_probes": 0,
    "valid_402": 35,
    "reachable": 35,
    "free_200": 0,
    "primary_valid_402": 35,
    "status_counts": {
      "402": 35
    },
    "error_counts": {},
    "latency_ms_primary": {
      "n": "…",
      "p50": "…",
      "p90": "…",
      "max": "…"
    },
    "quoted_amounts_atomic": {
      "10000": 35
    },
    "assets_seen": [
      "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
    ],
    "networks_seen": [
      "eip155:8453"
    ]
  }
}

errors

codewhenfix
missing_host (live 400)No ?host=.Pass ?host=. Hint also documents as_of=YYYY-MM-DD.