文档新闻热点 API
新闻热点 API
获取分类新闻热点,默认返回财经新闻
概览
GET /v1/info/news 获取分类新闻热点文章列表,默认返回财经类新闻。
请求参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
category | string | 否 | finance | 新闻分类:general/finance/tech/sports/entertainment/health/science/world |
limit | int | 否 | 20 | 返回条数(1-50) |
请求示例
curl -H "X-API-Key: sk_gapi_xxxxx" \
"https://api.groundapi.net/v1/info/news?category=finance&limit=10"响应字段
| 字段 | 说明 |
|---|---|
category | 新闻分类 |
total | 返回文章数 |
articles[].title | 文章标题 |
articles[].source | 来源媒体 |
articles[].published_at | 发布时间 |
articles[].url | 文章链接 |
articles[].description | 文章摘要 |
计费
$0.01/次(news),每月前 500 次调用免费。
6 天前更新