{"uid":"cap_tZXNEZrbl7qFICljWp2AO","slug":"4sec-recent-liquidations-api-cffcc0db","name":"4SEC Recent Liquidations API","description":"Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.","url":"https://api.foursec.xyz/liquidation/recent","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object","example":{"data":{"type":"array","items":{"type":"object"}},"long_vs_short":{"type":"object"},"total_value_usd":{"type":"number"},"total_liquidations":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C_bwPcSZmaJ72Ye1pMdpq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent crypto liquidation events aggregated across multiple exchanges, including total USD value, count, and long-vs-short breakdown","exampleAgentPrompt":"Pull the most recent crypto liquidation events and tell me the total USD value liquidated, how many liquidations happened, and whether longs or shorts got hit harder.","exampleUseCases":[{"title":"Detecting market stress via liquidations","prompt":"What do the recent crypto liquidation numbers look like right now — how much USD was wiped out and is it mostly longs or shorts getting liquidated?"},{"title":"Trading signal from liquidation spikes","prompt":"Before I open a position, can you check the latest liquidation data to see if there's been an unusual spike in forced sells or buys recently?"},{"title":"Real-time liquidation monitoring for a DeFi dashboard","prompt":"Fetch the latest multi-exchange liquidation events for me and break down the long vs short ratio and total liquidation count so I can update my dashboard."}],"resultDescription":"Returns a JSON object containing an array of recent liquidation events (each with details about the liquidation), a long_vs_short breakdown object, the total USD value of all recent liquidations as a number, and the total count of liquidation events as an integer.","failureModes":["Payment failure: 402 response if USDC payment on Base is not provided or insufficient","No data returned if there are no recent liquidation events in the window","Rate limiting or service unavailability returning 5xx errors","Malformed response if underlying exchange data feeds are disrupted"],"whenToPreferThis":"Choose this endpoint when you need a quick, aggregated snapshot of recent liquidation activity across multiple crypto exchanges in a single call, especially when you want long-vs-short breakdown and total USD value without building your own aggregation. Prefer this over individual exchange APIs when breadth of coverage matters more than depth on a single venue. Best suited for real-time monitoring, trading signal detection, or dashboards that need cross-market liquidation summaries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T09:27:27.121Z","isFirstParty":false}