{"uid":"cap_wFLKFFwK5okrTmCUp1UzT","slug":"tradesonar-large-trades-whale-fills-api-75d8f6b8","name":"TradeSonar Large Trades (Whale Fills) API","description":"TradeSonar: dYdX on-chain smart-money, funding and crowding signals. Every response is stamped with data_as_of freshness (block height + replica lag).","url":"https://api.tradesonar.io/v1/markets/%7Bticker%7D/large-trades?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["ticker"],"properties":{"ticker":{"type":"string","description":"Market ticker, e.g. BTC-USD (NOT BTC-USDT). See /v1/markets for valid tickers."}}},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","default":100,"maximum":500,"minimum":1},"lookback_min":{"type":"integer","default":60,"maximum":1440,"minimum":1,"description":"Lookback window in minutes"},"min_notional":{"type":"number","default":50000,"description":"Minimum trade notional in USD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"trades":[{"side":"...","time":"...","price":"...","sizeUsd":"...","isLiquidation":false}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6kK1fFxpQ8fi-j8Nru21q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns large on-chain trades (whale-sized fills) for a given dYdX market, filterable by lookback window and minimum notional size.","exampleAgentPrompt":"Pull the last 60 minutes of whale trades on BTC-USD from TradeSonar — show me fills above $100,000 notional and flag any liquidations.","exampleUseCases":[{"title":"Whale activity alert for BTC","prompt":"Check dYdX BTC-USD for any trades above $250,000 in the last 30 minutes and tell me if any of them were liquidations — I want to know if whales are getting squeezed."},{"title":"ETH smart-money flow scan","prompt":"Show me the 20 largest ETH-USD trades on dYdX over the past 2 hours, minimum $50,000 notional, so I can see which direction smart money is positioning."},{"title":"Pre-trade crowding check","prompt":"Before I enter a SOL-USD long on dYdX, pull the last 90 minutes of large trades with notional over $100,000 — I want to see if there's already heavy one-sided whale flow."}],"resultDescription":"Returns a list of large trade fills for the requested dYdX market, each containing the direction (buy/sell side), timestamp, execution price, size in USD, and a boolean indicating whether the fill was a forced liquidation. The response is stamped with a data_as_of field reflecting block height and replica lag for freshness verification.","failureModes":["Invalid ticker (not in /v1/markets list) returns a 400 or 404 error","lookback_min outside 1–1440 range returns a validation error","limit outside 1–500 range returns a validation error","Payment not included or insufficient USDC triggers a 402 Payment Required response","No trades matching the min_notional threshold returns an empty trades array","Network or replica lag may cause stale data, flagged via data_as_of timestamp"],"whenToPreferThis":"Use this endpoint when you need raw, timestamped large-order flow data from dYdX on-chain fills — ideal for detecting whale accumulation, forced liquidations, or directional conviction from big players. Prefer this over funding or crowding endpoints when you want individual trade-level evidence rather than aggregated ratios. Best when you need to answer 'who is moving size right now and which way?'","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:45:46.107Z","isFirstParty":false,"canonicalSlug":"tradesonar-large-trades-whale-fills-api-75d8f6b8"}