{"uid":"cap_yRJ6fPzYu0SaSUqisLznt","slug":"base-onchain-uniswap-pool-intelligence-endpoint-26d00364","name":"Base Onchain Uniswap Pool Intelligence Endpoint","description":"Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.","url":"https://x402-data-api.bodhinindustries.workers.dev/pool","method":"GET","headers":{},"bodySchema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Base ERC-20 to map against WETH."}}},"responseSchema":{"type":"object","properties":{"block":{"type":"integer","description":"Base block height"},"flags":{"type":"array","items":{"type":"string"},"description":"e.g. single_tier_only, fragmented_liquidity, low_total_liquidity"},"pools":{"type":"array","items":{"type":"object","properties":{"exists":{"type":"boolean","description":"pool exists"},"feeTier":{"type":"integer","description":"fee tier"},"poolAddress":{"type":"string","description":"pool address (or null)"},"liquidityWeth":{"type":"number","description":"WETH depth"},"spotPriceWeth":{"type":"string","description":"WETH per token (or null)"}}}},"token":{"type":"string","description":"token mapped"},"symbol":{"type":"string","description":"token symbol"},"computedAt":{"type":"string","description":"ISO-8601 timestamp"},"poolsFound":{"type":"integer","description":"count of existing token/WETH pools"},"quoteAsset":{"type":"string","description":"WETH"},"deepestFeeTier":{"type":"integer","description":"fee tier of the deepest pool"},"thirdPartyDataUsed":{"type":"boolean","description":"always false"},"totalLiquidityWeth":{"type":"number","description":"summed WETH depth across tiers"},"liquidityConcentrationPct":{"type":"number","description":"deepest pool's share of total depth"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CrbnGP4B1BDUwqSMn_Lgf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches live Uniswap V3 pool data for any Base ERC-20 token against WETH, including spot price, liquidity depth, fee tier breakdown, and liquidity risk flags — computed directly from Base chain state.","exampleAgentPrompt":"Can you check the Uniswap V3 pool liquidity and spot WETH price for the Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I want to know if the liquidity is fragmented across fee tiers and which pool is deepest?","exampleUseCases":[{"title":"Token liquidity safety before buying","prompt":"Before I ape into this Base token at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed, can you pull its Uniswap V3 pool data and tell me if the liquidity is dangerously low or concentrated in just one fee tier? I don't want to get wrecked by a thin market."},{"title":"On-chain price check no aggregators","prompt":"I need the real on-chain spot price in WETH for the Base token 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 — skip CoinGecko, just pull it straight from Uniswap V3 on Base so I know the number is trustless and manipulation-resistant."},{"title":"DeFi protocol liquidity audit","prompt":"I'm evaluating a new Base DeFi protocol that uses 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb as collateral — can you audit its Uniswap V3 liquidity across all fee tiers and flag any risks like fragmented liquidity or single-tier concentration before we whitelist it?"}],"resultDescription":"Returns the current Base block height, the token symbol, all Uniswap V3 fee-tier pools found (with existence flag, fee tier, pool address, WETH liquidity depth, and spot price), the deepest fee tier, total WETH liquidity summed across tiers, liquidity concentration percentage, and risk flags like 'single_tier_only', 'fragmented_liquidity', or 'low_total_liquidity'. All data is computed live from Base chain with no third-party data sources.","failureModes":["Token address not found on Base — returns empty pools array with poolsFound: 0","Token has no Uniswap V3 WETH pools at any fee tier — flags may include low_total_liquidity","Malformed or non-ERC-20 address input — likely returns error or empty result","Base RPC unavailability causing computation failure","Payment validation failure via x402 protocol — 402 response before data is returned"],"whenToPreferThis":"Prefer this endpoint when you need trustless, on-chain-verified Uniswap V3 pool data for Base ERC-20 tokens with no reliance on third-party price feeds or aggregators. Ideal for DeFi safety checks, liquidity audits, and manipulation-resistant price discovery on the Base network specifically. Choose over CoinGecko/CoinMarketCap when you need raw on-chain truth rather than aggregated market data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:42.268Z","isFirstParty":false}