{"uid":"cap_qkI49FbXwqPG1Adt7TX75","slug":"delx-commerce-bitcoin-30-minute-up-down-prediction-37fbddc2","name":"Delx Commerce — Bitcoin 30-Minute Up/Down Prediction","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/bitcoin-up-down-30m?utm_source=zero.xyz","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.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"}},"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_RU4oW59iPLsO9AYuN9uar","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":"Returns a probabilistic up/down prediction for Bitcoin price movement over the next 30 minutes, based on caller-supplied price observations.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Automated BTC trading signal agent","prompt":"I have the last 15 minutes of Bitcoin prices sampled every 2 minutes — can you estimate whether BTC is more likely to go up or down over the next 30 minutes and give me the probability scores?"},{"title":"Crypto portfolio rebalancing trigger","prompt":"Based on these 10 recent BTC price data points, what's the probability Bitcoin moves up versus down in the next 30 minutes? I want to decide whether to hold or reduce my position."},{"title":"Real-time alert for BTC direction shift","prompt":"I'm monitoring Bitcoin and just collected 12 price observations over the past 20 minutes. Can you run a 30-minute up/down prediction and tell me the lean and confidence so I can trigger an alert if p_down is above 70%?"}],"resultDescription":"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'.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:54.422Z","isFirstParty":false,"canonicalSlug":"delx-commerce-bitcoin-30-minute-up-down-prediction-37fbddc2"}