# Webbersites Agent Datastore — Collection Reader

> Webbersites Agent Datastore — Collection Reader is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves stored rows from a named collection owned by the calling wallet, supporting pagination, sort order, and incremental polling via a `since` timestamp filter, returning JSON or CSV.

## Facts

- Endpoint: DELETE https://api.webbersites.com/api/store/:collection
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webbersites-agent-datastore-collection-reader-2549ecf5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3mAwH2GMda7NJc1C_eoIE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability webbersites-agent-datastore-collection-reader-2549ecf5 -d '<json body>'
```

Example prompt: Fetch the last 50 rows from my 'user-events' collection in descending order — only entries created after 2025-06-01T00:00:00Z — and return them as JSON.

## When to prefer this

Use this endpoint when your agent needs to read back data it previously stored in a Webbersites wallet-scoped datastore collection, especially for incremental polling workflows (using the `since` filter to fetch only new rows since the last check), paginated retrieval of large datasets, or exporting stored rows as CSV. Prefer this over generic storage APIs when already operating within the Webbersites x402 ecosystem.

## Known failure modes

- Collection not found or not owned by the calling wallet — returns 404 or empty rows
- Invalid since timestamp format — returns 400 bad request
- limit out of range (must be 1–1000) — returns 400
- Wallet has insufficient USDC balance for the $0.001 per-call fee — payment rejected
- format parameter set to an unsupported value — returns 400 or defaults to json

## How this service works

AGENT DATASTORE — drop one of your wallet's collections and all its rows. Cheap on purpose: clean up after yourself and stay under quota.

## Output

A JSON object (or CSV text) containing an array of stored rows, the collection name, the number of rows returned, and the total row count in the collection. Rows are ordered by insertion time (asc or desc) and filtered by the since timestamp if provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "number",
       "description": "Rows to return, 1-1000 (default 100)"
      },
      "order": {
       "type": "string",
       "description": "asc or desc by insertion (default asc)"
      },
      "since": {
       "type": "string",
       "description": "ISO timestamp — only rows created after it"
      },
      "format": {
       "type": "string",
       "description": "json (default) or csv"
      },
      "offset": {
       "type": "number",
       "description": "Pagination offset"
      },
      "collection": {
       "type": "string",
       "description": "Collection name in the URL path"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "rows": {
       "type": "array"
      },
      "returned": {
       "type": "number"
      },
      "collection": {
       "type": "string"
      },
      "total_rows": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webbersites-agent-datastore-collection-reader-2549ecf5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
