{"uid":"cap_9G7NCOrZa0Q_NpydnB5Pu","slug":"swaphunt-weekly-pattern-analyzer-973b472b","name":"SwapHunt Weekly Pattern Analyzer","description":"Historical performance by day of week (avg return + win rate per weekday) over the lookback. Use to time entries/exits around statistically stronger or weaker days. Seasonality, not a forecast.","url":"https://x402.swaphunt.dev/v1/cycle/weekly-pattern","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"days":{"type":"integer","default":365,"description":"Days of history (30-1000)"},"asset":{"type":"string","default":"BTC","description":"Asset symbol (BTC, ETH, SOL)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"days":365,"asset":"BTC"}}},"response":{"note":"Based on daily close-to-close returns","asset":"BTC","pattern":[{"day":"Monday","std_dev":2.105,"weekday":0,"sample_size":52,"win_rate_pct":57.7,"avg_return_pct":0.267},{"day":"Tuesday","std_dev":2.324,"weekday":1,"sample_size":52,"win_rate_pct":34.6,"avg_return_pct":-0.437},{"day":"Wednesday","std_dev":2.222,"weekday":2,"sample_size":53,"win_rate_pct":49.1,"avg_return_pct":0.153},{"day":"Thursday","std_dev":2.721,"weekday":3,"sample_size":52,"win_rate_pct":42.3,"avg_return_pct":-0.835},{"day":"Friday","std_dev":2.837,"weekday":4,"sample_size":52,"win_rate_pct":46.2,"avg_return_pct":-0.22},{"day":"Saturday","std_dev":1.25,"weekday":5,"sample_size":52,"win_rate_pct":48.1,"avg_return_pct":-0.137},{"day":"Sunday","std_dev":1.735,"weekday":6,"sample_size":52,"win_rate_pct":53.8,"avg_return_pct":0.241}],"best_day":"Monday","worst_day":"Thursday","updated_at":"2026-07-01T01:05:20.701002+00:00","data_source":"binance","period_days":365,"cache_ttl_hours":24}},"exampleRequest":{"days":365,"asset":"BTC"},"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1j73lQ6MHfmmJ_8gIXyPM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical average return and win rate broken down by day of week for a given crypto asset over a configurable lookback period","exampleAgentPrompt":"What does BTC's historical performance look like by day of the week — show me the average return and win rate per weekday over the past 365 days so I know which days have been statistically stronger for entries.","exampleUseCases":null,"resultDescription":"A breakdown of historical average return and win rate for each day of the week (Monday through Sunday) for the requested asset over the specified lookback window, enabling identification of statistically stronger or weaker trading days. This is descriptive seasonality data, not a forecast.","failureModes":["Invalid asset symbol returns error or empty result","Days parameter outside 30-1000 range rejected with validation error","Insufficient historical data for very short lookback periods may produce unreliable statistics","Rate limiting or payment failure returns 402 or 429 status"],"whenToPreferThis":"Use this endpoint when you need day-of-week seasonality statistics for crypto assets (BTC, ETH, SOL) to time entries or exits around historically stronger or weaker weekdays. Prefer this over the monthly-pattern endpoint when your planning horizon is intraweek rather than seasonal across months, and over the hourly-volatility endpoint when you care about calendar-day patterns rather than intraday time-of-day patterns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:47.915Z","isFirstParty":false}