# Enclave402 Bazaar Census Export

> Enclave402 Bazaar Census Export is a paid API for AI agents from enclave402.com, paid per call via x402, $3.5/call, status down (last checked 2026-10-12).

Returns the full trust map of all Bazaar-indexed x402 sellers in a single signed payload, including per-row verdicts, scores, latencies, and an EIP-712 attestation over a sha256 manifest.

## Facts

- Endpoint: GET https://enclave402.com/api/census/export?utm_source=zero.xyz
- Price: $3.5/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/enclave402-bazaar-census-export-b37a9bdd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f4maQqw-6X4mvc4wA_LWB

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 enclave402-bazaar-census-export-b37a9bdd
```

Example prompt: Pull the complete Bazaar seller census export — every seller's verdict, trust score, and latency — so I can build an offline routing table; include stale rows too.

## When to prefer this

Use this endpoint when you need the complete trust map of all Bazaar sellers in one atomic, signed payload for offline routing decisions or bulk analytics. Prefer this over /api/census/verdict when you need more than a single seller lookup — the bulk export amortises the $3.50 cost across all rows and provides a cryptographically verifiable manifest via EIP-712 attestation.

## Known failure modes

- Network or upstream failure returns no payload and no charge is made
- EIP-712 attestation is null when the attestor key is not configured
- Rows may be stale if includeStale=false is used during a sweep gap
- Payment of $3.50 USDC is required; insufficient funds result in a 402 rejection
- Census may be empty if no sellers have been indexed yet

## How this service works

Whole-Bazaar seller census in one payload: every fresh verdict row (resource, payTo, verdict, score, schema, latency, checkedAt, per-row signature) plus a sha256 manifest and one EIP-712 attestation over it, so a router verifies the full dump offline. MUST be invoked when an agent needs the complete trust map for routing or analytics. Do NOT use for a single lookup (see /api/census/verdict). Settles $3.500 USDC; no charge on failure; receipts at /api/ledger.

## Output

A JSON payload containing: a list of every indexed seller (resource URL, payTo address, verdict enum, integer score, schema declared flag, latency in ms, checkedAt timestamp, per-row EIP-712 signature), a hex sha256 of the serialised items array, top-level verdict counts (pay/caution/avoid), total count, generatedAt timestamp, census sweep metadata, a settlement boolean, and an optional top-level EIP-712 attestation signed by the published attestor.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "includeStale": {
       "type": "boolean",
       "default": false,
       "description": "Include rows older than the verdict TTL."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "generatedAt",
      "count",
      "counts",
      "sha256",
      "items",
      "census",
      "settled",
      "ts"
     ],
     "properties": {
      "ts": {
       "type": "integer"
      },
      "count": {
       "type": "integer"
      },
      "items": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "resource",
         "verdict",
         "score",
         "checkedAt"
        ],
        "properties": {
         "payTo": {
          "type": [
           "string",
           "null"
          ]
         },
         "score": {
          "type": "integer"
         },
         "verdict": {
          "enum": [
           "pay",
           "caution",
           "avoid"
          ],
          "type": "string"
         },
         "resource": {
          "type": "string"
         },
         "checkedAt": {
          "type": "string"
         },
         "latencyMs": {
          "type": [
           "integer",
           "null"
          ]
         },
         "vetVerdict": {
          "type": "string"
         },
         "attestation": {
          "type": [
           "object",
           "null"
          ]
         },
         "schemaDeclared": {
          "type": "boolean"
         }
        }
       }
      },
      "census": {
       "type": "object",
       "description": "Sweep status: assessed count, cadence, last sweep."
      },
      "counts": {
       "type": "object",
       "properties": {
        "pay": {
         "type": "integer"
        },
        "avoid": {
         "type": "integer"
        },
        "caution": {
         "type": "integer"
        }
       }

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/enclave402-bazaar-census-export-b37a9bdd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from enclave402.com](https://www.zero.xyz/host/enclave402.com/llms.txt)
