{"uid":"cap_kDR914A1LkmGXMlz1lfgk","slug":"delx-btc-up-down-15-minute-probability-00883f95","name":"Delx BTC Up/Down 15-Minute Probability","description":"Bitcoin Up or Down 15-Minute Probability estimates p_up and p_down for quarter-hour windows using a broader caller-supplied trend sample. Send 8-240 ordered caller-supplied BTC price observations, the target venue's opening price, and its close timestamp; optionally include UP/DOWN share prices and entry fees for a descriptive model-edge comparison. Returns a conservative probability pair, lean, input-quality score, model contract, and warnings for $0.003 USDC via x402 on Base or Solana. First-…","url":"https://api.delx.ai/api/v1/x402/bitcoin-up-down-15m","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z6BI1uBDyW0AwLy3v0uQz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the probability that Bitcoin's price will be up or down over a 15-minute window, given caller-supplied price observations and window parameters.","exampleAgentPrompt":"Using my last 20 BTC price observations (timestamps and prices from the past hour), estimate the probability that Bitcoin will be up or down over the next 15-minute window that opens at $67,250 and closes at Unix timestamp 1716300000 — and compare the model edge if the UP share is priced at $0.72 and the DOWN share at $0.28 with a 50 bps entry fee.","exampleUseCases":[{"title":"Prediction market entry decision","prompt":"I have 30 BTC price samples from the last two hours. The next 15-minute contract opens at $67,100 and closes at Unix timestamp 1716303600. The UP share is $0.65 and DOWN share is $0.35 with a 100 bps fee — what's the estimated probability of BTC going up and is there a model edge worth acting on?"},{"title":"Automated trading signal generation","prompt":"Every 15 minutes, take my 60 most recent BTC price observations and estimate whether Bitcoin is more likely to be up or down at the end of the window, starting from the current opening price of $66,800 at close timestamp 1716307200."},{"title":"Backtesting direction probability model","prompt":"I have 240 historical BTC price points from a past session where the window opened at $64,500 and closed at timestamp 1715700000 — run the up/down probability estimate so I can compare it against the actual outcome for my backtest."}],"resultDescription":"Returns a JSON object containing the probability pair (p_up, p_down), the directional lean ('up' or 'down'), a data quality score with label (e.g. 'adequate_input_coverage'), the number of observations used, a model contract object indicating version and calibration caveats, and a list of warnings (e.g. 'probability_is_uncalibrated', 'not_trading_advice'). Optionally includes a model-edge comparison if share prices and fees were supplied.","failureModes":["Fewer than 8 or more than 240 observations causes validation rejection","Missing required fields (window_open_price or window_close_timestamp) returns an error","Observations with duplicate or out-of-order timestamps may degrade data quality score","Share prices outside [0,1] or fee_bps outside [0,1000] return schema validation errors","Payment not settled via x402 results in 402 Payment Required response","Low-quality or noisy input data produces a low data_quality score with appropriate warnings"],"whenToPreferThis":"Choose this endpoint when you need a fast, stateless probability estimate for Bitcoin's 15-minute directional movement using your own supplied price observations, without requiring any live market data feed. It is especially useful for prediction market agents that need a model-edge comparison against published share prices and entry fees. Prefer it over generic ML inference endpoints when you want a structured, versioned BTC-specific probability output with calibration warnings and data quality scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:57.686Z","isFirstParty":false}