# Trade Observations — Record Quality Audit + Numeric Row Ordering

> Trade Observations — Record Quality Audit + Numeric Row Ordering 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-28).

Audits record quality and applies numeric row ordering to trade observation data (export_amount, import_amount) for up to 200 rows, returning two independent analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-06-007?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trade-observations-record-quality-audit-numeric-row-ordering-22fd97aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QuYwDnr7aMOfbZsgtSkJZ

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-record-quality-audit-numeric-row-ordering-22fd97aa -d '<json body>'
```

Example prompt: Can you audit the data quality and produce a numeric row ordering for these trade observation records — I have 4 rows with export_amount and import_amount values across regions group-a and group-b, and I want the ordering based on export_amount?

## When to prefer this

Choose this endpoint when you need both a data quality audit and numeric row ordering for trade observation records (export and import amounts) in a single low-cost call. It is ideal for pre-processing or validating trade datasets before further analysis or storage, especially when you need up to two structured reports for up to 200 rows without requiring live data lookups, predictions, or external integrations.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Missing required fields (row_id, region, date, export_amount, import_amount) causes rejection
- Invalid date format (not YYYY-MM-DD) triggers a schema validation error
- Values outside ±1,000,000,000,000 are rejected
- Invalid field enum value returns an error
- Empty rows array is not accepted (minItems: 1)

## How this service works

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

## Output

Two independent analytical reports: (1) a record quality audit flagging issues such as nulls, out-of-range values, or malformed entries across the trade observation rows; and (2) a numeric row ordering ranking the supplied rows by the specified field (export_amount or import_amount). Both reports are produced 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-record-quality-audit-numeric-row-ordering-22fd97aa/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)
