{"uid":"cap_jvhIcb3lg1Z3koO10TvKz","slug":"dripmetrics-momentum-metric-45c3ba64","name":"DripMetrics Momentum Metric","description":"DripMetricsAI (api description at https://dripmetrics.ai/) provides on-demand crypto market microstructure and risk metrics for agents and developers. Agents can pay per request via x402 and receive structured JSON metrics without subscriptions or API keys. Momentum measures directional return over the specified lookback window. Discovery examples use the latest 30m window.","url":"https://api.dripmetrics.ai/metrics/momentum","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"],"type":"string"},"queryParams":{"type":"object","required":["pair","exchange","window"],"properties":{"pair":{"type":"string","description":"Exchange-native trading pair symbol such as BTCUSDT, ETH-USD, BTC, or xyz:TSLA."},"window":{"enum":["30m","1h","2h","3h"],"type":"string","description":"Lookback window. Hyperliquid supports 30m and 1h; 2h and 3h are currently BTCUSDT/BTC-USD only."},"exchange":{"enum":["binance","coinbase"],"type":"string","description":"Exchange adapter to source recent trades from."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["metric","pair","exchange","window","value","computedAt","tradeCount","firstTradeTime","lastTradeTime","coverage"],"properties":{"pair":{"type":"string"},"value":{"type":"number"},"metric":{"type":"string"},"window":{"enum":["30m","1h","2h","3h"],"type":"string"},"coverage":{"type":"object","required":["requestedWindowMinutes","effectiveWindowMinutes","coverageRatio","partialData","completeFetch","errorMessage"],"properties":{"partialData":{"type":"boolean"},"errorMessage":{"type":["string","null"]},"completeFetch":{"type":"boolean"},"coverageRatio":{"type":"number","maximum":1,"minimum":0},"effectiveWindowMinutes":{"type":"number","minimum":0},"requestedWindowMinutes":{"type":"number","minimum":0}},"additionalProperties":false},"exchange":{"enum":["binance","coinbase"],"type":"string"},"components":{"type":"object","additionalProperties":{"type":"number"}},"computedAt":{"type":"string","format":"date-time"},"tradeCount":{"type":"integer","minimum":1},"lastTradeTime":{"type":"string","format":"date-time"},"firstTradeTime":{"type":"string","format":"date-time"},"benchmarkCoverage":{"type":"object","required":["requestedWindowMinutes","effectiveWindowMinutes","coverageRatio","partialData","completeFetch","errorMessage"],"properties":{"partialData":{"type":"boolean"},"errorMessage":{"type":["string","null"]},"completeFetch":{"type":"boolean"},"coverageRatio":{"type":"number","maximum":1,"minimum":0},"effectiveWindowMinutes":{"type":"number","minimum":0},"requestedWindowMinutes":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"pair":"BTC-USD","value":0.018842,"metric":"momentum","window":"30m","coverage":{"partialData":false,"errorMessage":null,"completeFetch":true,"coverageRatio":1,"effectiveWindowMinutes":30,"requestedWindowMinutes":30},"exchange":"coinbase","components":{},"computedAt":"2026-05-23T14:00:00.000Z","tradeCount":428,"lastTradeTime":"2026-05-23T13:59:58.000Z","firstTradeTime":"2026-05-23T13:00:02.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SNVj3XeUzqDXwJapzPXFR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns directional price momentum for a crypto trading pair over a specified lookback window (30m, 1h, 2h, or 3h) sourced from Binance or Coinbase trade data.","exampleAgentPrompt":"What's the 1-hour momentum right now for BTCUSDT on Binance?","exampleUseCases":[{"title":"Real-time Bitcoin trend check","prompt":"Hey, can you pull the current 30-minute momentum for BTCUSDT on Coinbase? I want to see if there's a strong directional move happening right now before I place a trade."},{"title":"ETH momentum risk assessment","prompt":"I'm about to take a position on ETH-USD — can you check the 2-hour momentum on Coinbase and let me know whether the recent price trend looks bullish, bearish, or flat?"},{"title":"Compare momentum across timeframes","prompt":"Can you grab the 30-minute and 1-hour momentum scores for BTCUSDT on Binance and tell me if they're pointing in the same direction or diverging?"}],"resultDescription":"A structured JSON object containing: the metric name ('momentum'), the trading pair and exchange, the lookback window, a numeric momentum value representing directional return, the timestamp it was computed, trade count used in the calculation, first and last trade times, and a coverage object detailing how fully the requested window was populated (including coverage ratio, effective vs requested minutes, and whether data was partial or complete).","failureModes":["Unsupported pair/exchange combination — 2h and 3h windows only available for BTCUSDT/BTC-USD","Invalid or misspelled trading pair symbol returns an error","Payment failure via x402 if USDC balance is insufficient","Partial data coverage when exchange feed has gaps (coverageRatio < 1, partialData: true)","Unsupported window enum value returns validation error"],"whenToPreferThis":"Use this endpoint when you need a single, computed momentum score for a crypto pair on Binance or Coinbase without setting up subscriptions or API keys. Ideal for agents making pay-per-use trading signal lookups, risk assessments, or directional trend checks in real time. Prefer this over raw trade data endpoints when you need a ready-to-use directional metric rather than raw ticks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:47:04.966Z","isFirstParty":false}