{"uid":"cap_gS9a3J_bcOCoPidT-BLNU","slug":"crypto-market-data-24-hour-condition-watcher-63d37afd","name":"Crypto Market Data – 24-Hour Condition Watcher","description":"Watch the crypto market for 24 hours: up to 10 conditions (price, % change, funding, open interest, liquidations, order book, Fear and Greed, whale orders, news impact), checked every minute; when one happens you get a signed webhook and it shows in the watch's status.","url":"https://crypto-market-data.zafermemon87.workers.dev/v1/watch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"label":{"type":"string","description":"Optional name for your own reference (up to 80 characters)."},"format":{"enum":["json","slack","discord","telegram"],"type":"string","description":"How the callback is sent; detected from the callback host when left out (json for any other host)."},"conditions":{"type":"array","items":{"type":"object","required":["metric","op","value"],"properties":{"op":{"enum":["above","below"],"type":"string","description":"above: value >= threshold; below: value <= threshold. Events use above."},"token":{"type":"string","description":"Ticker such as BTC. Required for token metrics; \"*\" (any coin) or a ticker for whale_order_usd and news_impact; omitted for fear_greed."},"value":{"type":"number","description":"Threshold, in the metric's own unit (percent for *_pct, USD for *_usd)."},"metric":{"enum":["price","change_5m_pct","change_1h_pct","change_4h_pct","change_24h_pct","funding_8h_pct","futures_premium_pct","open_interest_change_1h_pct","open_interest_change_24h_pct","long_short_account_ratio","spread_bps","orderbook_imbalance","buyer_share_15m","volume_15m_vs_normal","liquidations_1h_usd","liquidations_long_1h_usd","liquidations_short_1h_usd","fear_greed","whale_order_usd","news_impact"],"type":"string"}}},"maxItems":10,"minItems":1,"description":"Fires when any condition happens."},"callback_url":{"type":"string","description":"Optional https URL that receives a signed POST when the watch fires. Without it, poll the status. A Slack or Discord incoming-webhook URL, or https://api.telegram.org/bot<token>/sendMessage?chat_id=<id>, gets a readable message."}}},"responseSchema":{"type":"json","example":{"tool":"watch","label":"risk alerts","plain":"Watching 3 conditions for 24 hours, checked every minute.","secret":"<64 hex characters, shown once>","status":{"url":"https://crypto-market-data.zafermemon87.workers.dev/watch/w_3f9c2a7e5b1d48c06a9e2f41","header":"X-Watch-Secret: <secret>","method":"GET","price_usd":0},"charged":true,"watch_id":"w_3f9c2a7e5b1d48c06a9e2f41","price_usd":0.02,"conditions":[{"op":"below","now":-0.32,"token":"BTC","value":-2,"metric":"change_1h_pct","true_now":false},{"op":"above","now":0.0093,"token":"ETH","value":0.05,"metric":"funding_8h_pct","true_now":false},{"op":"above","now":null,"token":"*","value":5000000,"metric":"whale_order_usd","true_now":null}],"data_as_of":"2026-10-24T15:00:00+05:30","expires_at":"2026-10-25T09:30:00.000Z","callback_url":"https://example.com/hooks/crypto"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IZ6wkrAil2Mq-NcrglDzZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sets up a 24-hour watch on up to 10 crypto market conditions (price, funding, liquidations, whale orders, fear/greed, etc.) checked every minute, delivering a signed webhook callback when any condition triggers.","exampleAgentPrompt":"Watch BTC's 1-hour price change and alert me via webhook at https://example.com/hooks/crypto if it drops below -3% or if any whale order exceeds $5,000,000 — label it 'BTC risk watch' and send the callback as JSON.","exampleUseCases":[{"title":"Liquidation spike Slack alert","prompt":"Set up a 24-hour watch that sends a Slack message to https://hooks.slack.com/services/XXXX/YYYY/ZZZZ if total crypto liquidations in the last hour exceed $50 million — label it 'liquidation spike'."},{"title":"ETH funding rate trading signal","prompt":"Watch ETH's 8-hour funding rate and notify me at https://myserver.com/webhooks/eth when it goes above 0.05% — I want to know as soon as it crosses that level so I can adjust my position."},{"title":"Fear and greed extreme greed alert","prompt":"Monitor the crypto Fear and Greed index for 24 hours and ping my Discord webhook at https://discord.com/api/webhooks/123/abc when the index rises above 80, label it 'extreme greed alert'."}],"resultDescription":"Returns a watch_id, a one-time secret for authenticating callbacks, a status URL for polling, the list of conditions with their current values and whether they are currently true, the expiry timestamp, and a plain-English summary. When a condition fires, a signed POST is sent to the callback URL with the triggering condition details.","failureModes":["Missing or invalid conditions array — returns 400 with validation error","Condition count exceeds 10 — returns 400 with maxItems violation","Invalid metric enum value — returns 400 with enum mismatch","Payment not included or insufficient — returns 402 Payment Required","callback_url not HTTPS — rejected or ignored","Token required for token-based metrics but omitted — returns 400","Watch expires after 24 hours with no renewal — status endpoint returns expired state","Webhook delivery failure if callback host is unreachable — no retry guarantee indicated"],"whenToPreferThis":"Choose this endpoint when you need event-driven, condition-based monitoring of crypto markets over a 24-hour window without polling yourself. It is ideal when you want to combine multiple heterogeneous metrics (price, funding, liquidations, whale activity, fear/greed, news impact) into a single watch with a signed webhook callback, rather than building your own polling loop. Prefer it over spot-data endpoints when the goal is alerting or automation triggered by market conditions rather than on-demand data retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:07.154Z","isFirstParty":false,"canonicalSlug":"crypto-market-data-24-hour-condition-watcher-63d37afd"}