# Trade Observations Data Quality & Analytics Suite

> Trade Observations Data Quality & Analytics Suite is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Runs three analytics reports on trade observation records: a record quality audit, string normalization, and a date-by-category pivot — all applied to export_amount and import_amount fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-06-206?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trade-observations-data-quality-analytics-suite-e4f33af2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AULnECSMuFXFflaqXxbFP

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 trade-observations-data-quality-analytics-suite-e4f33af2 -d '<json body>'
```

Example prompt: Can you audit the quality of these trade observation records, normalize the region strings, and give me a date-by-category pivot for export_amount? I have 4 rows: row-1 for group-a on 2026-10-01 with export 10 and import 1, row-2 for group-b on 2026-10-02 with export 20 and import 2, row-3 for group-a on 2026-10-03 with export 15 and import 3, and row-4 for group-b on 2026-10-04 with export 30 and import 4.

## When to prefer this

Choose this endpoint when you need to simultaneously audit data quality, normalize categorical string fields, and generate a time-series pivot from trade observation data in a single low-cost call. It is well-suited for economics pipelines that need to validate and summarize import/export records before downstream processing, and works entirely on supplied data without any live market lookups or external API calls.

## Known failure modes

- Rows array empty or missing — validation error returned
- More than 200 rows submitted — request rejected with size limit error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- row_id missing or empty string — required field validation error
- Field enum value not 'export_amount' or 'import_amount' — rejected
- export_amount or import_amount outside ±1,000,000,000,000 — validation error
- Payment of 0.01 USDC not provided — 402 Payment Required response

## How this service works

Trade observations — Record quality audit + String normalisation + Date by category pivot: Record quality audit + String normalisation + Date by category pivot for supplied trade observations records (export_amount, import_amount). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.

## Output

Returns three independent reports based on the submitted trade observation rows: (1) a record quality audit flagging missing, null, or out-of-range values in export_amount and import_amount; (2) a string normalization report standardizing region field values; and (3) a date-by-category pivot table summarizing the selected field (export_amount or import_amount) broken down by date and region category. All computed locally without external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "region",
     "date",
     "export_amount",
     "import_amount"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "region": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "export_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "import_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "region": "group-a",
     "row_id": "row-1",
     "export_amount": 10,
     "import_amount": 1
    },
    {
     "date": "2026-10-02",
     "region": "group-b",
     "row_id": "row-2",
     "export_amount": 20,
     "import_amount": 2
    },
    {
     "date": "2026-10-03",
     "region": "group-a",
     "row_id": "row-3",
     "export_amount": 15,
     "import_amount": 3
    },
    {
     "date": "2026-10-04",
     "region": "group-b",
     "row_id": "row-4",
     "export_amount": 30,
     "import_amount": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "export_amount",
    "import_amount"
   ],
   "type": "string",
   "default": "export_amount"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trade-observations-data-quality-analytics-suite-e4f33af2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
