{"uid":"cap_6dS1vxam-toHVN74YwnLm","slug":"einstein-ai-x402-api-dex-liquidity-shifts-detector-622ebf54","name":"Einstein AI x402 API – DEX Liquidity Shifts Detector","description":"Detect significant liquidity additions or removals across DEX pools. Supported chains: ethereum, base, bsc, arbitrum, polygon, optimism, zksync. Default chain: ethereum. Required params: none (chain/limit/timeperiod are optional and defaulted).","url":"https://api.relai.fi/relay/1769629274857/x402/bitquery/liquidityshifts","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum","bsc","arbitrum","polygon","optimism","solana"],"type":"string","description":"Blockchain to query (e.g., base, ethereum, bsc, solana)"},"limit":{"type":"string","description":"Maximum number of results to return (default: 10, max: 500)"},"timeperiod":{"enum":["1h","4h","24h","7d","30d"],"type":"string","description":"Time period for analysis (e.g., 1h, 24h, 7d, 30d)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.750000","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.750000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.75","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.75","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8plRNagW2blZc8Hbub3Vo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.75","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects significant liquidity additions or removals across DEX pools on major blockchain networks over a configurable time period.","exampleAgentPrompt":"Show me the top 25 significant liquidity additions and removals across Arbitrum DEX pools from the last 4 hours so I can spot any whale activity or potential rug pulls.","exampleUseCases":null,"resultDescription":"A list of significant liquidity shift events across DEX pools on the queried chain, including pool details, direction (addition or removal), magnitude of liquidity change, and timing — up to the specified limit, filtered to the requested time period.","failureModes":["Unsupported chain specified — only ethereum, base, bsc, arbitrum, polygon, optimism, zksync are valid","limit exceeds maximum of 500 — returns error or capped results","Invalid timeperiod enum value — must be one of 1h, 4h, 24h, 7d, 30d","BitQuery upstream timeout or data unavailability — returns 5xx error","Payment failure via x402 protocol — call not executed, 402 returned"],"whenToPreferThis":"Use this endpoint when you need on-chain DEX liquidity shift intelligence across major EVM chains without building a BitQuery integration yourself. Ideal for detecting whale behavior, potential rug pulls, or significant DeFi capital movements in near real-time. Prefer this over raw BitQuery when you want a pay-per-call model with no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:04:03.983Z","isFirstParty":false}