POST
/
api
/
v1
/
social
/
x-works
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/x-works \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://x.com/nasa"
}'
{
  "data": {
    "type": "works",
    "works": [
      {
        "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
          }
        },
        "poster": {
          "nickname": "<string>",
          "username": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "id": "<string>",
          "verified": true,
          "verificationType": "<string>",
          "followersCount": 123,
          "followingCount": 123,
          "protected": true
        }
      }
    ],
    "pagination": {
      "cursor": "<string>",
      "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

Success or account business error

The response is of type object.