# OIX SiteAudit Commerce — Ecommerce Page Preflight Audit

> OIX SiteAudit Commerce — Ecommerce Page Preflight Audit is a paid API for AI agents from oix-autonomous-economy.fly.dev, paid per call via x402, $0.1/call, status down (last checked 2026-10-13).

Returns deterministic, source-backed audit observations about a public ecommerce site URL, scored against commerce-readiness signals.

## Facts

- Endpoint: GET https://oix-autonomous-economy.fly.dev/api/x402/portfolio/siteaudit-commerce?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oix-siteaudit-commerce-ecommerce-page-preflight-audit-cfc8dd8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aKcTfQ0GrJhQ413D5D0h3

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 oix-siteaudit-commerce-ecommerce-page-preflight-audit-cfc8dd8a
```

Example prompt: Can you run a commerce preflight audit on https://myshop.example.com and give me up to 25 scored observations with a minimum evidence score of 50?

## When to prefer this

Choose this endpoint when you need deterministic, evidence-scored audit observations specifically for ecommerce or commerce-oriented public web pages, especially when you need cryptographic proof of the report and source data for accountability or settlement purposes. It is particularly well-suited for preflight checks before launching or monetizing a commerce page, or when you need machine-readable audit reports settled on Base mainnet.

## Known failure modes

- Invalid or non-HTTPS target URL returns a validation error
- Target site is unreachable or returns non-200 status, resulting in an empty or failed observation set
- minScore too high filters out all observations, returning an empty list
- Payment not fulfilled via x402 results in 402 response with no data
- Rate limiting or upstream crawl failure may return partial results

## How this service works

Package any earning logic as an autonomous asset. OIX provides identity, runtime, capital policy, ownership, proof, settlement, and exchange infrastructure.

## Output

A JSON report containing the asset name and market, a cryptographic proof (report and source digests), product offer details and settlement info, and a decision object listing scored observations (URL, score, title, evidence) along with counts of monitored records and returned observations.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 120,
       "description": "Optional term matched against the current source-backed observations."
      },
      "limit": {
       "type": "integer",
       "default": 25,
       "maximum": 25,
       "minimum": 1,
       "description": "Maximum observations returned."
      },
      "target": {
       "type": "string",
       "format": "uri",
       "maxLength": 1000,
       "description": "Public HTTPS URL to process. The declared sample target is used when omitted."
      },
      "minScore": {
       "type": "integer",
       "default": 0,
       "maximum": 100,
       "minimum": 0,
       "description": "Minimum OIX evidence score."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": {
   "name": "SiteAudit Commerce",
   "slug": "siteaudit-commerce",
   "market": "Commerce page preflight"
  },
  "proof": {
   "reportDigest": "sha256:…",
   "sourceDigest": "sha256:…"
  },
  "product": {
   "offer": "Deterministic public-site audit",
   "price": "0.1 USDC",
   "settlement": "x402 · Base mainnet"
  },
  "decision": {
   "buyer": "Ecommerce operators",
   "observations": [
    {
     "url": "https://github.com/GoogleChrome/lighthouse",
     "score": 90,
     "title": "Primary-source market signal",
     "evidence": {}
    }
   ],
   "monitoredRecords": 40,
   "returnedObservations": 25
  },
  "protocol": "oix.machine-report/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/oix-siteaudit-commerce-ecommerce-page-preflight-audit-cfc8dd8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oix-autonomous-economy.fly.dev](https://www.zero.xyz/host/oix-autonomous-economy.fly.dev/llms.txt)
