{"uid":"cap_6KB7_iOnf31yHhoKuy2yP","slug":"nacian-ai-defi-analyst-7f1ff48b","name":"Nacian AI DeFi Analyst","description":"Nacian AI DeFi Analyst — query real-time DEX and lending protocol data. Supported protocols by chain: Ethereum: Uniswap V2, Uniswap V3, Uniswap V4, Sushiswap V2/V3, Pancakeswap V2/V3, Aave V2, Aave V3, Compound V3; Base: Uniswap V3, Sushiswap V2/V3, Pancakeswap V2/V3, Aerodrome V3, Aave V3; Arbitrum: Uniswap V3, Sushiswap V2/V3, Camelot V3, Aave V3, Compound V3.","url":"https://api.nacian.app/query?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["deepseek3.2","minimax-2.5","gemini-3-flash"],"type":"string","description":"Model to use for inference."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}},"description":"Conversation history in OpenAI message format."},"maxOutputTokens":{"type":"integer","maximum":5000,"minimum":1500,"description":"Maximum output tokens (controls price and response length)."}}},"responseSchema":{"type":"json","example":"Server-sent event stream. Each line is a JSON object: {\"type\":\"content\",\"text\":\"...\"} | {\"type\":\"error\",\"message\":\"...\"}"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0109","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.0109/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0109","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0109","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SmpI82SsGaFC216m1PlVS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0109","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Query real-time DEX and lending protocol data across Ethereum, Base, and Arbitrum using an AI analyst model via streaming response","exampleAgentPrompt":"Using Nacian's AI DeFi analyst, what are the current USDC supply APYs on Aave V3 across Ethereum, Base, and Arbitrum — run the query with gemini-3-flash and give me up to 2000 tokens of analysis?","exampleUseCases":[{"title":"Compare DEX swap rates cross-chain","prompt":"Using Nacian's AI DeFi analyst, I want to swap a large amount of ETH — can you compare the best swap routes and rates across Uniswap V3 on Ethereum, Base, and Arbitrum right now? Run the analysis with gemini-3-flash and give me up to 2000 tokens."},{"title":"Find top lending yields on Arbitrum","prompt":"Using Nacian's AI DeFi analyst, what are the highest supply APYs available right now across Aave V3 and Compound V3 on Arbitrum? Include USDC, USDT, and WBTC if available — run it with gemini-3-flash and up to 2000 tokens of analysis."},{"title":"Analyze Aerodrome liquidity pools on Base","prompt":"Using Nacian's AI DeFi analyst, can you pull up the current Aerodrome V3 liquidity pools on Base and highlight the ones with the deepest liquidity and highest trading volume? Use gemini-3-flash and give me up to 2000 tokens of detail."}],"resultDescription":"A server-sent event stream where each line is a JSON object containing either {\"type\":\"content\",\"text\":\"...\"} with the AI analyst's answer about real-time DeFi protocol data, or {\"type\":\"error\",\"message\":\"...\"} on failure. The content progressively streams the model's analysis of DEX or lending protocol metrics.","failureModes":["Unsupported protocol or chain combination returns an error event","maxOutputTokens out of range (below 1500 or above 5000) causes validation failure","Malformed messages array (missing role or content fields) causes a bad request error","Model enum value not matching one of the three supported models returns an error","Network timeout on the streaming connection if the query is too complex","Insufficient payment (x402) results in a 402 response before streaming begins"],"whenToPreferThis":"Choose this endpoint when you need real-time AI-powered analysis of on-chain DeFi data specifically from supported DEX and lending protocols on Ethereum, Base, or Arbitrum. It is ideal for conversational, multi-turn queries about liquidity pools, swap rates, borrow/supply APYs, and protocol comparisons. Prefer it over generic blockchain RPCs or data APIs when you want natural language interpretation of protocol metrics rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:36:43.583Z","isFirstParty":false,"canonicalSlug":"nacian-ai-defi-analyst-7f1ff48b"}