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

> Delx Commerce — Bitcoin 5-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-02).

Predicts whether Bitcoin's price will be higher or lower in the next 5 minutes, given a caller-supplied sequence of recent price observations

## Facts

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

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-5-minute-up-down-prediction-dfc92331 -d '<json body>'
```

Example prompt: Using my last 8 Bitcoin price ticks (timestamps and prices), tell me whether BTC is more likely to be up or down in the next 5 minutes and give me the probability for each direction.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call, no-signup Bitcoin short-term directional signal derived purely from your own supplied price observations. It is ideal for autonomous agents that already collect BTC price feeds and want a probabilistic up/down signal without integrating a full ML platform. Prefer it over general-purpose LLM reasoning about prices because it uses a dedicated model (delx-local-updown-v1) with a structured schema and explicit data quality scoring. Use it when a 5-minute horizon is the target window and you can supply at least 8 timestamped price points.

## Known failure modes

- Fewer than 8 price observations provided — request rejected due to minItems constraint
- Timestamps or prices outside allowed ranges cause schema validation errors
- Probabilities are explicitly marked as uncalibrated — model output may not reflect true market probability
- No live market data is used — results are based solely on caller-supplied prices, which are unverified
- Payment failure via x402 protocol results in 402 response and no prediction
- Data quality score may be low if observations are sparse or poorly spaced, reducing reliability of prediction

## 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'), associated probabilities (p_up and p_down summing to 1), a data quality score and label, model version metadata, the prediction horizon in minutes (5), and an array of warnings noting that probabilities are uncalibrated and results are not trading advice.

## 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.79955,
   "p_down": 0.20045
  },
  "warnings": [
   "caller_supplied_prices_not_verified",
   "probability_is_uncalibrated",
   "not_trading_advice"
  ],
  "data_quality": {
   "label": "adequate_input_coverage",
   "score": 0.7455,
   "observations_used": 8
  },
  "horizon_minutes": 5,
  "input_provenance": "caller_supplied"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-bitcoin-5-minute-up-down-prediction-dfc92331/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)
