# Public Spending Budgets — Numeric Row Ordering + Numeric Interval Filter

> Public Spending Budgets — Numeric Row Ordering + Numeric Interval Filter is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Sorts and filters public spending budget records by planned or actual amount within a specified numeric interval, returning up to 200 ordered rows across 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-01-113?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-spending-budgets-numeric-row-ordering-numeric-interval-filter-69250b9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qXtZh2JjEdz4JTSINbjcB

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 public-spending-budgets-numeric-row-ordering-numeric-interval-filter-69250b9d -d '<json body>'
```

Example prompt: Sort my public spending budget rows by planned_amount and only show me the ones where planned_amount falls between 5000 and 50000 — here are the records: [{"row_id":"r1","region":"north","date":"2025-01-15","planned_amount":12000,"actual_amount":11500},{"row_id":"r2","region":"south","date":"2025-01-15","planned_amount":3000,"actual_amount":2800}].

## When to prefer this

Choose this endpoint when you need to both rank and range-filter public spending budget records (planned_amount or actual_amount) in a single call, receiving two coordinated analytical reports. It is purpose-built for fiscal/budget data with region and date dimensions, is fully offline (no external lookups), and is cost-effective at $0.01 USDC for up to 200 rows and 2 reports. Prefer it over general-purpose data tools when your data conforms to the budget row schema and you need deterministic, reproducible numeric sorting and interval filtering.

## Known failure modes

- Rows array empty or missing — API returns validation error
- More than 200 rows submitted — exceeds maxItems limit
- planned_amount or actual_amount outside ±1,000,000,000,000 — rejected by schema
- Date field not in YYYY-MM-DD format — pattern validation failure
- minimum greater than maximum — may return empty filtered result set
- row_id missing or empty string — required field validation error
- Payment of 0.01 USDC not completed — 402 Payment Required response

## How this service works

Public spending budgets — Numeric row ordering + Numeric interval filter: Numeric row ordering + Numeric interval filter for supplied public spending budgets records (planned_amount, actual_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

Returns up to 2 analytical reports per call covering: (1) numerically ordered budget rows ranked by the selected field (planned_amount or actual_amount), and (2) rows filtered to only those where the selected field falls within the specified minimum–maximum numeric interval. Each report covers up to 200 input rows and is computed locally without external data lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "region",
     "date",
     "planned_amount",
     "actual_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
     },
     "actual_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "planned_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "region": "group-a",
     "row_id": "row-1",
     "actual_amount": 1,
     "planned_amount": 10
    },
    {
     "date": "2026-10-02",
     "region": "group-b",
     "row_id": "row-2",
     "actual_amount": 2,
     "planned_amount": 20
    },
    {
     "date": "2026-10-03",
     "region": "group-a",
     "row_id": "row-3",
     "actual_amount": 3,
     "planned_amount": 15
    },
    {
     "date": "2026-10-04",
     "region": "group-b",
     "row_id": "row-4",
     "actual_amount": 4,
     "planned_amount": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "planned_amount",
    "actual_amount"
   ],
   "type": "string",
   "default": "planned_amount"
  },
  "maximum": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-spending-budgets-numeric-row-ordering-numeric-interval-filter-69250b9d/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)
