注目ヘッドラインランキングを取得
GET
/ranking_topics
直近24時間のヘッドラインを total_tweet_score の降順で取得します。
認証
ApiKeyAuth
API key authentication. Format: cp_{env}v1{random}_{checksum}. Example: cp_prod_v1_xxxxxxxxxx_xx
型
API Key (header: CP-X-API-KEY)
パラメータ
クエリパラメータ
top
Number of topics to return (min: 1, max: 50)
型
integer
例
10最小値
1最大値
50デフォルト
5lang
Language code
型
string
有効な値
"en""ja""zh"例
"en"デフォルト
"en"レスポンス
Successful response
application/json
JSON "code": 0, "message": "ok", "data": [ { "id": 1, "title": "Bitcoin hits new high", "subtitle": "crypto", "summary": "market analysis summary", "category": 0, "lang": "en", "published_at": "2026-01-01T10:00:00Z", "url": "https://coinpost.ai/topics/1" } ]
{
}
