---
title: "Twitter Post Comments API (V1)"
description: "Retrieves the latest comments for an X (Twitter) post identified by tweet ID, with cursor pagination. Use it to review recent discussion on a known post and continue through additional comment pages."
aiUsagePrompt: true
---

# Twitter Post Comments API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/twitter/get-post-comments/v1\"")'
  :summary='JSON.parse("\"Post Comments (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/twitter/post-comments-v1-en.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Authentication token required for API access.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"tweetId\",\"in\":\"query\",\"description\":\"The unique identifier of the X (Twitter) post.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"cursor\",\"in\":\"query\",\"description\":\"Pagination cursor returned by the previous response.\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"properties\":{\"status\":{\"type\":\"string\",\"description\":\"Status label returned in the response data.\"},\"timeline\":{\"type\":\"array\",\"description\":\"Timeline entries for the requested post and page.\",\"items\":{\"type\":\"object\",\"description\":\"One timeline entry. The entries can include replies and the original post.\",\"properties\":{\"tweet_id\":{\"type\":\"string\",\"description\":\"X post ID, returned as a string.\"},\"created_at\":{\"type\":\"string\",\"description\":\"Time when the post was published.\"},\"text\":{\"type\":\"string\",\"description\":\"Text of the post.\"},\"lang\":{\"type\":\"string\",\"description\":\"Language code reported for the post.\"},\"conversation_id\":{\"type\":\"string\",\"description\":\"ID of the root post in the conversation, returned as a string.\"},\"sensitive\":{\"type\":[\"boolean\",\"null\"],\"description\":\"Whether the post is marked as potentially sensitive when a value is available.\"},\"type\":{\"type\":\"string\",\"description\":\"Entry type label reported by X.\"},\"screen_name\":{\"type\":\"string\",\"description\":\"Account username without the @ prefix.\"},\"display_text_range\":{\"type\":\"array\",\"description\":\"Start and end positions for the displayed text.\",\"items\":{\"type\":\"integer\"}},\"source\":{\"type\":[\"string\",\"null\"],\"description\":\"Posting client label, which can be an HTML link or null.\"},\"in_reply_to_status_id_str\":{\"type\":\"string\",\"description\":\"ID of the post this entry directly replies to, returned as a string.\"},\"in_reply_to_user_id_str\":{\"type\":\"string\",\"description\":\"ID of the account this entry directly replies to, returned as a string.\"},\"in_reply_to_screen_name\":{\"type\":\"string\",\"description\":\"Username of the account this entry directly replies to.\"},\"bookmarks\":{\"type\":\"integer\",\"description\":\"Reported bookmark count.\"},\"favorites\":{\"type\":\"integer\",\"description\":\"Reported like count.\"},\"quotes\":{\"type\":\"integer\",\"description\":\"Reported quote count.\"},\"replies\":{\"type\":\"integer\",\"description\":\"Reported reply count.\"},\"retweets\":{\"type\":\"integer\",\"description\":\"Reported repost count.\"},\"views\":{\"type\":[\"string\",\"null\"],\"description\":\"Reported view count as a numeric string. It can be null.\"},\"user_info\":{\"type\":\"object\",\"description\":\"Public profile fields for the author of this entry.\",\"properties\":{\"rest_id\":{\"type\":\"string\",\"description\":\"X account ID, returned as a string.\"},\"created_at\":{\"type\":\"string\",\"description\":\"Time when the X account was created.\"},\"name\":{\"type\":\"string\",\"description\":\"Account display name.\"},\"screen_name\":{\"type\":\"string\",\"description\":\"Account username without the @ prefix.\"},\"avatar\":{\"type\":\"string\",\"description\":\"Profile avatar URL.\"},\"followers_count\":{\"type\":\"integer\",\"description\":\"Reported number of accounts following the author.\"},\"favorites_count\":{\"type\":\"integer\",\"description\":\"Number of posts the author has liked.\"},\"verified\":{\"type\":\"boolean\",\"description\":\"Verification flag returned for the author.\"},\"verified_type\":{\"type\":[\"string\",\"null\"],\"description\":\"Account verification category, if supplied.\"},\"location\":{\"type\":\"string\",\"description\":\"Location text supplied by the author in their profile. It can be empty.\"}}},\"entities\":{\"type\":\"object\",\"description\":\"Links, mentions, and other entities associated with the post text.\",\"properties\":{\"urls\":{\"type\":\"array\",\"description\":\"Links found in the post text.\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Short link appearing in the post text.\"},\"expanded_url\":{\"type\":\"string\",\"description\":\"Expanded destination URL for the link.\"},\"display_url\":{\"type\":\"string\",\"description\":\"Readable link label shown with the post.\"},\"indices\":{\"type\":\"array\",\"description\":\"Start and end positions of the entity in the post text.\",\"items\":{\"type\":\"integer\"}}}}},\"user_mentions\":{\"type\":\"array\",\"description\":\"Accounts mentioned in the post.\",\"items\":{\"type\":\"object\",\"properties\":{\"id_str\":{\"type\":\"string\",\"description\":\"X account ID, returned as a string.\"},\"name\":{\"type\":\"string\",\"description\":\"Account display name.\"},\"screen_name\":{\"type\":\"string\",\"description\":\"Account username without the @ prefix.\"},\"indices\":{\"type\":\"array\",\"description\":\"Start and end positions of the entity in the post text.\",\"items\":{\"type\":\"integer\"}}}}},\"hashtags\":{\"type\":\"array\",\"description\":\"Hashtag entities returned for the post.\"},\"symbols\":{\"type\":\"array\",\"description\":\"Symbol entities returned for the post.\"},\"media\":{\"type\":\"array\",\"description\":\"Media link entities returned for the post.\",\"items\":{\"type\":\"object\",\"properties\":{\"id_str\":{\"type\":\"string\",\"description\":\"Media entity ID, returned as a string.\"},\"type\":{\"type\":\"string\",\"description\":\"Media entity type returned for this attachment.\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"HTTPS URL associated with the media entity.\"},\"indices\":{\"type\":\"array\",\"description\":\"Start and end positions of the entity in the post text.\",\"items\":{\"type\":\"integer\"}}}}}}},\"media\":{\"type\":[\"object\",\"array\"],\"description\":\"Media attachments. Responses can use an empty array when no attachment is present.\",\"properties\":{\"photo\":{\"type\":\"array\",\"description\":\"Attached images.\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Image attachment ID, returned as a string.\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"HTTPS URL for the image.\"},\"sizes\":{\"type\":\"object\",\"description\":\"Image dimensions in pixels.\",\"properties\":{\"h\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"},\"w\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"}}}}}},\"video\":{\"type\":\"array\",\"description\":\"Attached videos.\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Video attachment ID, returned as a string.\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"HTTPS URL for the video preview image.\"},\"variants\":{\"type\":\"array\",\"description\":\"Available video playback variants.\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Playback URL for this video variant.\"},\"content_type\":{\"type\":\"string\",\"description\":\"Media type for this video variant.\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"Bitrate reported for this video variant.\"}}}},\"aspect_ratio\":{\"type\":\"array\",\"description\":\"Video aspect ratio as an array of two integers.\",\"items\":{\"type\":\"integer\"}}}}}}},\"quoted\":{\"type\":\"object\",\"description\":\"Post quoted by this entry, when available.\",\"properties\":{\"tweet_id\":{\"type\":\"string\",\"description\":\"X post ID, returned as a string.\"},\"created_at\":{\"type\":\"string\",\"description\":\"Time when the post was published.\"},\"text\":{\"type\":\"string\",\"description\":\"Text of the post.\"},\"lang\":{\"type\":\"string\",\"description\":\"Language code reported for the post.\"},\"conversation_id\":{\"type\":\"string\",\"description\":\"ID of the root post in the conversation, returned as a string.\"},\"sensitive\":{\"type\":[\"boolean\",\"null\"],\"description\":\"Whether the post is marked as potentially sensitive when a value is available.\"},\"bookmarks\":{\"type\":\"integer\",\"description\":\"Reported bookmark count.\"},\"favorites\":{\"type\":\"integer\",\"description\":\"Reported like count.\"},\"quotes\":{\"type\":\"integer\",\"description\":\"Reported quote count.\"},\"replies\":{\"type\":\"integer\",\"description\":\"Reported reply count.\"},\"retweets\":{\"type\":\"integer\",\"description\":\"Reported repost count.\"},\"views\":{\"type\":[\"string\",\"null\"],\"description\":\"Reported view count as a numeric string. It can be null.\"},\"author\":{\"type\":\"object\",\"description\":\"Public profile fields for the quoted post author.\",\"properties\":{\"rest_id\":{\"type\":\"string\",\"description\":\"X account ID, returned as a string.\"},\"created_at\":{\"type\":\"string\",\"description\":\"Time when the X account was created.\"},\"name\":{\"type\":\"string\",\"description\":\"Account display name.\"},\"screen_name\":{\"type\":\"string\",\"description\":\"Account username without the @ prefix.\"},\"avatar\":{\"type\":\"string\",\"description\":\"Profile avatar URL.\"},\"blue_verified\":{\"type\":\"boolean\",\"description\":\"Blue check status returned for the quoted post author.\"}}},\"media\":{\"type\":[\"object\",\"array\"],\"description\":\"Media attachments. Responses can use an empty array when no attachment is present.\",\"properties\":{\"photo\":{\"type\":\"array\",\"description\":\"Attached images.\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Image attachment ID, returned as a string.\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"HTTPS URL for the image.\"},\"sizes\":{\"type\":\"object\",\"description\":\"Image dimensions in pixels.\",\"properties\":{\"h\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"},\"w\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"}}}}}},\"video\":{\"type\":\"array\",\"description\":\"Attached videos.\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Video attachment ID, returned as a string.\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"HTTPS URL for the video preview image.\"},\"variants\":{\"type\":\"array\",\"description\":\"Available video playback variants.\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Playback URL for this video variant.\"},\"content_type\":{\"type\":\"string\",\"description\":\"Media type for this video variant.\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"Bitrate reported for this video variant.\"}}}},\"aspect_ratio\":{\"type\":\"array\",\"description\":\"Video aspect ratio as an array of two integers.\",\"items\":{\"type\":\"integer\"}}}}}}}}}}}},\"next_cursor\":{\"type\":\"string\",\"description\":\"Pass this value as the cursor for the next page when it is non-empty.\"},\"prev_cursor\":{\"type\":\"string\",\"description\":\"Cursor returned for backward pagination. It can be empty.\"}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Invalid request parameters or body\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Invalid or inactive access token\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Permission denied\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Request rate or daily quota limit exceeded\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Internal server error\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Service temporarily unavailable\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"Global production API (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/twitter/get-post-comments/v1\"")' />

