欢迎使用微信公众号文章抓取 API 服务!
重要提示:所有受保护的API端点都需要在请求头中提供有效的API密钥。
请求头格式:X-API-Key: YOUR_API_KEY
验证方式:在HTTP请求头中添加 X-API-Key 字段,值为您的API密钥。
POST /scrapePOST /scrape/asyncGET /tasks/{task_id}GET /files/{filename}GET /tasks
curl -X POST "http://localhost:8000/scrape" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"url": "https://mp.weixin.qq.com/s/...", "download_images": true, "save_html": true, "wait_images": true}'