{"openapi":"3.1.0","info":{"title":"ExplodingCrypto Radar","version":"1.0.0"},"servers":[{"url":"https://explodingcrypto.com"}],"paths":{"/api/v1/radar":{"get":{"operationId":"getCryptoMomentum","summary":"List positive price movers from the published snapshot","parameters":[{"name":"period","in":"query","schema":{"type":"string","enum":["24h","7d","30d"],"default":"24h"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":12,"default":12}}],"responses":{"200":{"description":"Successful snapshot, which may have zero positive movers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Radar"}}}},"400":{"description":"Invalid query","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/Error"}}}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/Error"}}}}}},"503":{"description":"Requested period or snapshot unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Radar"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}},"Radar":{"type":"object","required":["schemaVersion","mode","period","asOf","generatedAt","freshness","availablePeriods","methodologyVersion","attribution","items"],"properties":{"schemaVersion":{"const":"1.0"},"methodologyVersion":{"const":"price-momentum-v1"},"mode":{"enum":["demo","live"]},"period":{"type":"string","enum":["24h","7d","30d"]},"asOf":{"type":["string","null"],"format":"date-time"},"generatedAt":{"type":["string","null"],"format":"date-time"},"freshness":{"enum":["demo","fresh","stale","unavailable"]},"availablePeriods":{"type":"array","items":{"type":"string","enum":["24h","7d","30d"]}},"attribution":{"type":"object","required":["name","url"],"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}}},"items":{"type":"array","maxItems":12,"items":{"$ref":"#/components/schemas/Item"}},"error":{"$ref":"#/components/schemas/Error"}}},"Item":{"type":"object","required":["id","name","symbol","rank","priceUsd","changePct","volume24hUsd","marketCapUsd","sparkline7d","iconUrl","explanation","sourceUrl","detailsUrl"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"rank":{"type":"integer","minimum":1,"maximum":12},"priceUsd":{"type":"number","exclusiveMinimum":0},"changePct":{"type":"number","exclusiveMinimum":0,"description":"Percentage points. 12.4 represents +12.4%."},"volume24hUsd":{"type":"number","exclusiveMinimum":0},"marketCapUsd":{"type":"number","exclusiveMinimum":0},"sparkline7d":{"type":["array","null"],"items":{"type":"number","exclusiveMinimum":0},"minItems":2,"maxItems":200,"description":"Seven-day USD price samples, oldest first. Null when unavailable."},"iconUrl":{"type":["string","null"],"format":"uri"},"explanation":{"type":"string"},"sourceUrl":{"type":"string","format":"uri"},"detailsUrl":{"type":"string","format":"uri"}}}}}}