{"openapi":"3.0.0","paths":{"/api/health-check":{"get":{"operationId":"RootController_getHealthCheck","summary":"API Health Check","parameters":[],"responses":{"200":{"description":""}},"tags":["Status"],"security":[{"bearer":[]}]}},"/api/latest-blocks":{"get":{"operationId":"RootController_getLatestBlock","summary":"Last Processed Blocks","parameters":[],"responses":{"200":{"description":""}},"tags":["Status"],"security":[{"bearer":[]}]}},"/api/prices/pool/{pool_address}":{"get":{"operationId":"getPoolPrice","summary":"Get pool average price","description":"Return a list of average for pool prices for a time range","parameters":[{"name":"pool_address","required":true,"in":"path","description":"Pool Address","example":"0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"interval","required":true,"in":"query","schema":{"default":"1h","enum":["1h","1d"],"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AveragePriceResponse"}}}}},"tags":["Prices"],"security":[{"bearer":[]}]}},"/api/prices/average/token/{token}":{"get":{"operationId":"getAveragePrice","summary":"Get token average price","description":"Returns a list of average token prices for a time range","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"interval","required":true,"in":"query","schema":{"default":"1h","enum":["1h","1d"],"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AveragePriceResponse"}}}}},"tags":["Prices"],"security":[{"bearer":[]}]}},"/api/prices/average/token":{"post":{"operationId":"getAveragePriceByTokenIds","summary":"Get token average price (advanced)","description":"Return a list of average prices over a time range for a given list of tokens. Each price is derived as the weighted average price for the given list of tokens","parameters":[{"name":"days","required":false,"in":"query","description":"Range of days to query data for. Defaults to 7 days if no value is given","schema":{"minimum":1,"maximum":30,"default":"","type":"number"}},{"name":"interval","required":true,"in":"query","schema":{"default":"1h","enum":["1h","1d"],"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAveragePriceByTokenIdsBody"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AveragePriceResponse"}}}}},"tags":["Prices"],"security":[{"bearer":[]}]}},"/api/prices/last-price/token":{"post":{"operationId":"getLastPriceByTokenIds","summary":"Get last price by token ids","description":"Return last price by token ids","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAveragePriceByTokenIdsBody"}}}},"responses":{"201":{"description":""}},"tags":["Prices"],"security":[{"bearer":[]}]}},"/api/prices/last-price/pair/{pair}":{"get":{"operationId":"getLastPriceByPair","summary":"Get last price by pair id","description":"Return last price by pool","parameters":[{"name":"pair","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Prices"],"security":[{"bearer":[]}]}},"/api/swaps/recent":{"get":{"operationId":"getRecentSwaps","summary":"Get recent swaps","description":"Returns a list of recent swaps ordered by time","parameters":[{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapResponse"}}}}},"tags":["Swaps"],"security":[{"bearer":[]}]}},"/api/swaps/tx_id/{tx_id}":{"get":{"operationId":"getSwap","summary":"Get swaps by transaction id","description":"Returns swaps matching a transaction id","parameters":[{"name":"tx_id","required":true,"in":"path","description":"Swap transaction id","example":"0xb0f1ea0dcfac7ed9268300cdddff6d0e103fb29b625636f36f9c12d2ab53c59e","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"tags":["Swaps"],"security":[{"bearer":[]}]}},"/api/swaps/pool/{pool_address}":{"get":{"operationId":"getSwapsByPoolAddress","summary":"Get swaps by liquidity pool","description":"Returns a list of swaps for a given pool address","parameters":[{"name":"pool_address","required":true,"in":"path","description":"Pool Address","example":"0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Swaps will be sorted by time if no value is given","schema":{"enum":["time","amount0","amount1","amount_usd"],"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 30 day if no value is given","schema":{"minimum":1,"maximum":30,"default":30}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":""}},"tags":["Swaps"],"security":[{"bearer":[]}]}},"/api/swaps/token/{token}":{"get":{"operationId":"getSwapsByToken","summary":"Get swaps by token","description":"Returns list of swaps where one of the token corresponds to the given token address or symbol","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Swaps will be sorted by time if no value is given","schema":{"enum":["time","amount0","amount1","amount_usd"],"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 1 day if no value is given","schema":{"minimum":1,"maximum":30,"default":1}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":""}},"tags":["Swaps"],"security":[{"bearer":[]}]}},"/api/swaps":{"post":{"operationId":"getFilteredSwaps","summary":"Get filtered swaps (advanced)","description":"Filter swaps by token ids or traders","parameters":[{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"sort","required":false,"in":"query","description":"Swaps will be sorted by time if no value is given","schema":{"enum":["time","amount0","amount1","amount_usd"],"type":"string"}},{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSwapsByTokenIdsBody"}}}},"responses":{"201":{"description":""}},"tags":["Swaps"],"security":[{"bearer":[]}]}},"/api/pools/exchange/{exchange}":{"get":{"operationId":"getPoolsByExchange","summary":"Get pools by exchange","description":"Returns a list of pools for a given exchange address or exchange name","parameters":[{"name":"exchange","required":true,"in":"path","description":"An exchange name or exchange factory contract address","example":"uniswapv2","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolResponse"}}}}},"tags":["Pools"],"security":[{"bearer":[]}]}},"/api/pools/token/{token}":{"get":{"operationId":"getPoolsByToken","summary":"Get pool reserves by address","description":"Returns pool info for a given pool address","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolResponse"}}}}},"tags":["Pools"],"security":[{"bearer":[]}]}},"/api/pools/{pool_address}":{"get":{"operationId":"getPoolsByAddress","summary":"Get pool by address","description":"Returns pool info for a given pool address","parameters":[{"name":"pool_address","required":true,"in":"path","description":"Pool Address","example":"0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UniquePoolResponse"}}}}},"tags":["Pools"],"security":[{"bearer":[]}]}},"/api/accounts/tags":{"get":{"operationId":"getAccountTags","summary":"Get account tags","description":"Returns all account tags. Tags are non-unique account identifiers to help linked specific accounts to an entity or an individual","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"tags":["Accounts"],"security":[{"bearer":[]}]}},"/api/accounts/search":{"get":{"operationId":"getAccountSearch","summary":"Search Account","description":"Search and returns a list of accounts by label and/or tag (case insensitive search)","parameters":[{"name":"q","required":true,"in":"query","description":"Account tag or label (category)","example":"binance","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountResponse"}}}}}},"tags":["Accounts"],"security":[{"bearer":[]}]}},"/api/pools/snapshots/reserves/{pool_address}":{"get":{"operationId":"getPoolSnapshotsByPool","summary":"Get pool snapshots by pool","description":"Returns a list of pool snapshots for a given pool address","parameters":[{"name":"pool_address","required":true,"in":"path","description":"Pool Address","example":"0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolSnapshotResponse"}}}}},"tags":["Pool Snapshots"],"security":[{"bearer":[]}]}},"/api/pools/events/recent":{"get":{"operationId":"getRecentPoolEvents","summary":"Get recent pool events","description":"Returns a list of recent pool events ordered by time","parameters":[{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEventResponse"}}}}},"tags":["Pool Events"],"security":[{"bearer":[]}]}},"/api/pools/events/exchange/{exchange}":{"get":{"operationId":"getPoolEventsByExchange","summary":"Get pool events by exchange","description":"Returns a list of pool events for a given exchange","parameters":[{"name":"exchange","required":true,"in":"path","description":"An exchange name or exchange factory contract address","example":"uniswapv2","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"sort","required":false,"in":"query","schema":{"default":"time","enum":["time","amount_usd"],"type":"string"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 1 day if no value is given","schema":{"minimum":1,"maximum":30,"default":1}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEventResponse"}}}}},"tags":["Pool Events"],"security":[{"bearer":[]}]}},"/api/pools/events/token/{token}":{"get":{"operationId":"getPoolEventsByToken","summary":"Get pool events by token","description":"Returns a list of pool events for a given token","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"sort","required":false,"in":"query","schema":{"default":"time","enum":["time","amount_usd"],"type":"string"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 1 day if no value is given","schema":{"minimum":1,"maximum":30,"default":1}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEventResponse"}}}}},"tags":["Pool Events"],"security":[{"bearer":[]}]}},"/api/pools/events":{"post":{"operationId":"getPoolEventsByTokenIds","summary":"Get pool events by token ids (advanced)","description":"Returns a list of pool events for which at least one token is in given list of tokens","parameters":[{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 3 day if no value is given","schema":{"minimum":1,"maximum":30,"default":3}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPoolEventsByTokenIdsBody"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEventResponse"}}}}},"tags":["Pool Events"],"security":[{"bearer":[]}]}},"/api/pools/events/rugs":{"get":{"operationId":"getRugPulls","summary":"Get rug pulls","description":"Returns a list of rug pulls","parameters":[{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"min_slippage","required":false,"in":"query","description":"Slippage cutoff value. Defaults to 100 if no value is given","schema":{"minimum":0,"type":"number"}},{"name":"min_amount_usd","required":false,"in":"query","description":"Minimum USD amount cutoff value. Defaults to 100000 if no value is given","schema":{"minimum":0,"type":"number"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 3 day if no value is given","schema":{"minimum":1,"maximum":30,"default":3}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEventResponse"}}}}},"tags":["Pool Events"],"security":[{"bearer":[]}]}},"/api/pools/events/{pool_address}":{"get":{"operationId":"getPoolEventsByAddress","summary":"Get pool events by address","description":"Return a list of pool events for a given pool address","parameters":[{"name":"pool_address","required":true,"in":"path","description":"Pool Address","example":"0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"sort","required":false,"in":"query","schema":{"default":"time","enum":["time","amount_usd"],"type":"string"}},{"name":"next","required":false,"in":"query","description":"Value used for pagination. To get the next page of results, use the 'next' value returned from the previous API response.","schema":{"default":"","type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEventResponse"}}}}},"tags":["Pool Events"],"security":[{"bearer":[]}]}},"/api/tokens/search":{"get":{"operationId":"searchToken","summary":"Get tokens by search","description":"Searches and returns a list of tokens by name, symbol and address.","parameters":[{"name":"q","required":true,"in":"query","description":"Token name of symbol","schema":{"minLength":2}},{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}}},"tags":["Tokens"],"security":[{"bearer":[]}]}},"/api/tokens/{token}":{"get":{"operationId":"getToken","summary":"Get token by address or symbol","description":"Returns a list of tokens by address or symbol. The address or the symbol must match exactly. In the case a token symbol is provided,\n    a list of tokens may be returned in case the token is deployed/bridged on several networks.","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"network","required":false,"in":"query","description":"List of comma-separated networks. Defaults to all networks if no value is given","example":"ethereum,optimism","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}}},"tags":["Tokens"],"security":[{"bearer":[]}]}},"/api/transfers/recent":{"post":{"operationId":"getRecentTransferTokenList","summary":"Get recent transfers","description":"Get recent transfers","parameters":[{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferByEntityFilteredBody"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransfersResponse"}}}}},"tags":["Transfers"],"security":[{"bearer":[]}]}},"/api/transfers/filtered-transfers/unidirectional/{entity}":{"post":{"operationId":"getRecentTransfersByAccount","summary":"Get transfers for account","description":"Get transfers from a particular address","parameters":[{"name":"entity","required":true,"in":"path","description":"Account can either be wallet address or entity tag (Ex. binance)","schema":{"default":"binance","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"min_amount","required":true,"in":"query","description":"Filter by token amounts less than","schema":{"type":"number"}},{"name":"max_amount","required":true,"in":"query","description":"Filter by token amounts greater than","schema":{"type":"number"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}},{"name":"inflow_address","required":false,"in":"query","description":"Inflow public address","schema":{"type":"string"}},{"name":"outflow_address","required":false,"in":"query","description":"Outflow public address","schema":{"type":"string"}},{"name":"token_prices","required":false,"in":"query","description":"Adds token price object property to transfer events","schema":{"default":false,"type":"boolean"}},{"name":"sort","required":false,"in":"query","description":"Sort method","schema":{"default":"time","enum":["time","amount","transfer_value"],"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferByEntityFilteredBodyUnidirectional"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransfersResponse"}}}}},"tags":["Transfers"],"security":[{"bearer":[]}]}},"/api/transfers/token/{token}":{"get":{"operationId":"getTransfersRecentToken","summary":"Get transfers by token","description":"Get transfers for a particular token","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}},{"name":"sort","required":false,"in":"query","description":"Sort method","schema":{"default":"time","enum":["time","amount","transfer_value"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransfersResponse"}}}}},"tags":["Transfers"],"security":[{"bearer":[]}]}},"/api/transfers/token-stats/{token}":{"get":{"operationId":"getTokenTransferStats","summary":"Get token transfer stats","description":"Get transfer stats for a particular token","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"interval","required":true,"in":"query","schema":{"default":"1h","enum":["1h","1d"],"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferStatsResponse"}}}}},"tags":["Transfers"],"security":[{"bearer":[]}]}},"/api/stats/networks":{"get":{"operationId":"getNetworkStats","summary":"Get network statistics","description":"Returns aggregated DEX stats for all supported networks on a given date","parameters":[{"name":"date","required":false,"in":"query","example":"2022-12-01","description":"Date in YYYY-MM-DD format. Defaults to latest available date","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Defaults to `volume_usd` if no value is given","schema":{"enum":["volume_usd","trade_count","unique_trader_count","unique_pools_traded_count"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/networks/historical":{"get":{"operationId":"getHistoricalNetworkStats","summary":"Get network historical statistics","description":"Returns aggregated DEX stats for a network over a given time range","parameters":[{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 30 day if no value is given","schema":{"minimum":1,"maximum":30,"default":30}},{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/pools":{"get":{"operationId":"getPoolStats","summary":"Get pools statistics","description":"Returns aggregated stats for pools (ordered by volume) on a given date","parameters":[{"name":"network","required":false,"in":"query","description":"A comma-separated list of network names or network ids. Defaults to all networks if no value is provided","example":"ethereum,optimism","schema":{"type":"string"}},{"name":"date","required":false,"in":"query","example":"2022-12-01","description":"Date in YYYY-MM-DD format. Defaults to latest available date","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Defaults to `volume_usd` if no value is given","schema":{"enum":["volume_usd","trade_count","unique_trader_count"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}},{"name":"page","required":false,"in":"query","description":"Page value. Defaults to 1 if no value is given","example":1,"schema":{"default":"","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/pools/historical/{pool_address}":{"get":{"operationId":"getHistoricalPoolStats","summary":"Get pool historical statistics","description":"Returns aggregated stats for a given pool over a time range","parameters":[{"name":"pool_address","required":true,"in":"path","description":"Pool Address","example":"0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 30 day if no value is given","schema":{"minimum":1,"maximum":30,"default":30}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/exchange":{"get":{"operationId":"getExchangeStats","summary":"Get exchange stats","description":"Returns aggregated stats for exchanges on a given date","parameters":[{"name":"date","required":false,"in":"query","example":"2022-12-01","description":"Date in YYYY-MM-DD format. Defaults to latest available date","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"sort","required":false,"in":"query","schema":{"enum":["volume","sell_volume","buy_volume","trade_count"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of records returned by API call. Defaults to 50 if no value is given","example":50,"schema":{"minimum":1,"maximum":3000,"default":"","type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/exchange/historical/{exchange}":{"get":{"operationId":"getHistoricalExchangeStats","summary":"Get historical exchange stats","description":"Returns the historical aggregated stats for an exchange on a given time range","parameters":[{"name":"exchange","required":true,"in":"path","description":"An exchange name or exchange factory contract address","example":"uniswapv2","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/token/historical/{token}":{"get":{"operationId":"getHistoricalTokenStats","summary":"Get historical token stats","description":"Returns the aggregated stats for a token (on all pools/exchanges) at a given date","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"days","required":false,"in":"query","description":"Date range in days. Defaults to 7 day if no value is given","schema":{"minimum":1,"maximum":30,"default":7}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2022-10-02","schema":{}},{"name":"end_date","required":false,"in":"query","description":"datestring or timestamp (ms or s). Defaults to current date - range if no value is given","example":"2021-01-01","schema":{}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}},"/api/stats/token/latest/{token}":{"get":{"operationId":"getLatestTokenStats","summary":"Get latest token stats","description":"Returns the aggregated stats for a token (on all pools/exchanges) for the last 24 hours","parameters":[{"name":"token","required":true,"in":"path","description":"An ERC20 token address or an ERC20 token key. Or an asset id for an algorand asset","example":"DAI","schema":{"type":"string"}},{"name":"network","required":true,"in":"query","description":"A network name or a network id","example":"ethereum","schema":{"default":"ethereum","enum":["ethereum","optimism","polygon","fantom","binance","moonbeam","base","arbitrum","avalanche","algorand","bitcoin",1,10,137,250,56,1284,8453,42161,43114,99990,99991],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenStatsResponse"}}}}},"tags":["Stats"],"security":[{"bearer":[]}]}}},"info":{"title":"Blockpour API","description":"","version":"1.0","contact":{}},"tags":[],"servers":[{"url":"https://services.blockpour.com","description":"prod","variables":{}}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"AveragePriceDto":{"type":"object","properties":{"time":{"format":"date-time","type":"string"},"price":{"type":"number"},"volume":{"type":"number"}},"required":["time","price","volume"]},"AveragePriceResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AveragePriceDto"}},"next":{"type":"string"}},"required":["data"]},"GetAveragePriceByTokenIdsBody":{"type":"object","properties":{"token_ids":{"description":"An array of token ids in the format: {token_address}-{chain_id}","example":["0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9-10,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2-1"],"type":"array","items":{"type":"string"}}},"required":["token_ids"]},"SwapDto":{"type":"object","properties":{"time":{"format":"date-time","type":"string"},"pool":{"type":"string"},"token0":{"type":"string"},"token1":{"type":"string"},"amount0":{"type":"number"},"amount1":{"type":"number"},"amount_usd":{"type":"number"},"slippage":{"type":"number"},"receiver":{"type":"string"},"tx":{"type":"string"},"price0":{"type":"number"},"price1":{"type":"number"},"network":{"type":"object"},"token0_symbol":{"type":"string"},"token1_symbol":{"type":"string"},"token0_key":{"type":"string"},"token1_key":{"type":"string"},"exchange":{"type":"string"},"receiver_labels":{"type":"array","items":{"type":"string"}},"receiver_tag":{"type":"string"},"receiver_entity":{"type":"string"}},"required":["time","pool","token0","token1","amount0","amount1","amount_usd","slippage","receiver","tx","price0","price1","network","token0_symbol","token1_symbol","token0_key","token1_key","exchange","receiver_labels","receiver_tag","receiver_entity"]},"SwapResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SwapDto"}},"next":{"type":"string"}},"required":["data","next"]},"GetSwapsByTokenIdsBody":{"type":"object","properties":{"token_ids":{"description":"An array of token ids in the format: {token_address}-{chain_id}","example":["0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9-10,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2-1"],"type":"array","items":{"type":"string"}},"traders":{"description":"An array of trader addresses","example":["0x4bad89a520872594c9852dbf87dd46d324a5da5b,0x676fb89b3c64db5853046dc66eae6312de558dc6"],"type":"array","items":{"type":"string"}}}},"PoolDto":{"type":"object","properties":{"time":{"type":"string"},"pool_name":{"type":"string"},"address":{"type":"string"},"network":{"type":"object"},"symbol0":{"type":"string"},"symbol1":{"type":"string"},"token0":{"type":"string"},"token1":{"type":"string"},"exchange":{"type":"string"},"exchange_name":{"type":"string"},"tvl_usd":{"type":"number"},"reserve0_usd":{"type":"number"},"reserve1_usd":{"type":"number"},"volume_usd_24h":{"type":"number"}},"required":["time","pool_name","address","network","symbol0","symbol1","token0","token1","exchange","exchange_name","tvl_usd","reserve0_usd","reserve1_usd","volume_usd_24h"]},"PoolResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PoolDto"}}},"required":["data"]},"UniquePoolResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PoolDto"}},"required":["data"]},"AccountResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string"}}},"required":["data"]},"PoolSnapshotDto":{"type":"object","properties":{"pool":{"type":"string"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"object"},"block_number":{"type":"number"},"time":{"format":"date-time","type":"string"},"reserves0":{"type":"number"},"reserves1":{"type":"number"}},"required":["pool","token0","token1","network","block_number","time","reserves0","reserves1"]},"PoolSnapshotResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PoolSnapshotDto"},"next":{"type":"string"}},"required":["data","next"]},"PoolEventDto":{"type":"object","properties":{"pair":{"type":"string"},"network":{"type":"object"},"token0":{"type":"string"},"token1":{"type":"string"},"token0_symbol":{"type":"string"},"token1_symbol":{"type":"string"},"amount0":{"type":"number"},"amount1":{"type":"number"},"amount_usd":{"type":"number"},"type":{"type":"string"},"sender":{"type":"string"},"time":{"format":"date-time","type":"string"},"exchange":{"type":"string"},"transaction":{"type":"string"},"slippage":{"type":"number"},"block":{"type":"number"}},"required":["pair","network","token0","token1","token0_symbol","token1_symbol","amount0","amount1","amount_usd","type","sender","time","exchange","transaction","slippage","block"]},"PoolEventResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PoolEventDto"}},"next":{"type":"string"},"last_updated":{"type":"number"}},"required":["data","next","last_updated"]},"GetPoolEventsByTokenIdsBody":{"type":"object","properties":{"token_ids":{"description":"An array of token ids in the format: {token_address}-{chain_id}","example":["0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9-10,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2-1"],"type":"array","items":{"type":"string"}}},"required":["token_ids"]},"TokenDto":{"type":"object","properties":{"address":{"type":"string"},"network":{"type":"object"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"image":{"type":"string"},"meta":{"type":"object"},"7day_dex_trades":{"type":"number"},"24hr_dex_trades":{"type":"number"},"token_key":{"type":"string"}},"required":["address","network","name","symbol","decimals","7day_dex_trades","24hr_dex_trades"]},"TokenResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TokenDto"}}},"required":["data"]},"TransferByEntityFilteredBody":{"type":"object","properties":{"blacklist":{"description":"An array of token ids in the format: {token_address}-{chain_id}. Exclude transfers for these tokens","example":["0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE-1","0xb62132e35a6c13ee1ee0f84dc5d40bad8d815206-1"],"type":"array","items":{"type":"string"}},"tokens":{"description":"An array of token ids in the format: {token_address}-{chain_id}. Only return transfers for these tokens","example":["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2-1","0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1"],"type":"array","items":{"type":"string"}},"inflow_addresses":{"description":"An array of addresses. Only return transfers for these addresses","example":["0x8c8d7c46219d9205f056f28fee5950ad564d7465","0x8c7157fe608db6578e838be2b456d8087864dd12"],"type":"array","items":{"type":"string"}},"outflow_addresses":{"description":"An array of addresses. Only return transfers for these addresses","example":["0x8c8d7c46219d9205f056f28fee5950ad564d7465","0x8c7157fe608db6578e838be2b456d8087864dd12"],"type":"array","items":{"type":"string"}}}},"TransferTokenDto":{"type":"object","properties":{"time":{"format":"date-time","type":"string"},"block":{"type":"number"},"token":{"type":"string"},"receiver":{"type":"string"},"sender":{"type":"string"},"network":{"type":"string"},"amount":{"type":"string"},"tx":{"type":"string"},"token_symbol":{"type":"string"},"token_name":{"type":"string"},"id":{"type":"string"},"token_price":{"type":"string"},"transfer_value":{"type":"string"},"sender_entity":{"type":"string"},"receiver_entity":{"type":"string"}},"required":["time","block","token","receiver","sender","network","amount","tx","token_symbol","token_name","id"]},"TransfersResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TransferTokenDto"}}},"required":["data"]},"TransferByEntityFilteredBodyUnidirectional":{"type":"object","properties":{"blacklist":{"description":"An array of token ids in the format: {token_address}-{chain_id}. Exclude transfers for these tokens","example":["0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE-1","0xb62132e35a6c13ee1ee0f84dc5d40bad8d815206-1"],"type":"array","items":{"type":"string"}},"tokens":{"description":"An array of token ids in the format: {token_address}-{chain_id}. Only return transfers for these tokens","example":["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2-1","0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1"],"type":"array","items":{"type":"string"}},"addresses":{"description":"An array of addresses. Only return transfers for these addresses","example":["0x8c8d7c46219d9205f056f28fee5950ad564d7465","0x8c7157fe608db6578e838be2b456d8087864dd12"],"type":"array","items":{"type":"string"}}}},"TransferStatsDto":{"type":"object","properties":{"time_bucket":{"format":"date-time","type":"string"},"token":{"type":"string"},"transfers":{"type":"number"},"distinct_transfer_addresses":{"type":"number"},"token_amount_transferred":{"type":"number"}},"required":["time_bucket","token","transfers","distinct_transfer_addresses","token_amount_transferred"]},"TransferStatsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TransferStatsDto"}}},"required":["data"]},"NetworkStatsDto":{"type":"object","properties":{"date":{"format":"date-time","type":"string"},"network":{"type":"object"},"volume_usd":{"type":"number"},"average_trade_size":{"type":"number"},"trade_count":{"type":"number"},"unique_trader_count":{"type":"number"},"unique_pairs_traded_count":{"type":"number"}},"required":["date","network","volume_usd","average_trade_size","trade_count","unique_trader_count","unique_pairs_traded_count"]},"NetworkStatsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/NetworkStatsDto"}}},"required":["data"]},"PoolStatsDto":{"type":"object","properties":{"pool_name":{"type":"string"},"exchange_name":{"type":"string"},"network":{"type":"object"},"pool":{"type":"string"},"volume_usd":{"type":"number"},"date":{"format":"date-time","type":"string"},"average_trade_size":{"type":"number"},"average_price0":{"type":"number"},"average_price1":{"type":"number"},"volume_token1":{"type":"number"},"volume_token0":{"type":"number"},"trade_count":{"type":"number"},"unique_trader_count":{"type":"number"},"exchange_factory_address":{"type":"string"}},"required":["pool_name","exchange_name","network","pool","volume_usd","date","average_trade_size","average_price0","average_price1","volume_token1","volume_token0","trade_count","unique_trader_count","exchange_factory_address"]},"PoolStatsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PoolStatsDto"}}},"required":["data"]},"ExchangeStatsDto":{"type":"object","properties":{"date":{"format":"date-time","type":"string"},"network":{"type":"object"},"volume":{"type":"number"},"largest_trade_size":{"type":"number"},"average_trade_size":{"type":"number"},"trade_count":{"type":"number"},"exchange_factory":{"type":"string"},"exchange_name":{"type":"string"}},"required":["date","network","volume","largest_trade_size","average_trade_size","trade_count","exchange_factory","exchange_name"]},"ExchangeStatsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ExchangeStatsDto"}}},"required":["data"]},"TokenStatsDto":{"type":"object","properties":{"date":{"format":"date-time","type":"string"},"network":{"type":"object"},"symbol":{"type":"string"},"volume":{"type":"number"},"buy_volume":{"type":"number"},"sell_volume":{"type":"number"},"trade_count":{"type":"number"},"largest_trade_size":{"type":"number"},"average_trade_size":{"type":"number"},"average_price":{"type":"number"},"volume_weighted_average_price":{"type":"number"}},"required":["date","network","symbol","volume","buy_volume","sell_volume","trade_count","largest_trade_size","average_trade_size","average_price","volume_weighted_average_price"]},"TokenStatsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TokenStatsDto"}}},"required":["data"]}}},"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}