{"x402Version":2,"offer":{"text":"Pay per call: $0.02 — or starter pack: 40 credits = 10 calls for $0.02 (valid 7 days)","pay_per_call":"$0.02","starter_pack":"40 credits = 10 calls for $0.02 (one payment, valid 7 days)","buy":"https://momentum-score.restockalarm.workers.dev/v1/starter-pack"},"chains":{"live":["base"],"paused":["polygon","ethereum"],"note":"Polygon and Ethereum chain data are paused (no license-cleared RPC source yet). Requests with chain=polygon|ethereum answer 503 before any payment and are never charged. Base is live."},"resources":[{"url":"https://momentum-score.restockalarm.workers.dev/v1/momentum?address={address}","description":"Momentum score for an ERC-20 token on Base: 0-100 from 24 h volume, volume vs liquidity and 24 h price change, with direction up/down/flat and a one-line explanation. $0.02 USDC via x402 (Base or Polygon). No charge for failed calls.","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":120},{"scheme":"exact","network":"eip155:137","payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","amount":"20000","maxTimeoutSeconds":120}],"tags":["crypto","token","momentum","volume","price","base","defi","trading"],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"address":"0x940181a94A35A4569E4529A3CDfB74e38FD98631"}},"output":{"type":"json","example":{"address":"0x940181a94a35a4569e4529a3cdfb74e38fd98631","chain":"base","token":{"name":"Aerodrome","symbol":"AERO","is_stablecoin":false},"liquidity":{"level":"deep","band":"$10M-$100M","pools_counted":30,"top_pool":{"address":"0x6cdcb1c4a4d1c3c6d054b27ac5b77e89eafb971d","share_pct":53.3},"derived_from":"dexscreener"},"momentum":77,"direction":"down","direction_basis":"price_change_24h_pct over 24h in quote-token units (flat if |change| < 1%)","momentum_explanation":"momentum 77 = 0.6 × volume (98: $10M-$100M 24 h) + 0.4 × price (45: price -1.96% over 24h (on-chain)); direction down: high activity while the price falls, so a high score is not a buy signal","confidence":"high","components":{"volume_24h_band":"$10M-$100M","volume_vs_liquidity_band":"0.1x-1x","price_change_24h_pct":-1.96,"price_change_band":"-5% to -1%","price_change_window":"24h","price_change_source":"own on-chain computation","social":{"level":"no_data","measured":false,"sentence":"No social/news data source is connected; nothing is inferred.","source":null}},"signals_measured_list":["volume_24h_band","volume_vs_liquidity","price_change_24h_pct"],"method":"…","sources":["Base JSON-RPC (https://mainnet.base.org): …"],"cached":false,"disclaimer":"Not investment advice. Momentum is computed from on-chain pool data and public DEX endpoints only; it says nothing about whether a token is safe to buy."}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 contract address on Base (0x + 40 hex). If omitted, the AERO example is returned with example=true; an invalid address is 400."}},"required":[]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},{"url":"https://momentum-score.restockalarm.workers.dev/v1/starter-pack","description":"Starter pack: one $0.02 x402 payment returns an X-API-Key with 40 credits (10 calls here at 4 credits per call; works on all our token APIs), valid 7 days. $0.02 USDC via x402 (Base or Polygon). No charge for failed calls.","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":120},{"scheme":"exact","network":"eip155:137","payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","amount":"20000","maxTimeoutSeconds":120}],"tags":["crypto","token","momentum","volume","price","base","defi","trading"],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{}},"output":{"type":"json","example":{"key":"sck_…","calls":10,"credits":40,"credits_per_call":4,"expires_at":"2026-10-27T00:00:00.000Z","header":"X-API-Key","how_to":"curl -H \"X-API-Key: sck_…\" https://momentum-score.restockalarm.workers.dev/v1/..."}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","properties":{},"required":[]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}]}