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

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

Returns a probabilistic up/down prediction for Bitcoin price movement over the next 30 minutes, based on caller-supplied price observations.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/bitcoin-up-down-30m?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-30-minute-up-down-prediction-37fbddc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qkI49FbXwqPG1Adt7TX75

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-30-minute-up-down-prediction-37fbddc2 -d '<json body>'
```

Example prompt: Using the last 8 Bitcoin price observations I have (timestamps and prices), give me a 30-minute up/down probability estimate for BTC — tell me the lean and the p_up and p_down values.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call Bitcoin short-term directional signal without requiring account registration, and when you can supply your own historical price observations. It is ideal for autonomous agents that need a verifiable, priced prediction for BTC over a 30-minute horizon using caller-supplied data rather than live market feeds. Prefer alternatives if you need calibrated probabilities for financial decisions, multi-asset coverage, or longer forecast horizons.

## Known failure modes

- Fewer than 8 price observations supplied — request rejected by schema validation
- Timestamps or prices outside allowed ranges cause validation failure
- Low data quality score if observations are sparse or unevenly spaced, flagged in data_quality label
- Model returns uncalibrated probabilities — not suitable for direct financial decisions
- Invalid fee_bps value (above 1000) causes request rejection
- Payment not fulfilled via x402 protocol results in 402 response without 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 asset (BTC), prediction schema version, status ('estimate'), the directional lean ('up' or 'down'), probability of up (p_up) and down (p_down), a data quality score and label, the model version and caveats (e.g. uncalibrated probability), the 30-minute horizon, and warnings such as 'not_trading_advice' and 'probability_is_uncalibrated'.

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

## More

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