Wenxin (Baidu ERNIE) API
https://wenxin.baidu.com
Baidu's ERNIE (文心 / Wenxin) AI-search assistant
- Actions
- 1
- Category
- Ai
- Login
- Not required
- Output
- JSON
Call the Wenxin (Baidu ERNIE) API
Submit a task, then poll the job until it settles. This example runs wenxin_prompt.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "wenxin_prompt",
"params": {
"prompt": "What are the best running shoes in 2026?"
}
}'1 action on https://wenxin.baidu.com
Read
Wenxin (Baidu ERNIE) Prompt
wenxin_promptread2 credits / callAsk Baidu's ERNIE assistant (文心 / Wenxin, the chat.baidu.com AI-search assistant) a question and get its answer.
- prompt
- string · required
- additional_prompt
- string
- include_html
- boolean
Wenxin (Baidu ERNIE) API questions
- Is there an API for Wenxin (Baidu ERNIE)?
- Wenxin (Baidu ERNIE) does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for https://wenxin.baidu.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Wenxin (Baidu ERNIE) data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when https://wenxin.baidu.com changes its markup, Anakin updates the action.
- Do I need a Wenxin (Baidu ERNIE) account?
- No. Every Wenxin (Baidu ERNIE) action listed here runs anonymously — no account and no credentials required.
- What does the Wenxin (Baidu ERNIE) API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Ai APIs
ChatGPT
chatgpt.com
Run prompts against AI assistants
Ai1 action
Claude
claude.ai
Anthropic's Claude
AiAuth1 action
DeepSeek
chat.deepseek.com
DeepSeek chat/search
AiAuth1 action
Gemini
https://gemini.google.com
Send a prompt, get a structured chat answer with grounding sources
Ai1 action
Google AI
google.com
Google AI Mode - cited answers, plus Google Scholar paper search and details.
Ai3 actions
Grok
https://grok.com/
Grok — xAI's conversational AI assistant (grok.com). Ask a question and get Grok's answer with the web sources and X posts it cited.
AiAuth1 action