{"uid":"cap_k3uEvc-pOp2eFjt8xaNWO","slug":"delx-bitcoin-up-down-5-minute-probability-2075676a","name":"Delx Bitcoin Up/Down 5-Minute Probability","description":"Bitcoin Up or Down 5-Minute Probability estimates p_up and p_down for rapid near-close windows where the freshest supplied observations matter most. 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 Sol…","url":"https://api.delx.ai/api/v1/x402/bitcoin-up-down-5m","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.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"}},"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_QtZh305-pakRp35--blPH","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 probability that BTC price will be up or down at the close of a 5-minute window, given caller-supplied price observations and window parameters","exampleAgentPrompt":"I have 20 BTC price readings from the last few minutes — can you estimate the probability that Bitcoin closes up or down at the 5-minute window closing at Unix timestamp 1718000100, given an opening price of 67250.50? The market is offering up shares at 0.62 and down shares at 0.35 with a 50 bps fee.","exampleUseCases":[{"title":"Pre-trade edge check for prediction market","prompt":"Before I enter this Bitcoin up/down prediction market, run a probability estimate using my 15 most recent BTC price observations — the window opens at 67800 and closes at Unix timestamp 1718001300. The market has up shares at 0.58 and down shares at 0.40, with a 30 bps fee. Is there a model edge worth acting on?"},{"title":"Automated 5-minute BTC signal pipeline","prompt":"Every 5 minutes I want you to take my 30 latest BTC price observations, set the window open price to the most recent candle open, and estimate the probability of BTC finishing up or down by close timestamp — give me the lean, p_up, p_down, and data quality score each time."},{"title":"Data quality audit before live trading","prompt":"I have 8 BTC price observations from the past few minutes — run them through the 5-minute probability estimator with a window open of 65400 and a close timestamp of 1718002800, and tell me what data quality score the model gives my input so I know if my feed is adequate."}],"resultDescription":"Returns a JSON object with: probability pair (p_up, p_down summing to ~1.0), directional lean ('up' or 'down'), a data quality score and label for the supplied observations, model metadata (version, calibration status, determinism flag), warnings (e.g. uncalibrated probability, not trading advice), asset name, schema version, and optional model-edge comparison if share prices and fees were supplied.","failureModes":["Fewer than 8 observations provided — request rejected with validation error","Observations array exceeds 240 items — rejected","window_close_timestamp or window_open_price missing or invalid — malformed request error","Payment not attached or insufficient USDC via x402 — 402 Payment Required","Duplicate or out-of-order timestamps may reduce data quality score without explicit error","Market share prices outside 0-1 range — validation failure","Model returns uncalibrated probabilities by design — consumers must treat output as estimate, not calibrated forecast"],"whenToPreferThis":"Choose this endpoint when you need a fast, self-contained BTC directional probability estimate based on caller-supplied price data without relying on live market data feeds. It is ideal for agents operating in prediction market contexts where you can supply your own recent BTC observations and want a conservative p_up/p_down pair along with a data quality score and optional model-edge comparison. Prefer it over generic ML inference endpoints when you specifically need Bitcoin 5-minute window direction probability with a structured schema contract and deterministic output for the same input.","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}