ヘッドライン詳細を取得
GET
/topics/{id}
指定したヘッドラインの詳細情報を取得します。
認証
ApiKeyAuth
API key authentication. Format: cp_{env}v1{random}_{checksum}. Example: cp_prod_v1_xxxxxxxxxx_xx
型
API Key (header: CP-X-API-KEY)
パラメータ
パスパラメータ
id*
Topic ID
型
必須integer
例
1クエリパラメータ
lang
Language code
型
string
有効な値
"en""ja""zh"例
"en"デフォルト
"en"レスポンス
Successful response
application/json
JSON "code": 0, "message": "ok", "data": { "id": 1, "lang": "en", "category": "0", "published_at": "2026-01-01T10:00:00Z", "subtitle": "Bitcoin hits new high", "summary": "crypto market analysis", "terms_concepts": [ { "term": "Bull Market", "definition": "A market condition where prices are rising" } ], "title": "Bitcoin hits new high", "cover_img": "https://example.com/cover.jpg", "url": "https://coinpost.ai/topics/1" }
{
}
