Get Topic Detail
Get the full details of a community topic by its ID, including the body (Markdown), author info, associated tickers and hashtags, engagement counts, and the direct URL.
CLIInstall CLI
bash
longbridge topic-detail 6993508780031016960SDK Links
Request
| HTTP Method | GET |
| HTTP URL | /v1/content/topics/:id |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | YES | Topic ID (e.g. 6993508780031016960) |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"item": {
"id": "6993508780031016960",
"title": "My Analysis on AAPL",
"description": "Brief plain-text summary...",
"body": "**Bullish** on AAPL because...",
"topic_type": "article",
"tickers": ["AAPL.US"],
"hashtags": ["earnings"],
"images": [
{
"url": "https://cdn.longbridge.com/img/abc.jpg",
"sm": "https://cdn.longbridge.com/img/abc_sm.jpg",
"lg": "https://cdn.longbridge.com/img/abc_lg.jpg"
}
],
"likes_count": 42,
"comments_count": 7,
"views_count": 1500,
"shares_count": 3,
"detail_url": "https://longbridge.com/topics/6993508780031016960",
"author": {
"member_id": "10086",
"name": "Jane Doe",
"avatar": "https://example.com/avatar.jpg"
},
"created_at": "1742000000",
"updated_at": "1742001000"
}
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | topic_detail_response |
| 500 | Internal error | None |
Schemas
topic_detail_response
| Name | Type | Required | Description |
|---|---|---|---|
| item | object | true | Topic detail object |
| ∟ id | string | true | Topic ID |
| ∟ title | string | false | Title (may be empty for short posts) |
| ∟ description | string | false | Plain-text excerpt |
| ∟ body | string | false | Markdown body |
| ∟ topic_type | string | true | Content type: article or post |
| ∟ tickers | string[] | false | Associated security symbols (e.g. ["AAPL.US", "700.HK"]) |
| ∟ hashtags | string[] | false | Hashtag names |
| ∟ images | object[] | false | Attached images |
| ∟∟ url | string | false | Original image URL |
| ∟∟ sm | string | false | Small thumbnail URL |
| ∟∟ lg | string | false | Large image URL |
| ∟ likes_count | int32 | false | Likes count |
| ∟ comments_count | int32 | false | Replies count |
| ∟ views_count | int32 | false | Views count |
| ∟ shares_count | int32 | false | Shares count |
| ∟ detail_url | string | false | URL to the topic detail page |
| ∟ author | object | false | Author info |
| ∟∟ member_id | string | false | Author member ID |
| ∟∟ name | string | false | Author display name |
| ∟∟ avatar | string | false | Author avatar URL |
| ∟ created_at | string | true | Creation time as Unix timestamp (seconds) |
| ∟ updated_at | string | false | Last updated time as Unix timestamp (seconds) |