API: GET /archive
purpose
Public archive index and signed daily manifests. Raw receipt NDJSON parts are not published (they include payee addresses).
call
curl -sS 'https://botsrated.com/archive'
sample_response
source: live prod 200. Retention text in this body: raw archive receipt parts (since Oct 23, 2026) are kept for as long as BotsRated operates; nothing raw is pruned. fetched: live production, 24 Nov 2026 (counts redacted) trimmed: true
{
"service": "BotsRated",
"served_at": "2026-11-24T20:47:39.573Z",
"about": "Write-once day files. Dated signed dataset snapshots (each with its sha256 and ed25519 signature) and, for each UTC day, a signed manifest of the raw receipt parts. Raw gzip NDJSON parts are not published because they include payee addresses. Signed manifests, prune records, and redacted daily aggregates at /v1/history are public for as long as BotsRated operates. Pin a sha256 to reference an exact version.",
"retention": "Storage: raw archive receipt parts (since Oct 23, 2026) are kept for as long as BotsRated operates, dataset bodies are kept for as long as BotsRated operates; nothing raw is pruned. Signed manifests, signed daily aggregates (/v1/history), dataset .sig.json files and a signed prune record per pruned day are kept for as long as BotsRated operates and are never deleted by our pruning jobs, so any copy of a pruned object can be checked against its sha256.",
"datasets_count": "…",
"datasets_0": {
"generated_at": "2026-10-24T14:50:25Z",
"key": "dataset/2026-10-24T14:50:25Z.json.gz",
"sig_key": "dataset/2026-10-24T14:50:25Z.sig.json",
"sha256": "e9978c7d8ee17f80b5d777b5ac0939a688f230107c1ffb9ba262a53f6c6022a3",
"bytes": "…",
"key_id": "botsrated-prod-1",
"hosts": "…",
"url": "https://botsrated.com/archive/dataset/2026-10-24T14:50:25Z.json.gz",
"sig_url": "https://botsrated.com/archive/dataset/2026-10-24T14:50:25Z.sig.json",
"body": "stored"
},
"receipts_days_count": "…"
}
errors
| code | when | fix |
|---|---|---|
| missing or unsealed day | GET /archive/receipts/<day>/manifest.json for a day without a sealed manifest: 404 not_found. GET /archive takes no query parameters, so ?date= is ignored and the index comes back. | Read receipts_days[] from GET /archive and open its manifest_url. Raw parts are never published (404 not_published). A pruned dataset body is 410 dataset_body_pruned. |
notes
- Retention has layers, not one number: raw check rows stay 2 days in the live database; the site serves raw records for 7 days; raw archive receipt parts (since Oct 23, 2026) are kept for as long as BotsRated operates; signed manifests and signed daily summaries are kept for as long as BotsRated operates and are never deleted by our pruning jobs.