API Docslemon8ContentGet topic post list
Get topic post list
What this API is for
- Get topic post list
GET
/openapi/api/v1/lemon8/app/fetch_topic_post_listPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- category: Topic category ID, can be obtained from the interface /lemon8/app/fetch_topic_info
- max_behot_time: Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_behot_time returned by the last request is used for subsequent requests.
- category_parameter: Category parameter ID, can be obtained from the interface /lemon8/app/fetch_topic_info
- hashtag_name: Hashtag name, can be obtained from the interface /lemon8/app/fetch_topic_info
- sort_type: Sort type, 0 for default sort, currently only support default sort, please do not pass other values.
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| category | query / string | Yes |
| 590 |
| max_behot_time | query / string | No |
| |
| category_parameter | query / string | Yes |
| 7174447913778593798 |
| hashtag_name | query / string | Yes |
| lemon8christmas |
| sort_type | query / string | No |
|
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/lemon8/app/fetch_topic_post_list" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- Post list
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples