Repository navigation
en use websearch deepseek
DeepSeek Search API uses DeepSeek's own search engine for web search and provides a Fetch API that extracts a page as Markdown, helping AI agents find and read current web content.
This page covers DeepSeek Search API setup and usage. See Web Search for general prerequisites, provider comparisons, and troubleshooting.
- Open the DeepSeek Platform and create an account or sign in.
- Open the API Keys page, create a key, and copy it.
- Check your account balance and service availability. Search and Fetch are billed per request; see the official documentation for current prices and billing rules.
Your conversation must use AstrBot Built-in AI, and both the chat model and its API must support tool calling. The server or container running AstrBot must be able to reach https://api.deepseek.com.
- Open
Configin the sidebar and select the profile your conversation actually uses. - Open
AI → Capabilities → Web Searchand turn onEnable Web Search. - Set
Web Search ProvidertoDeepSeek Search API(deepseek). - Add your key to the
DeepSeek API Keylist. One key enables both web search and page extraction; you can also add multiple keys for rotation. - Click
Save Configurationat the bottom right.
These settings apply only to the selected profile. Search is configured independently of the chat model: you can use a chat model from another provider. Even if your chat model already uses DeepSeek, enter the search key separately here; you may use the same key.
| Capability | Content returned by AstrBot |
|---|---|
| Web search (Search) | Titles, source URLs, and summaries; 10 results requested by default, with a supported range of 1–50. Available page content is included when requested by the model |
| Page extraction (Fetch) | The URL, title, and Markdown content of a specific page, including links supplied by the user or found through search |
Search returns summaries by default. For more detail, ask the model to include page content in its search request or use the extraction tool on a selected source link. The actual number of results and availability of page content depend on the search service and target website.
After saving, send the bot or ChatUI an explicit request. The model decides whether to call a tool and which parameters to use. Ask it to “search first, then answer” when you want an answer based on search results.
Search for AstrBot's latest release before answering. Give the version, summarize the main changes, and include source links.
Search supports site, language, date, and exclusion operators. Describe these requirements in your message:
Search GitHub for AstrBot release information published since the start of 2026. Return up to 5 results and include source links.
You can also supply an explicit search expression:
Use DeepSeek Search API to search for: AstrBot site:github.com lang:zh,en after:2026-01-01
You can combine site:, -site:, lang:, after:, before:, exact phrases in double quotes, and excluded terms (-keyword). Dates accept YYYY or YYYY-MM-DD. The complete search expression, including operators, must not exceed 128 characters.
Read this page and summarize its installation steps: https://docs.astrbot.app/en/deploy/astrbot/docker.html
Fetch reads one HTTP or HTTPS URL at a time. Login requirements, paywalls, site access policies, and pages without extractable content can prevent extraction.
Enter the DeepSeek API Key separately under AI → Capabilities → Web Search for the active profile and save. The chat model key is not automatically used for search.
402 indicates insufficient account balance, and 429 indicates a rate limit. Search and Fetch have separate account limits. Multiple keys under the same account do not increase those limits, and Fetch also has a per-domain limit. See the official rate limits for current values.
Multiple keys rotate between requests. AstrBot does not immediately retry a failed request with another key; reduce the request rate before trying again after a rate limit error.
Try a public page that does not require a login and inspect the error under Data & Logs → Logs. A Fetch 403 can indicate a security policy rejection; 404 can indicate that no usable page content could be retrieved. See Web Search troubleshooting for general checks.
- 首页
- 文档入口
- Top Level
- community events
- config
- deploy
- dev
- others
- platform
- 接入 OneBot v11 协议实现
- 接入钉钉 DingTalk
- 接入 Discord
- 接入 Kook
- 接入飞书
- 接入 LINE
- 接入 Matrix
- 接入 Mattermost
- 接入 Misskey 平台
- 接入 QQ 官方机器人平台
- 通过 QQ官方机器人 接入 QQ (Webhook)
- 通过 QQ官方机器人 接入 QQ (Websockets)
- 接入 Satori 协议
- 接入 server-satori (基于 Koishi)
- 接入 Slack
- 接入消息平台
- 接入 Telegram
- 接入 VoceChat
- AstrBot 接入企业微信
- 接入企业微信智能机器人平台
- AstrBot 接入微信公众平台
- 接入个人微信
- providers
- use
- Home
- Docs Entry
- Top Level
- config
- deploy
- Deploy AstrBot on 1Panel
- Deploy AstrBot on BT Panel
- Deploy AstrBot on CasaOS
- Deploy AstrBot from Source Code
- Community-Provided Deployment Methods
- Deploy via Compshare
- Deploy with AstrBot Desktop Client
- Deploy AstrBot with Docker
- Deploy AstrBot with Kubernetes
- Deploy AstrBot with AstrBot Launcher
- Other Deployments
- Script Deployment
- Installation via System Package Manager
- Preface
- dev
- AstrBot Configuration File
- API Scope–Endpoint Reference
- AstrBot HTTP API
- AstrBot Plugin Market JSON Specification
- AstrBot Plugin Market JSON Specification
- Developing a Platform Adapter
- plugin
- AI
- Agents
- Sessions and Conversations
- Models
- Other APIs
- Tools
- Documentation moved
- Text to Image
- Handling Message Events
- Plugin Configuration
- Plugin Internationalization
- Documentation moved
- Shared Bridge API
- Interactive message component
- Standalone plugin page
- Backend Web APIs
- Workbench page
- Sending Messages
- Session Control
- Minimal Example
- Plugin Storage
- AstrBot Plugin Development Guide 🌠
- Publishing Plugins to the Plugin Marketplace
- ospp
- others
- platform
- Connect OneBot v11 Protocol Implementations
- Connect to DingTalk
- Connecting to Discord
- Connect to KOOK
- Connecting to Lark
- Connecting to LINE
- Connecting to Matrix
- Connecting to Mattermost
- Connecting to Misskey Platform
- Connect QQ Official Bot
- Connect QQ via QQ Official Bot (Webhook)
- Connect QQ via QQ Official Bot (Websockets)
- Connect to Satori Protocol
- Connect server-satori (Koishi)
- Connecting to Slack
- Messaging Platforms
- Connecting to Telegram
- Connect to VoceChat
- Connect AstrBot to WeCom
- Connect to WeCom AI Bot Platform
- Connect AstrBot to WeChat Official Account Platform
- Connect Personal WeChat
- providers
- Connect 302.AI
- Agent Runners
- Built-in Agent Runner
- Connect to Coze
- Connect to Alibaba Cloud Bailian Application
- Connect to DeerFlow
- Connect to Dify
- Connect AIHubMix
- coze
- dashscope
- DeepSeek STT Integration
- DeepSeek TTS Integration
- dify
- Model input images
- Large Language Model Providers
- Connect MiraRouter
- NewAPI
- Connect PPIO Cloud
- Connect LM Studio to Use DeepSeek-R1 and Other Models
- Integrating Ollama
- Connect ShengSuanYun
- Connecting to SiliconFlow
- Connecting Model Services
- Connecting to TokenPony
- use
- Agent Execution Mode {#agent-runner}
- Agent Sandbox Environment
- astrbot sandbox
- AstrBot CLI {#cli-commands}
- Docker-based Code Interpreter
- Built-in Commands
- computer
- Context Compression
- Session Configuration Mappings (formerly Custom Rules)
- AstrBot Knowledge Base
- MCP
- AstrBot Plugins {#astrbot-star}
- Proactive Capabilities
- Skills {#anthropic-skills}
- Subagents {#agent-handsoff-and-subagent}
- Unified Webhook Mode
- Web Search
- DeepSeek Search API
- SerpApi
- WebUI