# Delx Commerce — Bitcoin 15-Minute Up/Down Prediction

> Delx Commerce — Bitcoin 15-Minute Up/Down Prediction is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Predicts whether Bitcoin price will go up or down over the next 15 minutes, given caller-supplied price observations.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/bitcoin-up-down-15m?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-bitcoin-15-minute-up-down-prediction-37c730f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_068hopVLHWt5XrD1qBmOs

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 delx-commerce-bitcoin-15-minute-up-down-prediction-37c730f3 -d '<json body>'
```

Example prompt: Using the last 8 Bitcoin price observations I'm about to give you — with the window opening at $67,500 and closing at timestamp 1717200000 — predict whether BTC will go up or down over the next 15 minutes and give me the probability for each direction.

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call (no signup) short-term Bitcoin directional probability estimate using your own price data — especially useful for autonomous agents, trading bots, or backtesting workflows that already have recent BTC price observations and want a model-based signal without integrating a full market data subscription or managing API credentials.

## Known failure modes

- Fewer than 8 observations supplied — minimum required for a valid estimate
- Invalid or out-of-range price values (below 1e-12 or above 1e15) — schema validation error
- Missing required observation fields (timestamp or price) — request rejected
- Window close timestamp not a valid Unix integer — validation failure
- Data quality too low — model may return low data quality score or degraded estimate
- Fee basis points outside 0–1000 range — schema validation error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with: the predicted directional lean ('up' or 'down'), probability estimates for both up and down directions (summing to 1.0), the model version used (delx-local-updown-v1), data quality score and label, number of observations used, horizon in minutes (15), and warnings (e.g. uncalibrated probability, not trading advice, caller-supplied prices not verified). The response schema is 'delx/prediction-updown-estimate/v1'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fee_bps": {
   "type": "integer",
   "maximum": 1000,
   "minimum": 0
  },
  "observations": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "timestamp",
     "price"
    ],
    "properties": {
     "price": {
      "type": "number",
      "maximum": 1000000000000000,
      "minimum": 1e-12
     },
     "timestamp": {
      "type": "integer",
      "minimum": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 240,
   "minItems": 8
  },
  "market_up_price": {
   "type": "number",
   "maximum": 1,
   "minimum": 0
  },
  "market_down_price": {
   "type": "number",
   "maximum": 1,
   "minimum": 0
  },
  "window_open_price": {
   "type": "number",
   "maximum": 1000000000000000,
   "minimum": 1e-12
  },
  "window_close_timestamp": {
   "type": "integer",
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": "BTC",
  "model": {
   "version": "delx-local-updown-v1",
   "no_live_market_data": true,
   "probability_is_uncalibrated": true,
   "deterministic_for_same_input": true
  },
  "schema": "delx/prediction-updown-estimate/v1",
  "status": "estimate",
  "estimate": {
   "lean": "up",
   "p_up": 0.800406,
   "p_down": 0.199594
  },
  "warnings": [
   "caller_supplied_prices_not_verified",
   "probability_is_uncalibrated",
   "not_trading_advice"
  ],
  "data_quality": {
   "label": "adequate_input_coverage",
   "score": 0.754056,
   "observations_used": 8
  },
  "horizon_minutes": 15,
  "input_provenance": "caller_supplied"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-bitcoin-15-minute-up-down-prediction-37c730f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
