{"openapi":"3.1.0","info":{"title":"Yuriko API","version":"0.1.0"},"servers":[{"url":"/"}],"paths":{"/v1/hl/tickers":{"get":{"operationId":"hl-tickers-list","summary":"List Hyperliquid tickers","tags":["hl"],"security":[{"Authorization":[]}],"parameters":[{"in":"query","name":"type","schema":{"type":"string","enum":["perp","spot","all"]}},{"in":"query","name":"limit","schema":{"default":50,"type":"integer","minimum":1,"maximum":500}},{"in":"query","name":"page","schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"in":"query","name":"sparkline","schema":{"default":false,"anyOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"24h_vol_usd":{"type":"number"},"last_updated_seconds_ago":{"type":"number"},"7d_sparkline":{"type":"array","items":{"type":"number"}},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"priceChange":{"default":null,"anyOf":[{"type":"object","properties":{"h1":{"anyOf":[{"type":"number"},{"type":"null"}]},"h24":{"anyOf":[{"type":"number"},{"type":"null"}]},"d7":{"anyOf":[{"type":"number"},{"type":"null"}]},"d14":{"anyOf":[{"type":"number"},{"type":"null"}]},"d30":{"anyOf":[{"type":"number"},{"type":"null"}]},"d200":{"anyOf":[{"type":"number"},{"type":"null"}]},"y1":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"marketCapChange":{"default":null,"anyOf":[{"type":"object","properties":{"h24":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"market_cap_usd":{"default":null,"anyOf":[{"type":"number"},{"type":"null"}]},"volumeChange":{"default":null,"anyOf":[{"type":"object","properties":{"15m":{"anyOf":[{"type":"number"},{"type":"null"}]},"h1":{"anyOf":[{"type":"number"},{"type":"null"}]},"h4":{"anyOf":[{"type":"number"},{"type":"null"}]},"h24":{"anyOf":[{"type":"number"},{"type":"null"}]},"d7":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"volumeUsd":{"default":null,"anyOf":[{"type":"object","properties":{"15m":{"anyOf":[{"type":"number"},{"type":"null"}]},"h1":{"anyOf":[{"type":"number"},{"type":"null"}]},"h4":{"anyOf":[{"type":"number"},{"type":"null"}]},"h24":{"anyOf":[{"type":"number"},{"type":"null"}]},"d7":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["symbol","name","price","24h_vol_usd","last_updated_seconds_ago","priceChange","marketCapChange","market_cap_usd","volumeChange","volumeUsd"],"additionalProperties":false}},"page":{"type":"number"},"limit":{"type":"number"},"total":{"type":"number"},"stale":{"type":"boolean"}},"required":["data","page","limit","total","stale"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}},"/v1/hl/tickers/{symbol}/ohlcv":{"get":{"operationId":"hl-ohlcv-get","summary":"Get OHLCV candles for a symbol","tags":["hl"],"security":[{"Authorization":[]}],"parameters":[{"in":"path","name":"symbol","schema":{"type":"string"},"required":true},{"in":"query","name":"timeframe","schema":{"default":"1h","type":"string","enum":["1m","3m","5m","15m","30m","1h","2h","4h","8h","12h","1d","3d","1w","1M"]}},{"in":"query","name":"from","schema":{"default":1793058778262,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},{"in":"query","name":"to","schema":{"default":1795650778263,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string"},"timeframe":{"type":"string"},"from":{"type":"number"},"to":{"type":"number"},"candles":{"type":"array","items":{"type":"object","properties":{"t":{"type":"number"},"o":{"type":"number"},"h":{"type":"number"},"l":{"type":"number"},"c":{"type":"number"},"v":{"type":"number"}},"required":["t","o","h","l","c","v"],"additionalProperties":false}}},"required":["symbol","timeframe","from","to","candles"],"additionalProperties":false}}}},"400":{"description":"Invalid input data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.BAD_REQUEST"}}}},"401":{"description":"Authorization not provided","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.UNAUTHORIZED"}}}},"403":{"description":"Insufficient access","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.FORBIDDEN"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.NOT_FOUND"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.INTERNAL_SERVER_ERROR"}}}}}}}},"components":{"schemas":{"error.BAD_REQUEST":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Invalid input data error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}},"error.UNAUTHORIZED":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Authorization not provided"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Authorization not provided error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]}},"error.FORBIDDEN":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Insufficient access"},"code":{"type":"string","description":"The error code","example":"FORBIDDEN"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Insufficient access error (403)","description":"The error information","example":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]}},"error.NOT_FOUND":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Not found"},"code":{"type":"string","description":"The error code","example":"NOT_FOUND"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Not found error (404)","description":"The error information","example":{"code":"NOT_FOUND","message":"Not found","issues":[]}},"error.INTERNAL_SERVER_ERROR":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},"required":["message","code"],"additionalProperties":false,"title":"Internal server error error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"securitySchemes":{"Authorization":{"type":"http","scheme":"bearer"}}}}