📰 News Crawler API

新闻爬取服务 API

端点

GET /api/eastmoney

获取东方财富财经导读新闻

认证: 需要 X-API-Key header 或 api_key 参数

curl -H "X-API-Key: <YOUR-API-KEY>" https://news-crawler.pages.dev/api/eastmoney

响应格式

{
  "source_id": "eastmoney",
  "source_name": "东方财富",
  "category": "finance",
  "items": [
    {
      "title": "新闻标题",
      "url": "https://...",
      "content": "",
      "published_at": "2026-02-23T08:20:00+08:00"
    }
  ],
  "timestamp": "2026-02-23T...",
  "saved": 10,
  "duplicates": 0
}