# WritersLogic Site Access Check

> WritersLogic Site Access Check is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-18).

Evaluates whether an intended web action (crawl, read, login, submit) is permitted according to caller-supplied access rules checked against caller-observed facts, returning the blocking rule or missing evidence.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/site-access-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-site-access-check-57572360
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hzQcPDOFkxrFW66lrvyP9

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 writerslogic-site-access-check-57572360 -d '<json body>'
```

Example prompt: Before I crawl that product page, check whether my intended action is permitted given these rules: robots.txt was read and allows crawl, no login is required, rate-limit budget is 10 requests remaining, and no captcha was seen — does everything check out or is something blocking me?

## When to prefer this

Use this endpoint when an AI agent needs a structured, rule-based go/no-go decision before taking an action on a website, particularly when multiple access conditions (robots rules, login state, rate limits, captcha, terms acceptance) must all be satisfied together. Prefer this over ad-hoc logic when you want an auditable witness trail of which rule passed or failed. It is not a substitute for fetching or parsing the actual site — the caller must supply both the rules and the observed facts.

## Known failure modes

- Action not covered by any supplied rule returns 'unknown' rather than permitted or denied
- Missing asOf timestamp when a rule requires maxAgeDays causes the check to fail with a missing-parameter error
- Malformed rule schema (missing required 'id' or 'needs') results in a validation error
- Supplying contradictory evidence facts may produce unexpected rule evaluations
- The endpoint never fetches the site, so stale or incorrect caller-supplied facts lead to incorrect decisions

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

Returns a decision (permitted, blocked, or unknown) for the intended action, citing which rule blocked it (if any) and which observed fact was missing or failed, along with witness text explaining the evaluation for each rule supplied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asOf": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:\\d{2}))?$",
   "maxLength": 40,
   "description": "Reference instant (ISO date or instant) for evidence age; required only when a need sets maxAgeDays. The check never reads the clock."
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "needs"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 100
     },
     "mode": {
      "enum": [
       "all",
       "any",
       "atLeast"
      ],
      "type": "string",
      "description": "How the needs combine. Default all; with forbid:true the default is any (the requirement is unmet as soon as one listed need applies), and all means only the conjunction is prohibited."
     },
     "text": {
      "type": "string",
      "maxLength": 500,
      "description": "Free text echoed in witnesses."
     },
     "needs": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "key"
       ],
       "properties": {
        "key": {
         "type": "string",
         "maxLength": 100,
         "description": "Evidence key this need reads."
        },
        "max": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "string",
           "maxLength": 40
          }
         ],
         "description": "Inclusive upper bound, same comparison rules as min."
        },
        "min": {
         "anyOf": [
          {
           "type": "number"
          },
          {
           "type": "string",
           "maxLength": 40
          }
         ],
         "description": "Inclusive lower bound. Numbers compare numerically; two dotted-digit strings (1.10.2) compare segment by segment."
        },
        "oneOf": {
         "type": "array",
         "items": {
          "description": "Allowed JSON value."
         },
         "maxItems": 50,
         "description": "The evidence value must equal one of these."
        },
        "equals": {
         "description": "The evidence value must equal this JSON value (deep equality)."
        },
        "maxAgeDays": {
         "type": "number",
         "maximum": 36500,
         "minimum": 0,
         "description": "Evidence must be dated (asOf on the evidence item) and at most this many days before the request asOf."
        }
       },
    
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-site-access-check-57572360/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
