{"openapi":"3.1.0","info":{"title":"Blockchain & Market Anomaly Detection","version":"4.0.0","description":"Paid real-time anomaly detection via x402. Mempool, whale alerts, stablecoin depegs, and GitHub trending signals.","x-guidance":"Use this API when the user asks about unusual blockchain activity, whale movements, stablecoin depegs, mempool anomalies, suspicious flight patterns, or trending GitHub repos. Detects unusual SEQUENCES of events using NASA-derived pattern mining — not just threshold alerts. Example questions: 'Is anything unusual happening on Base right now?', 'Are there any whale movements I should know about?', 'Is USDC or DAI depegging?', 'Any emergency squawk codes in airspace?', 'What repos are getting anomalous star velocity?'. Routes: GET /api/mempool-anomaly ($0.01) for real-time pending tx anomalies (5s polling), GET /api/depeg-monitor ($0.01) for stablecoin peg deviations, GET /api/whale-alerts ($0.02) for whale/CEX/bridge flows, POST /api/token-scan ($0.03) with {address} for token pattern anomalies, GET /api/squawk-alerts ($0.02) for aviation emergencies, GET /api/trending-signal ($0.02) for GitHub star velocity anomalies.","contact":{"email":"clawdbotworker@gmail.com"}},"servers":[{"url":"https://anomaly.forgemesh.io"}],"paths":{"/":{"get":{"summary":"ForgeMesh Anomaly Tracker dashboard","operationId":"viewAnomalyTracker","tags":["Utility"],"security":[],"responses":{"200":{"description":"HTML dashboard for ForgeMesh Anomaly Tracker.","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/sequence-anomaly":{"post":{"summary":"Score a blockchain event window for sequence anomalies","operationId":"scoreSequenceAnomaly","tags":["Crypto","Anomaly","Onchain"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","enum":["financial"],"default":"financial","description":"Event domain"},"chain":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"},"window":{"type":"string","enum":["1h","4h","24h","168h"],"default":"24h"}}}}}},"responses":{"200":{"description":"Anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer","minimum":0,"maximum":100,"description":"0=normal, 100=highly anomalous"},"novelty":{"type":"string","enum":["low","medium","high","extreme"]},"story":{"type":"string","description":"Human-readable anomaly label"},"coverage":{"type":"number"},"historical_matches":{"type":"integer"},"possible_failure_modes":{"type":"array","items":{"type":"string"}},"peak_window":{"type":"array","items":{"type":"string"},"description":"The most anomalous symbol sequence found"},"events_collected":{"type":"integer"},"chain":{"type":"string"},"window_hours":{"type":"integer"}}}}}},"402":{"description":"Payment Required"}}}},"/api/sequence-anomaly/status":{"get":{"summary":"Model health and training stats per chain","operationId":"getSequenceAnomalyStatus","tags":["Crypto","Anomaly","Utility"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Status per chain","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"chains":{"type":"object","description":"Per-chain training stats"}}}}}},"402":{"description":"Payment Required"}}}},"/api/whale-alerts":{"get":{"summary":"Recent whale movements, CEX flows, bridge activity, and stablecoin events","operationId":"getWhaleAlerts","tags":["Crypto","Onchain","Utility"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"chain","in":"query","schema":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"}},{"name":"hours","in":"query","schema":{"type":"integer","minimum":1,"maximum":168,"default":4}}],"responses":{"200":{"description":"Whale alert list","content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"window_hours":{"type":"integer"},"alert_count":{"type":"integer"},"alerts":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/token-scan":{"post":{"summary":"Best-effort token transfer anomaly scan with source status","operationId":"scanToken","tags":["Crypto","Anomaly","Onchain"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"Contract address (0x...) or symbol (usdt, usdc, weth, link, uni, pepe, arb, etc.)"},"chain":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"},"window":{"type":"string","enum":["1h","4h","24h","168h"],"default":"24h"}},"required":["token"]}}}},"responses":{"200":{"description":"Token-specific anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"token":{"type":"string"},"chain":{"type":"string"},"events_collected":{"type":"integer"},"peak_window":{"type":"array","items":{"type":"string"}},"transfers":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/address-scan":{"post":{"summary":"Scan any wallet address for anomalous transaction patterns","operationId":"scanAddress","tags":["Crypto","Anomaly","Onchain"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Wallet address (0x...)"},"chain":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"},"window":{"type":"string","enum":["1h","4h","24h","168h"],"default":"24h"}},"required":["address"]}}}},"responses":{"200":{"description":"Address anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"address":{"type":"string"},"chain":{"type":"string"},"events_collected":{"type":"integer"},"peak_window":{"type":"array","items":{"type":"string"}},"activity":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/nft-scan":{"post":{"summary":"Best-effort NFT collection anomaly scan with source status","operationId":"scanNft","tags":["NFT","Anomaly","Onchain"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","description":"NFT contract address (ERC-721 or ERC-1155)"},"chain":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"},"window":{"type":"string","enum":["1h","4h","24h","168h"],"default":"24h"}},"required":["token"]}}}},"responses":{"200":{"description":"NFT anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"token":{"type":"string"},"chain":{"type":"string"},"events_collected":{"type":"integer"},"peak_window":{"type":"array","items":{"type":"string"}},"collection":{"type":"object"}}}}}},"402":{"description":"Payment Required"}}}},"/api/defi-scan":{"post":{"summary":"Anomaly scan for a DeFi protocol — unusual flows through Uniswap, Aave, Curve, Compound","operationId":"scanDefi","tags":["DeFi","Anomaly","Onchain"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"protocol":{"type":"string","description":"Protocol name (uniswap_v3, uniswap_v3_r2, aave_v3, aave_v2, curve_3pool, compound_v3) or 0x address"},"chain":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"},"window":{"type":"string","enum":["1h","4h","24h","168h"],"default":"24h"}},"required":["protocol"]}}}},"responses":{"200":{"description":"DeFi protocol anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"protocol":{"type":"string"},"chain":{"type":"string"},"events_collected":{"type":"integer"},"peak_window":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/squawk-alerts":{"get":{"summary":"Best-effort live sweep of active aviation emergency squawk codes","operationId":"getSquawkAlerts","tags":["Aviation","Anomaly","Safety"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Active emergency squawks","content":{"application/json":{"schema":{"type":"object","properties":{"total_tracked":{"type":"integer"},"emergency_count":{"type":"integer"},"by_type":{"type":"object","description":"Count by squawk type: hijack, radio_failure, general_emergency"},"alerts":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/flight-scan":{"post":{"summary":"Sequence anomaly analysis for a named airspace region","operationId":"scanFlight","tags":["Aviation","Anomaly"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"region":{"type":"string","enum":["north_atlantic","europe","north_america","asia_pacific","middle_east","africa","global"],"default":"global"}}}}}},"responses":{"200":{"description":"Airspace anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"region":{"type":"string"},"total_aircraft":{"type":"integer"},"airborne":{"type":"integer"},"peak_window":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/trending-signal":{"get":{"summary":"GitHub repos with anomalous star velocity — early signals before mainstream discovery","operationId":"getTrendingSignal","tags":["Creator","Anomaly","GitHub"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"days","in":"query","schema":{"type":"string","enum":["3","7","14","30"],"default":"7"}}],"responses":{"200":{"description":"Trending repo velocity signals","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"signal_count":{"type":"integer"},"signals":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/repo-scan":{"post":{"summary":"Deep anomaly scan for a single GitHub repo — velocity, fork ratio, overnight explosion","operationId":"scanRepo","tags":["Creator","Anomaly","GitHub"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"repo":{"type":"string","description":"GitHub repo as owner/repo, e.g. vercel/ai"}},"required":["repo"]}}}},"responses":{"200":{"description":"Repo anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"repo":{"type":"string"},"metrics":{"type":"object"},"peak_window":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/github-watch":{"post":{"summary":"Watch a GitHub repo's activity stream for anomalous development patterns","operationId":"watchGithub","tags":["GitHub","Anomaly"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"repo":{"type":"string","description":"GitHub repo as owner/repo, e.g. vercel/ai"}},"required":["repo"]}}}},"responses":{"200":{"description":"Activity anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer"},"novelty":{"type":"string"},"story":{"type":"string"},"repo":{"type":"string"},"total_events":{"type":"integer"},"unique_actors":{"type":"integer"},"bot_ratio":{"type":"number"},"event_breakdown":{"type":"object"},"peak_window":{"type":"array","items":{"type":"string"}},"recent_events":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/claude-feature-watch":{"get":{"summary":"Watch Anthropic/Claude repos for recently merged features","operationId":"watchClaudeFeatures","tags":["GitHub","Claude","Anomaly"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{}}]},"parameters":[{"name":"days","in":"query","schema":{"type":"integer","minimum":1,"maximum":30,"default":7}}],"responses":{"200":{"description":"Recently merged Claude/Anthropic features","content":{"application/json":{"schema":{"type":"object","properties":{"features_merged":{"type":"integer"},"repos_scanned":{"type":"integer"},"since":{"type":"string"},"days":{"type":"integer"},"by_repo":{"type":"object"},"features":{"type":"array","items":{"type":"object"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/mempool-anomaly":{"get":{"summary":"Real-time mempool anomaly score — gas spikes, MEV signals, pending whale swaps","operationId":"getMempoolAnomaly","tags":["Crypto","Anomaly","Realtime","Mempool"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"x-polling":{"recommended_interval_seconds":5,"data_freshness":"per-block"},"parameters":[{"name":"chain","in":"query","schema":{"type":"string","enum":["ethereum","base"],"default":"ethereum"}}],"responses":{"200":{"description":"Mempool anomaly analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer","description":"0=normal, 100=critical"},"novelty":{"type":"string"},"story":{"type":"string"},"chain":{"type":"string"},"pending_count":{"type":"integer"},"gas":{"type":"object"},"pending_stats":{"type":"object"},"peak_window":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required"}}}},"/api/depeg-monitor":{"get":{"summary":"Real-time stablecoin depeg detector — USDC, USDT, DAI peg deviation and spread","operationId":"getDepegMonitor","tags":["Crypto","Anomaly","Realtime","Stablecoin"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}]},"x-polling":{"recommended_interval_seconds":60,"data_freshness":"per-minute"},"parameters":[{"name":"chain","in":"query","schema":{"type":"string","enum":["ethereum","base","arbitrum"],"default":"ethereum"}}],"responses":{"200":{"description":"Depeg monitoring analysis","content":{"application/json":{"schema":{"type":"object","properties":{"sequence_score":{"type":"integer","description":"0=all stable, 100=depeg crisis"},"novelty":{"type":"string"},"story":{"type":"string"},"chain":{"type":"string"},"overall_status":{"type":"string","enum":["PEG_STABLE","PEG_DRIFT","PEG_WARN","PEG_DEPEG"]},"max_deviation_pct":{"type":"number"},"drift_count":{"type":"integer"},"coins":{"type":"object"},"peak_window":{"type":"array","items":{"type":"string"}}}}}}},"402":{"description":"Payment Required"}}}}},"x-x402":{"network":"eip155:8453","payTo":"0xE295B6641b32998537Ae0f8E61Babf729EAEd6E5","facilitator":"https://x402.xyz/facilitate"},"provider":{"name":"ForgeMesh Labs","catalog":"POST https://x402.forgemesh.io/fleet-products ($0.05)","fleet":"11 x402 services and counting, 500+ paid endpoints, from $0.001 — one wallet, no signup, atomic USDC settlement on Base. Free index: https://x402.forgemesh.io/llms.txt"}}