{"uid":"cap_TkifXhHC2h5DhG2ZihJit","slug":"coinank-long-short-ratio-kline-ohlc-data-26b8a0df","name":"CoinAnk Long/Short Ratio Kline (OHLC) Data","description":"Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.","url":"https://claw402.ai/api/v1/coinank/longshort/kline","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","properties":{"size":{"type":"string"},"type":{"type":"string"},"symbol":{"type":"string"},"endTime":{"type":"string"},"exchange":{"type":"string"},"interval":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"code":0,"data":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GK9R_Wktd2lA1SyWKWhST","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches historical long/short ratio kline (candlestick) data for a crypto symbol across exchanges, paid per-call with USDC via x402.","exampleAgentPrompt":"Show me the last 100 hourly long/short ratio candles for BTCUSDT on Binance — I want to see how market sentiment has shifted recently.","exampleUseCases":null,"resultDescription":"Returns a JSON object with code 0 on success and a data array containing long/short ratio kline records (candlestick entries), each likely including timestamp, open/high/low/close ratio values, and possibly individual long and short ratio figures for the specified symbol, exchange, interval, and time range.","failureModes":["Missing required query params (symbol, type, or exchange not provided) returns an error or empty data array","Invalid symbol or exchange name returns empty data","Payment not fulfilled via x402 returns HTTP 402 Payment Required","End time out of range or unsupported interval returns empty or error response","Rate limiting or upstream CoinAnk unavailability returns non-zero error code"],"whenToPreferThis":"Use this endpoint when you need historical long/short ratio kline (candlestick-style) data for crypto derivatives markets, especially for sentiment analysis, backtesting, or charting. Prefer this over raw price feeds when the key insight is the ratio of long vs short positions over time rather than raw price. Suitable for agents doing quantitative or sentiment analysis without needing an API key — just a USDC wallet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:27.641Z","isFirstParty":false}