{"uid":"cap_f4maQqw-6X4mvc4wA_LWB","slug":"enclave402-bazaar-census-export-b37a9bdd","name":"Enclave402 Bazaar Census Export","description":"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.","url":"https://enclave402.com/api/census/export?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}},"sha256":{"type":"string","description":"Hex sha256 of JSON.stringify(items)."},"settled":{"type":"boolean"},"attestation":{"type":["object","null"],"description":"EIP-712 signature over generatedAt, sha256, count and counts by the published attestor; null when unconfigured"},"generatedAt":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"3.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$3.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"3.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"3.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BMHXJqauI2TLOUAthWb6s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"3.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Offline router trust map build","prompt":"Download the full signed census of all Bazaar x402 sellers, including stale entries, so I can build a complete offline routing table with their verdicts and scores."},{"title":"Pre-flight analytics on seller verdicts","prompt":"Fetch the entire Bazaar seller census and give me a breakdown of how many sellers are in the pay, caution, and avoid categories right now."},{"title":"Audit attestation integrity","prompt":"Get me the full census export with the EIP-712 attestation and sha256 manifest so I can verify the integrity of the seller trust data before we wire up our payment router."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T17:28:07.689Z","isFirstParty":false,"canonicalSlug":"enclave402-bazaar-census-export-b37a9bdd"}