<p>Retrieves the latest comments for an X (Twitter) post identified by tweet ID, with cursor pagination. Use it to review recent discussion on a known post and continue through additional comment pages.</p>

## Parameters

<div class="api-doc-table api-doc-table--params">

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Yes | - | Authentication token required for API access. |
| <code>tweetId</code> | query | <code>string</code> | Yes | - | The unique identifier of the X (Twitter) post. |
| <code>cursor</code> | query | <code>string</code> | No | <code></code> | Pagination cursor returned by the previous response. |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "Post Comments (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE
API Endpoint: BASE_URL + /api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/twitter/post-comments-v1-en.json

Parameters:
- token (query): Authentication token required for API access. (Required)
- tweetId (query): The unique identifier of the X (Twitter) post. (Required)
- cursor (query): Pagination cursor returned by the previous response.

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/twitter/post-comments-v1-en.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI Definition (JSON)]</a>
</div>

## Response Fields

Key fields in a successful response (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Field path | Type | Description |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | - |
| <code>data.status</code> | <code>string</code> | Status label returned in the response data. |
| <code>data.timeline</code> | <code>array</code> | Timeline entries for the requested post and page. |
| <code>data.timeline[]</code> | <code>object</code> | One timeline entry. The entries can include replies and the original post. |
| <code>data.timeline[].tweet_id</code> | <code>string</code> | X post ID, returned as a string. |
| <code>data.timeline[].created_at</code> | <code>string</code> | Time when the post was published. |
| <code>data.timeline[].text</code> | <code>string</code> | Text of the post. |
| <code>data.timeline[].lang</code> | <code>string</code> | Language code reported for the post. |
| <code>data.timeline[].conversation_id</code> | <code>string</code> | ID of the root post in the conversation, returned as a string. |
| <code>data.timeline[].sensitive</code> | <code>boolean &#124; null</code> | Whether the post is marked as potentially sensitive when a value is available. |
| <code>data.timeline[].type</code> | <code>string</code> | Entry type label reported by X. |
| <code>data.timeline[].screen_name</code> | <code>string</code> | Account username without the @ prefix. |
| <code>data.timeline[].display_text_range</code> | <code>array</code> | Start and end positions for the displayed text. |
| <code>data.timeline[].display_text_range[]</code> | <code>integer</code> | - |
| <code>data.timeline[].source</code> | <code>string &#124; null</code> | Posting client label, which can be an HTML link or null. |
| <code>data.timeline[].in_reply_to_status_id_str</code> | <code>string</code> | ID of the post this entry directly replies to, returned as a string. |
| <code>data.timeline[].in_reply_to_user_id_str</code> | <code>string</code> | ID of the account this entry directly replies to, returned as a string. |
| <code>data.timeline[].in_reply_to_screen_name</code> | <code>string</code> | Username of the account this entry directly replies to. |
| <code>data.timeline[].bookmarks</code> | <code>integer</code> | Reported bookmark count. |
| <code>data.timeline[].favorites</code> | <code>integer</code> | Reported like count. |
| <code>data.timeline[].quotes</code> | <code>integer</code> | Reported quote count. |
| <code>data.timeline[].replies</code> | <code>integer</code> | Reported reply count. |
| <code>data.timeline[].retweets</code> | <code>integer</code> | Reported repost count. |
| <code>data.timeline[].views</code> | <code>string &#124; null</code> | Reported view count as a numeric string. It can be null. |
| <code>data.timeline[].user_info</code> | <code>object</code> | Public profile fields for the author of this entry. |
| <code>data.timeline[].user_info.rest_id</code> | <code>string</code> | X account ID, returned as a string. |
| <code>data.timeline[].user_info.created_at</code> | <code>string</code> | Time when the X account was created. |
| <code>data.timeline[].user_info.name</code> | <code>string</code> | Account display name. |
| <code>data.timeline[].user_info.screen_name</code> | <code>string</code> | Account username without the @ prefix. |
| <code>data.timeline[].user_info.avatar</code> | <code>string</code> | Profile avatar URL. |
| <code>data.timeline[].user_info.followers_count</code> | <code>integer</code> | Reported number of accounts following the author. |
| <code>data.timeline[].user_info.favorites_count</code> | <code>integer</code> | Number of posts the author has liked. |
| <code>data.timeline[].user_info.verified</code> | <code>boolean</code> | Verification flag returned for the author. |
| <code>data.timeline[].user_info.verified_type</code> | <code>string &#124; null</code> | Account verification category, if supplied. |
| <code>data.timeline[].user_info.location</code> | <code>string</code> | Location text supplied by the author in their profile. It can be empty. |
| <code>data.timeline[].entities</code> | <code>object</code> | Links, mentions, and other entities associated with the post text. |
| <code>data.timeline[].entities.urls</code> | <code>array</code> | Links found in the post text. |
| <code>data.timeline[].entities.urls[]</code> | <code>object</code> | - |
| <code>data.timeline[].entities.urls[].url</code> | <code>string</code> | Short link appearing in the post text. |
| <code>data.timeline[].entities.urls[].expanded_url</code> | <code>string</code> | Expanded destination URL for the link. |
| <code>data.timeline[].entities.urls[].display_url</code> | <code>string</code> | Readable link label shown with the post. |
| <code>data.timeline[].entities.urls[].indices</code> | <code>array</code> | Start and end positions of the entity in the post text. |
| <code>data.timeline[].entities.urls[].indices[]</code> | <code>integer</code> | - |
| <code>data.timeline[].entities.user_mentions</code> | <code>array</code> | Accounts mentioned in the post. |
| <code>data.timeline[].entities.user_mentions[]</code> | <code>object</code> | - |
| <code>data.timeline[].entities.user_mentions[].id_str</code> | <code>string</code> | X account ID, returned as a string. |
| <code>data.timeline[].entities.user_mentions[].name</code> | <code>string</code> | Account display name. |
| <code>data.timeline[].entities.user_mentions[].screen_name</code> | <code>string</code> | Account username without the @ prefix. |
| <code>data.timeline[].entities.user_mentions[].indices</code> | <code>array</code> | Start and end positions of the entity in the post text. |
| <code>data.timeline[].entities.user_mentions[].indices[]</code> | <code>integer</code> | - |
| <code>data.timeline[].entities.hashtags</code> | <code>array</code> | Hashtag entities returned for the post. |
| <code>data.timeline[].entities.symbols</code> | <code>array</code> | Symbol entities returned for the post. |
| <code>data.timeline[].entities.media</code> | <code>array</code> | Media link entities returned for the post. |
| <code>data.timeline[].entities.media[]</code> | <code>object</code> | - |
| <code>data.timeline[].entities.media[].id_str</code> | <code>string</code> | Media entity ID, returned as a string. |
| <code>data.timeline[].entities.media[].type</code> | <code>string</code> | Media entity type returned for this attachment. |
| <code>data.timeline[].entities.media[].media_url_https</code> | <code>string</code> | HTTPS URL associated with the media entity. |
| <code>data.timeline[].entities.media[].indices</code> | <code>array</code> | Start and end positions of the entity in the post text. |
| <code>data.timeline[].entities.media[].indices[]</code> | <code>integer</code> | - |
| <code>data.timeline[].media</code> | <code>object &#124; array</code> | Media attachments. Responses can use an empty array when no attachment is present. |
| <code>data.timeline[].media.photo</code> | <code>array</code> | Attached images. |
| <code>data.timeline[].media.photo[]</code> | <code>object</code> | - |
| <code>data.timeline[].media.photo[].id</code> | <code>string</code> | Image attachment ID, returned as a string. |
| <code>data.timeline[].media.photo[].media_url_https</code> | <code>string</code> | HTTPS URL for the image. |
| <code>data.timeline[].media.photo[].sizes</code> | <code>object</code> | Image dimensions in pixels. |
| <code>data.timeline[].media.photo[].sizes.h</code> | <code>integer</code> | Image height in pixels. |
| <code>data.timeline[].media.photo[].sizes.w</code> | <code>integer</code> | Image width in pixels. |
| <code>data.timeline[].media.video</code> | <code>array</code> | Attached videos. |
| <code>data.timeline[].media.video[]</code> | <code>object</code> | - |
| <code>data.timeline[].media.video[].id</code> | <code>string</code> | Video attachment ID, returned as a string. |
| <code>data.timeline[].media.video[].media_url_https</code> | <code>string</code> | HTTPS URL for the video preview image. |
| <code>data.timeline[].media.video[].variants</code> | <code>array</code> | Available video playback variants. |
| <code>data.timeline[].media.video[].variants[]</code> | <code>object</code> | - |
| <code>data.timeline[].media.video[].variants[].url</code> | <code>string</code> | Playback URL for this video variant. |
| <code>data.timeline[].media.video[].variants[].content_type</code> | <code>string</code> | Media type for this video variant. |
| <code>data.timeline[].media.video[].variants[].bitrate</code> | <code>integer</code> | Bitrate reported for this video variant. |
| <code>data.timeline[].media.video[].aspect_ratio</code> | <code>array</code> | Video aspect ratio as an array of two integers. |
| <code>data.timeline[].media.video[].aspect_ratio[]</code> | <code>integer</code> | - |
| <code>data.timeline[].quoted</code> | <code>object</code> | Post quoted by this entry, when available. |
| <code>data.timeline[].quoted.tweet_id</code> | <code>string</code> | X post ID, returned as a string. |
| <code>data.timeline[].quoted.created_at</code> | <code>string</code> | Time when the post was published. |
| <code>data.timeline[].quoted.text</code> | <code>string</code> | Text of the post. |
| <code>data.timeline[].quoted.lang</code> | <code>string</code> | Language code reported for the post. |
| <code>data.timeline[].quoted.conversation_id</code> | <code>string</code> | ID of the root post in the conversation, returned as a string. |
| <code>data.timeline[].quoted.sensitive</code> | <code>boolean &#124; null</code> | Whether the post is marked as potentially sensitive when a value is available. |
| <code>data.timeline[].quoted.bookmarks</code> | <code>integer</code> | Reported bookmark count. |
| <code>data.timeline[].quoted.favorites</code> | <code>integer</code> | Reported like count. |
| <code>data.timeline[].quoted.quotes</code> | <code>integer</code> | Reported quote count. |
| <code>data.timeline[].quoted.replies</code> | <code>integer</code> | Reported reply count. |
| <code>data.timeline[].quoted.retweets</code> | <code>integer</code> | Reported repost count. |
| <code>data.timeline[].quoted.views</code> | <code>string &#124; null</code> | Reported view count as a numeric string. It can be null. |
| <code>data.timeline[].quoted.author</code> | <code>object</code> | Public profile fields for the quoted post author. |
| <code>data.timeline[].quoted.author.rest_id</code> | <code>string</code> | X account ID, returned as a string. |
| <code>data.timeline[].quoted.author.created_at</code> | <code>string</code> | Time when the X account was created. |
| <code>data.timeline[].quoted.author.name</code> | <code>string</code> | Account display name. |
| <code>data.timeline[].quoted.author.screen_name</code> | <code>string</code> | Account username without the @ prefix. |
| <code>data.timeline[].quoted.author.avatar</code> | <code>string</code> | Profile avatar URL. |
| <code>data.timeline[].quoted.author.blue_verified</code> | <code>boolean</code> | Blue check status returned for the quoted post author. |
| <code>data.timeline[].quoted.media</code> | <code>object &#124; array</code> | Media attachments. Responses can use an empty array when no attachment is present. |
| <code>data.timeline[].quoted.media.photo</code> | <code>array</code> | Attached images. |
| <code>data.timeline[].quoted.media.photo[]</code> | <code>object</code> | - |
| <code>data.timeline[].quoted.media.photo[].id</code> | <code>string</code> | Image attachment ID, returned as a string. |
| <code>data.timeline[].quoted.media.photo[].media_url_https</code> | <code>string</code> | HTTPS URL for the image. |
| <code>data.timeline[].quoted.media.photo[].sizes</code> | <code>object</code> | Image dimensions in pixels. |
| <code>data.timeline[].quoted.media.photo[].sizes.h</code> | <code>integer</code> | Image height in pixels. |
| <code>data.timeline[].quoted.media.photo[].sizes.w</code> | <code>integer</code> | Image width in pixels. |
| <code>data.timeline[].quoted.media.video</code> | <code>array</code> | Attached videos. |
| <code>data.timeline[].quoted.media.video[]</code> | <code>object</code> | - |
| <code>data.timeline[].quoted.media.video[].id</code> | <code>string</code> | Video attachment ID, returned as a string. |
| <code>data.timeline[].quoted.media.video[].media_url_https</code> | <code>string</code> | HTTPS URL for the video preview image. |
| <code>data.timeline[].quoted.media.video[].variants</code> | <code>array</code> | Available video playback variants. |
| <code>data.timeline[].quoted.media.video[].variants[]</code> | <code>object</code> | - |
| <code>data.timeline[].quoted.media.video[].variants[].url</code> | <code>string</code> | Playback URL for this video variant. |
| <code>data.timeline[].quoted.media.video[].variants[].content_type</code> | <code>string</code> | Media type for this video variant. |
| <code>data.timeline[].quoted.media.video[].variants[].bitrate</code> | <code>integer</code> | Bitrate reported for this video variant. |
| <code>data.timeline[].quoted.media.video[].aspect_ratio</code> | <code>array</code> | Video aspect ratio as an array of two integers. |
| <code>data.timeline[].quoted.media.video[].aspect_ratio[]</code> | <code>integer</code> | - |
| <code>data.next_cursor</code> | <code>string</code> | Pass this value as the cursor for the next page when it is non-empty. |
| <code>data.prev_cursor</code> | <code>string</code> | Cursor returned for backward pagination. It can be empty. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/twitter/get-post-comments/v1\"")' />

