nansen-web-fetcher
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWeb Fetch
Web Fetch
Fetch and analyze content from one or more URLs using Gemini 2.5 Flash with URL context.
bash
nansen web fetch https://nansen.ai --question "What products does Nansen offer?"
nansen web fetch --url https://example.com --url https://other.com --question "Compare these two sites"
nansen web fetch https://docs.uniswap.org/contracts/v4/overview --question "What changed in v4?"Positional args and flags can be combined — all become URLs to fetch.
--url| Flag | Values | Default | Purpose |
|---|---|---|---|
| URL | — | URL to fetch (repeatable for multiple URLs, up to 20) |
| string | required | Question to answer about the URL content |
| flag | off | Human-readable JSON |
Returns:
- — AI-generated answer to your question
analysis - — URLs successfully fetched
retrieved_urls - — URLs that could not be retrieved
failed_urls
Tip: Combine with — search first to find relevant URLs, then fetch to get full content.
web searchbash
undefined借助Gemini 2.5 Flash并结合URL上下文,抓取并分析一个或多个URL的内容。
bash
nansen web fetch https://nansen.ai --question "What products does Nansen offer?"
nansen web fetch --url https://example.com --url https://other.com --question "Compare these two sites"
nansen web fetch https://docs.uniswap.org/contracts/v4/overview --question "What changed in v4?"位置参数和标志可以结合使用——所有指定的内容都会成为待抓取的URL。
--url| 标志 | 取值 | 默认值 | 用途 |
|---|---|---|---|
| URL | — | 待抓取的URL(可重复指定多个URL,最多20个) |
| 字符串 | 必填 | 关于URL内容的待回答问题 |
| 标志 | 关闭 | 生成人类易读的JSON格式 |
返回内容:
- — AI生成的问题答案
analysis - — 成功抓取的URL列表
retrieved_urls - — 无法抓取的URL列表
failed_urls
提示: 与搭配使用——先搜索找到相关URL,再通过fetch获取完整内容进行分析。
web searchbash
undefinedFind and analyze in two steps
分两步完成查找与分析
nansen web search "uniswap v4 launch" --num-results 3 --fields link
nansen web fetch https://blog.uniswap.org/... --question "What are the key changes?"
**Note:** 30s timeout. Paywalled or bot-blocked pages may appear in `failed_urls`.nansen web search "uniswap v4 launch" --num-results 3 --fields link
nansen web fetch https://blog.uniswap.org/... --question "What are the key changes?"
**注意:** 超时时间为30秒。付费墙或被机器人拦截的页面可能会出现在`failed_urls`中。