{"openapi":"3.1.0","info":{"title":"Outrider API","version":"0.1.0","description":"Read-only API over public chain data: callouts and tails recorded by CalloutRegistry 0xFf53adD0EF7a63266d55165B21e19dAD220aED26 on chain 4663, and Uniswap v4 pools. Big ints are decimal strings, times unix seconds UTC."},"servers":[{"url":"https://outrider.business"}],"paths":{"/api/stats":{"get":{"summary":"Totals","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"integer"},"registry":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"null"}]},"callouts":{"type":"integer"},"tails":{"type":"integer"},"tailedValueEth":{"type":"string"},"trackedPools":{"type":"integer"},"latestBlock":{"type":"integer"},"updatedAt":{"type":"integer"}},"required":["chainId","registry","callouts","tails","tailedValueEth","trackedPools","latestBlock","updatedAt"]}}}}}}},"/api/pools":{"get":{"summary":"Find v4 ETH pools by token CA or pool id (no q: tracked pools)","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"token contract address or pool id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"poolId":{"type":"string"},"venue":{"const":4},"currency0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"currency1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer"}},"required":["address","symbol","name","decimals"]},"fee":{"type":"integer"},"tickSpacing":{"type":"integer"},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"currentTick":{"type":"integer"},"sqrtPriceX96":{"type":"string"},"priceEthPerToken":{"type":"string"},"liquidity":{"type":"string"},"swaps24h":{"type":"integer"},"volume24hEth":{"type":"string"},"tracked":{"type":"boolean"}},"required":["poolId","venue","currency0","currency1","token","fee","tickSpacing","hooks","currentTick","sqrtPriceX96","priceEthPerToken","liquidity","swaps24h","volume24hEth","tracked"]}}}}}}}},"/api/pool/{poolId}":{"get":{"summary":"Pool with candles (ETH per token, last 200)","parameters":[{"name":"poolId","in":"path","required":true,"schema":{"type":"string"},"description":"32-byte pool id"},{"name":"tf","in":"query","required":false,"schema":{"enum":["1m","5m","1h"]},"description":"candle timeframe, default 5m"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"poolId":{"type":"string"},"venue":{"const":4},"currency0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"currency1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer"}},"required":["address","symbol","name","decimals"]},"fee":{"type":"integer"},"tickSpacing":{"type":"integer"},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"currentTick":{"type":"integer"},"sqrtPriceX96":{"type":"string"},"priceEthPerToken":{"type":"string"},"liquidity":{"type":"string"},"swaps24h":{"type":"integer"},"volume24hEth":{"type":"string"},"tracked":{"type":"boolean"}},"required":["poolId","venue","currency0","currency1","token","fee","tickSpacing","hooks","currentTick","sqrtPriceX96","priceEthPerToken","liquidity","swaps24h","volume24hEth","tracked"]},{"type":"object","properties":{"candles":{"type":"array","items":{"type":"object","properties":{"t":{"type":"integer"},"o":{"type":"number"},"h":{"type":"number"},"l":{"type":"number"},"c":{"type":"number"},"vEth":{"type":"string"}},"required":["t","o","h","l","c","vEth"]}}},"required":["candles"]}]}}}}}}},"/api/pool/{poolId}/bins":{"get":{"summary":"Liquidity per bin (one tickSpacing) around the current tick, read with PoolManager.extsload","parameters":[{"name":"poolId","in":"path","required":true,"schema":{"type":"string"},"description":"32-byte pool id"},{"name":"n","in":"query","required":false,"schema":{"type":"integer"},"description":"bins, 4-200, default 48"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"poolId":{"type":"string"},"currentTick":{"type":"integer"},"tickSpacing":{"type":"integer"},"sqrtPriceX96":{"type":"string"},"bins":{"type":"array","items":{"type":"object","properties":{"tickLower":{"type":"integer"},"tickUpper":{"type":"integer"},"liquidity":{"type":"string"}},"required":["tickLower","tickUpper","liquidity"]}}},"required":["poolId","currentTick","tickSpacing","sqrtPriceX96","bins"]}}}}}}},"/api/callouts":{"get":{"summary":"The Wake","parameters":[{"name":"lane","in":"query","required":false,"schema":{"enum":["latest","point","riders"]}},{"name":"pool","in":"query","required":false,"schema":{"type":"string"}},{"name":"caller","in":"query","required":false,"schema":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"1-100, default 20"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"caller":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venue":{"enum":[3,4]},"tokenId":{"type":"string"},"poolId":{"type":"string"},"token":{"type":"object","properties":{"address":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"null"}]},"symbol":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["address","symbol"]},"tickLower":{"type":"integer"},"tickUpper":{"type":"integer"},"side":{"enum":["dip","strength","two"]},"liquidityAtPost":{"type":"string"},"liquidityNow":{"type":"string"},"postedAt":{"type":"integer"},"postedBlock":{"type":"integer"},"postTick":{"anyOf":[{"type":"integer"},{"type":"null"}]},"caption":{"type":"string"},"captionHidden":{"type":"boolean"},"status":{"enum":["in_range","below","above","closed","transferred"]},"timeInRangePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"valueEth":{"anyOf":[{"type":"string"},{"type":"null"}]},"tails":{"type":"integer"},"tailedValueEth":{"type":"string"},"badges":{"type":"array","items":{"enum":["quick_exit","transferred"]}},"rider":{"type":"boolean"},"point":{"type":"boolean"},"txHash":{"type":"string"}},"required":["id","caller","venue","tokenId","poolId","token","tickLower","tickUpper","side","liquidityAtPost","liquidityNow","postedAt","postedBlock","postTick","caption","captionHidden","status","timeInRangePct","valueEth","tails","tailedValueEth","badges","rider","point","txHash"]}}}}}}}},"/api/callout/{id}":{"get":{"summary":"One callout with its tails","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"callout id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"id":{"type":"integer"},"caller":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venue":{"enum":[3,4]},"tokenId":{"type":"string"},"poolId":{"type":"string"},"token":{"type":"object","properties":{"address":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"null"}]},"symbol":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["address","symbol"]},"tickLower":{"type":"integer"},"tickUpper":{"type":"integer"},"side":{"enum":["dip","strength","two"]},"liquidityAtPost":{"type":"string"},"liquidityNow":{"type":"string"},"postedAt":{"type":"integer"},"postedBlock":{"type":"integer"},"postTick":{"anyOf":[{"type":"integer"},{"type":"null"}]},"caption":{"type":"string"},"captionHidden":{"type":"boolean"},"status":{"enum":["in_range","below","above","closed","transferred"]},"timeInRangePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"valueEth":{"anyOf":[{"type":"string"},{"type":"null"}]},"tails":{"type":"integer"},"tailedValueEth":{"type":"string"},"badges":{"type":"array","items":{"enum":["quick_exit","transferred"]}},"rider":{"type":"boolean"},"point":{"type":"boolean"},"txHash":{"type":"string"}},"required":["id","caller","venue","tokenId","poolId","token","tickLower","tickUpper","side","liquidityAtPost","liquidityNow","postedAt","postedBlock","postTick","caption","captionHidden","status","timeInRangePct","valueEth","tails","tailedValueEth","badges","rider","point","txHash"]},{"type":"object","properties":{"tailsList":{"type":"array","items":{"type":"object","properties":{"tailer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venue":{"type":"integer"},"tokenId":{"type":"string"},"tickLower":{"type":"integer"},"tickUpper":{"type":"integer"},"liquidity":{"type":"string"},"at":{"type":"integer"},"txHash":{"type":"string"},"valueEth":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["tailer","venue","tokenId","tickLower","tickUpper","liquidity","at","txHash","valueEth"]}}},"required":["tailsList"]}]}}}}}}},"/api/rider/{address}":{"get":{"summary":"Rider pass status and the message to sign","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"wallet"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"balance":{"type":"string"},"threshold":{"type":"string"},"active":{"type":"boolean"},"token":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"null"}]},"eligible":{"type":"boolean"},"verified":{"type":"boolean"},"message":{"type":"string"}},"required":["address","balance","threshold","active","token","eligible","verified","message"]}}}}}}},"/api/rider/verify":{"post":{"summary":"Verify a Rider pass signature (EIP-191 personal_sign of the exact message)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"message":{"type":"string"},"signature":{"type":"string"}},"required":["address","message","signature"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"active":{"type":"boolean"}},"required":["ok","active"]}}}}}}},"/instruments.json":{"get":{"summary":"Every Live feature with its proof","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"Pool":{"type":"object","properties":{"poolId":{"type":"string"},"venue":{"const":4},"currency0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"currency1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer"}},"required":["address","symbol","name","decimals"]},"fee":{"type":"integer"},"tickSpacing":{"type":"integer"},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"currentTick":{"type":"integer"},"sqrtPriceX96":{"type":"string"},"priceEthPerToken":{"type":"string"},"liquidity":{"type":"string"},"swaps24h":{"type":"integer"},"volume24hEth":{"type":"string"},"tracked":{"type":"boolean"}},"required":["poolId","venue","currency0","currency1","token","fee","tickSpacing","hooks","currentTick","sqrtPriceX96","priceEthPerToken","liquidity","swaps24h","volume24hEth","tracked"]},"Candle":{"type":"object","properties":{"t":{"type":"integer"},"o":{"type":"number"},"h":{"type":"number"},"l":{"type":"number"},"c":{"type":"number"},"vEth":{"type":"string"}},"required":["t","o","h","l","c","vEth"]},"Callout":{"type":"object","properties":{"id":{"type":"integer"},"caller":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venue":{"enum":[3,4]},"tokenId":{"type":"string"},"poolId":{"type":"string"},"token":{"type":"object","properties":{"address":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"null"}]},"symbol":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["address","symbol"]},"tickLower":{"type":"integer"},"tickUpper":{"type":"integer"},"side":{"enum":["dip","strength","two"]},"liquidityAtPost":{"type":"string"},"liquidityNow":{"type":"string"},"postedAt":{"type":"integer"},"postedBlock":{"type":"integer"},"postTick":{"anyOf":[{"type":"integer"},{"type":"null"}]},"caption":{"type":"string"},"captionHidden":{"type":"boolean"},"status":{"enum":["in_range","below","above","closed","transferred"]},"timeInRangePct":{"anyOf":[{"type":"number"},{"type":"null"}]},"valueEth":{"anyOf":[{"type":"string"},{"type":"null"}]},"tails":{"type":"integer"},"tailedValueEth":{"type":"string"},"badges":{"type":"array","items":{"enum":["quick_exit","transferred"]}},"rider":{"type":"boolean"},"point":{"type":"boolean"},"txHash":{"type":"string"}},"required":["id","caller","venue","tokenId","poolId","token","tickLower","tickUpper","side","liquidityAtPost","liquidityNow","postedAt","postedBlock","postTick","caption","captionHidden","status","timeInRangePct","valueEth","tails","tailedValueEth","badges","rider","point","txHash"]},"Tail":{"type":"object","properties":{"tailer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venue":{"type":"integer"},"tokenId":{"type":"string"},"tickLower":{"type":"integer"},"tickUpper":{"type":"integer"},"liquidity":{"type":"string"},"at":{"type":"integer"},"txHash":{"type":"string"},"valueEth":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["tailer","venue","tokenId","tickLower","tickUpper","liquidity","at","txHash","valueEth"]}}}}