News search
Keyword search — keyword is required
GET
/openapi/v1/news/searchRefresh: Real-time
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| keyword | string | Required | - | Search keyword (title / content / tags) |
| page | integer | Optional | 1 | Page number, starting from 1 |
| page_size | integer | Optional | 20 | Items per page, range 1-50 |
| category | integer | Optional | - | Category filter |
| language | string | Optional | - | Response language; defaults to English |
Request Example
curl "https://openapi.sosovalue.com/openapi/v1/news/search?keyword=bitcoin" \ -H "x-soso-api-key: $SOSO_API_KEY"
Response Example
{
"code": 0,
"message": "success",
"data": {
"page": 1,
"page_size": 20,
"total": 86,
"list": [
{
"id": "news456",
"source_link": "https://sosovalue.xyz/research/xxx",
"release_time": 1677151845000,
"title": "Latest Bitcoin ETF Developments",
"content": "<p>HTML formatted body...</p>",
"author": "Researcher A",
"author_description": "Crypto Analyst",
"author_avatar_url": "https://...",
"nick_name": "Analyst ®",
"is_blue_verified": 1,
"verified_type": "Business",
"category": 3,
"feature_image": "https://xxx.png",
"matched_currencies": [
{
"id": "1673723677362319866",
"full_name": "BITCOIN",
"name": "BTC"
}
],
"tags": ["ETF", "BTC"],
"media_info": [],
"quote_info": null,
"type": 3,
"highlight": {
"title": "<em>Bitcoin</em> ETF Latest Developments",
"content": "<p>...<em>Bitcoin</em> ETF ...</p>"
}
}
]
}
}