POST
/
api
/
v1
/
social
/
x-post
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/x-post \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://x.com/jack/status/20"
}'
{
  "data": {
    "type": "post",
    "poster": {
      "nickname": "<string>",
      "username": "<string>",
      "avatar": "<string>",
      "profileUrl": "<string>",
      "id": "<string>",
      "verified": true,
      "verificationType": "<string>",
      "followersCount": 123,
      "followingCount": 123,
      "protected": true
    },
    "post": {
      "id": "<string>",
      "url": "<string>",
      "content": "<string>",
      "rawText": "<string>",
      "publishedAt": {
        "text": "<string>",
        "value": 123
      },
      "likes": 123,
      "commentsCount": 123,
      "reposts": 123,
      "quotes": 123,
      "bookmarks": 123,
      "views": 123,
      "lang": "<string>",
      "possiblySensitive": true,
      "isNoteTweet": true,
      "communityNote": "<any>",
      "replyingTo": "<string>",
      "replyingToStatus": "<string>",
      "source": "<string>",
      "media": [
        {
          "type": "<string>",
          "id": "<string>",
          "url": "<string>",
          "thumbnailUrl": "<string>",
          "width": 123,
          "height": 123,
          "durationSec": 123,
          "format": "<string>",
          "variants": [
            {
              "url": "<string>",
              "container": "<string>",
              "bitrate": 123
            }
          ]
        }
      ],
      "mentions": [
        {
          "username": "<string>",
          "id": "<string>"
        }
      ],
      "hashtags": [
        "<string>"
      ],
      "urls": [
        {
          "url": "<string>",
          "display": "<string>"
        }
      ],
      "repostedBy": {
        "nickname": "<string>",
        "username": "<string>",
        "avatar": "<string>",
        "profileUrl": "<string>",
        "id": "<string>",
        "verified": true,
        "verificationType": "<string>",
        "followersCount": 123,
        "followingCount": 123,
        "protected": true
      },
      "quote": {
        "id": "<string>",
        "url": "<string>",
        "content": "<string>",
        "rawText": "<string>",
        "publishedAt": {
          "text": "<string>",
          "value": 123
        },
        "likes": 123,
        "commentsCount": 123,
        "reposts": 123,
        "quotes": 123,
        "bookmarks": 123,
        "views": 123,
        "lang": "<string>",
        "possiblySensitive": true,
        "isNoteTweet": true,
        "communityNote": "<any>",
        "replyingTo": "<string>",
        "replyingToStatus": "<string>",
        "source": "<string>",
        "media": [
          {
            "type": "<string>",
            "id": "<string>",
            "url": "<string>",
            "thumbnailUrl": "<string>",
            "width": 123,
            "height": 123,
            "durationSec": 123,
            "format": "<string>",
            "variants": [
              {
                "url": "<string>",
                "container": "<string>",
                "bitrate": 123
              }
            ]
          }
        ],
        "mentions": [
          {
            "username": "<string>",
            "id": "<string>"
          }
        ],
        "hashtags": [
          "<string>"
        ],
        "urls": [
          {
            "url": "<string>",
            "display": "<string>"
          }
        ],
        "repostedBy": {
          "nickname": "<string>",
          "username": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "id": "<string>",
          "verified": true,
          "verificationType": "<string>",
          "followersCount": 123,
          "followingCount": 123,
          "protected": true
        },
        "quote": "<any>",
        "poster": {
          "nickname": "<string>",
          "username": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "id": "<string>",
          "verified": true,
          "verificationType": "<string>",
          "followersCount": 123,
          "followingCount": 123,
          "protected": true
        }
      }
    },
    "thread": [
      {
        "id": "<string>",
        "url": "<string>",
        "content": "<string>",
        "rawText": "<string>",
        "publishedAt": {
          "text": "<string>",
          "value": 123
        },
        "likes": 123,
        "commentsCount": 123,
        "reposts": 123,
        "quotes": 123,
        "bookmarks": 123,
        "views": 123,
        "lang": "<string>",
        "possiblySensitive": true,
        "isNoteTweet": true,
        "communityNote": "<any>",
        "replyingTo": "<string>",
        "replyingToStatus": "<string>",
        "source": "<string>",
        "media": [
          {
            "type": "<string>",
            "id": "<string>",
            "url": "<string>",
            "thumbnailUrl": "<string>",
            "width": 123,
            "height": 123,
            "durationSec": 123,
            "format": "<string>",
            "variants": [
              {
                "url": "<string>",
                "container": "<string>",
                "bitrate": 123
              }
            ]
          }
        ],
        "mentions": [
          {
            "username": "<string>",
            "id": "<string>"
          }
        ],
        "hashtags": [
          "<string>"
        ],
        "urls": [
          {
            "url": "<string>",
            "display": "<string>"
          }
        ],
        "repostedBy": {
          "nickname": "<string>",
          "username": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "id": "<string>",
          "verified": true,
          "verificationType": "<string>",
          "followersCount": 123,
          "followingCount": 123,
          "protected": true
        },
        "quote": {
          "id": "<string>",
          "url": "<string>",
          "content": "<string>",
          "rawText": "<string>",
          "publishedAt": {
            "text": "<string>",
            "value": 123
          },
          "likes": 123,
          "commentsCount": 123,
          "reposts": 123,
          "quotes": 123,
          "bookmarks": 123,
          "views": 123,
          "lang": "<string>",
          "possiblySensitive": true,
          "isNoteTweet": true,
          "communityNote": "<any>",
          "replyingTo": "<string>",
          "replyingToStatus": "<string>",
          "source": "<string>",
          "media": [
            {
              "type": "<string>",
              "id": "<string>",
              "url": "<string>",
              "thumbnailUrl": "<string>",
              "width": 123,
              "height": 123,
              "durationSec": 123,
              "format": "<string>",
              "variants": [
                {
                  "url": "<string>",
                  "container": "<string>",
                  "bitrate": 123
                }
              ]
            }
          ],
          "mentions": [
            {
              "username": "<string>",
              "id": "<string>"
            }
          ],
          "hashtags": [
            "<string>"
          ],
          "urls": [
            {
              "url": "<string>",
              "display": "<string>"
            }
          ],
          "repostedBy": {
            "nickname": "<string>",
            "username": "<string>",
            "avatar": "<string>",
            "profileUrl": "<string>",
            "id": "<string>",
            "verified": true,
            "verificationType": "<string>",
            "followersCount": 123,
            "followingCount": 123,
            "protected": true
          },
          "quote": "<any>",
          "poster": {
            "nickname": "<string>",
            "username": "<string>",
            "avatar": "<string>",
            "profileUrl": "<string>",
            "id": "<string>",
            "verified": true,
            "verificationType": "<string>",
            "followersCount": 123,
            "followingCount": 123,
            "protected": true
          }
        }
      }
    ],
    "comments": [
      {
        "id": "<string>",
        "url": "<string>",
        "content": "<string>",
        "rawText": "<string>",
        "publishedAt": {
          "text": "<string>",
          "value": 123
        },
        "likes": 123,
        "commentsCount": 123,
        "reposts": 123,
        "quotes": 123,
        "bookmarks": 123,
        "views": 123,
        "lang": "<string>",
        "possiblySensitive": true,
        "isNoteTweet": true,
        "communityNote": "<any>",
        "replyingTo": "<string>",
        "replyingToStatus": "<string>",
        "source": "<string>",
        "media": [
          {
            "type": "<string>",
            "id": "<string>",
            "url": "<string>",
            "thumbnailUrl": "<string>",
            "width": 123,
            "height": 123,
            "durationSec": 123,
            "format": "<string>",
            "variants": [
              {
                "url": "<string>",
                "container": "<string>",
                "bitrate": 123
              }
            ]
          }
        ],
        "mentions": [
          {
            "username": "<string>",
            "id": "<string>"
          }
        ],
        "hashtags": [
          "<string>"
        ],
        "urls": [
          {
            "url": "<string>",
            "display": "<string>"
          }
        ],
        "repostedBy": {
          "nickname": "<string>",
          "username": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "id": "<string>",
          "verified": true,
          "verificationType": "<string>",
          "followersCount": 123,
          "followingCount": 123,
          "protected": true
        },
        "quote": {
          "id": "<string>",
          "url": "<string>",
          "content": "<string>",
          "rawText": "<string>",
          "publishedAt": {
            "text": "<string>",
            "value": 123
          },
          "likes": 123,
          "commentsCount": 123,
          "reposts": 123,
          "quotes": 123,
          "bookmarks": 123,
          "views": 123,
          "lang": "<string>",
          "possiblySensitive": true,
          "isNoteTweet": true,
          "communityNote": "<any>",
          "replyingTo": "<string>",
          "replyingToStatus": "<string>",
          "source": "<string>",
          "media": [
            {
              "type": "<string>",
              "id": "<string>",
              "url": "<string>",
              "thumbnailUrl": "<string>",
              "width": 123,
              "height": 123,
              "durationSec": 123,
              "format": "<string>",
              "variants": [
                {
                  "url": "<string>",
                  "container": "<string>",
                  "bitrate": 123
                }
              ]
            }
          ],
          "mentions": [
            {
              "username": "<string>",
              "id": "<string>"
            }
          ],
          "hashtags": [
            "<string>"
          ],
          "urls": [
            {
              "url": "<string>",
              "display": "<string>"
            }
          ],
          "repostedBy": {
            "nickname": "<string>",
            "username": "<string>",
            "avatar": "<string>",
            "profileUrl": "<string>",
            "id": "<string>",
            "verified": true,
            "verificationType": "<string>",
            "followersCount": 123,
            "followingCount": 123,
            "protected": true
          },
          "quote": "<any>",
          "poster": {
            "nickname": "<string>",
            "username": "<string>",
            "avatar": "<string>",
            "profileUrl": "<string>",
            "id": "<string>",
            "verified": true,
            "verificationType": "<string>",
            "followersCount": 123,
            "followingCount": 123,
            "protected": true
          }
        },
        "time": {
          "text": "<string>",
          "value": 123
        },
        "avatar": "<string>",
        "nickname": "<string>",
        "profileUrl": "<string>",
        "replys": [
          "<any>"
        ],
        "replyCount": 123,
        "poster": {
          "nickname": "<string>",
          "username": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "id": "<string>",
          "verified": true,
          "verificationType": "<string>",
          "followersCount": 123,
          "followingCount": 123,
          "protected": true
        }
      }
    ],
    "pagination": {
      "comments": {
        "cursor": null,
        "hasMore": true
      }
    }
  },
  "meta": {
    "requestId": "<string>",
    "durationMs": 123
  },
  "code": 123,
  "message": "<string>",
  "pointCost": 123,
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 123,
    "pointCost": 123,
    "counts": {
      "primaryCount": 1,
      "rootCommentCount": 1,
      "replyCount": 1,
      "includedWorkCount": 1,
      "includedRootCommentCount": 1,
      "includedReplyCount": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

成功

The response is of type object.