# Bazaar Demand Forecaster

> Bazaar Demand Forecaster is a paid API for AI agents from bazaar-demand-forecaster-mainnet-production.up.railway.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Forecasts aggregate demand by endpoint category on the Bazaar marketplace using privacy-safe event history and confidence-bounded predictions.

## Facts

- Endpoint: POST https://bazaar-demand-forecaster-mainnet-production.up.railway.app/v1/forecast
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bazaar-demand-forecaster-140375e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f4QcxOpA0P7dcnitF0oXZ

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 bazaar-demand-forecaster-140375e7 -d '<json body>'
```

Example prompt: Using the last 90 days of aggregate demand events from our Bazaar marketplace data, forecast endpoint category demand for the next 60 days — I need confidence-bounded projections so I know which categories to prioritize for capacity planning.

## When to prefer this

Choose this endpoint when you need forward-looking, confidence-bounded demand forecasts specifically for Bazaar marketplace endpoint categories, using privacy-safe aggregate event data rather than raw user logs. Prefer this over generic time-series forecasting tools when the input is structured marketplace demand events and the output must be category-level with bounded evidence.

## Known failure modes

- Too few events (fewer than 1) triggers validation error
- historyDays or horizonDays outside allowed range (7–365 days / 1–365 days) returns 400
- events array exceeds 500-item limit
- Raw prompts or identities in events payload rejected for privacy reasons
- Service unavailable returns 5xx from Railway hosting
- Insufficient historical data may yield low-confidence forecasts

## How this service works

Forecast aggregate Bazaar demand by endpoint category with bounded evidence and confidence.

## Output

Returns a confidence-bounded demand forecast broken down by endpoint category, including projected demand levels, evidence strength, and forecast confidence intervals for the specified time horizon.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "now": {
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  },
  "events": {
   "type": "array",
   "maxItems": 500,
   "minItems": 1,
   "description": "Privacy-safe aggregate demand events; raw prompts and identities are not accepted."
  },
  "historyDays": {
   "type": "integer",
   "maximum": 365,
   "minimum": 7
  },
  "horizonDays": {
   "type": "integer",
   "maximum": 365,
   "minimum": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bazaar-demand-forecaster-140375e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bazaar-demand-forecaster-mainnet-production.up.railway.app](https://www.zero.xyz/host/bazaar-demand-forecaster-mainnet-production.up.railway.app/llms.txt)
