POST
/
api
/
v1
/
social
/
youtube-post
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/youtube-post \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}'
{
  "data": {
    "type": "post",
    "poster": {
      "nickname": "<string>",
      "avatar": "<string>",
      "profileUrl": "<string>",
      "channelId": "<string>",
      "handle": "<string>",
      "channelUrl": "<string>"
    },
    "post": {
      "title": "<string>",
      "captionText": "<string>",
      "publishedAt": {
        "text": "<string>",
        "value": 123
      },
      "views": 123,
      "likes": 123,
      "commentsCount": 123,
      "videoId": "<string>",
      "url": "<string>",
      "isShort": true,
      "durationSec": 123,
      "uploadDate": "<string>",
      "category": "<string>",
      "keywords": [
        "<string>"
      ],
      "thumbnails": [
        {
          "url": "<string>",
          "width": 123,
          "height": 123
        }
      ],
      "isLiveContent": true,
      "isLiveNow": true,
      "liveStartTimestamp": "<string>",
      "liveEndTimestamp": "<string>",
      "isPrivate": true,
      "isUnlisted": true,
      "isFamilySafe": true,
      "allowRatings": true,
      "playabilityStatus": "<string>",
      "availableCountriesCount": 123,
      "chapters": [
        {
          "title": "<string>",
          "startMs": 123,
          "thumbnail": "<string>"
        }
      ],
      "related": [
        {
          "workId": "<string>",
          "videoId": "<string>",
          "workType": "video",
          "kind": "video",
          "url": "<string>",
          "title": "<string>",
          "thumbnail": "<string>",
          "cover": "<string>",
          "views": 123,
          "publishTime": "<string>",
          "durationText": "<string>",
          "durationSec": 123,
          "playlistId": "<string>",
          "contentId": "<string>",
          "contentType": "<string>",
          "channelId": "<string>",
          "channelHandle": "<string>",
          "channelName": "<string>",
          "accessibilityText": "<string>"
        }
      ],
      "formats": [
        {
          "itag": 123,
          "mimeType": "<string>",
          "codecs": "<string>",
          "hasVideo": true,
          "hasAudio": true,
          "qualityLabel": "<string>",
          "width": 123,
          "height": 123,
          "fps": 123,
          "bitrate": 123,
          "contentLength": 123,
          "audioQuality": "<string>",
          "audioSampleRate": 123,
          "audioChannels": 123,
          "audioTrack": {
            "id": "<string>",
            "name": "<string>",
            "isDefault": true
          },
          "url": "<string>"
        }
      ]
    },
    "comments": [
      {
        "timeText": {
          "text": "<string>",
          "timestamp": 123
        },
        "content": "<string>",
        "likeCount": 123,
        "replyCount": 123,
        "avatar": "<string>",
        "nickname": "<string>",
        "profileUrl": "<string>",
        "commentId": "<string>",
        "parentId": "<string>",
        "authorChannelId": "<string>",
        "authorIsVerified": true,
        "authorIsCreator": true,
        "authorIsArtist": true,
        "replyLevel": 123,
        "timestamps": [
          {
            "text": "<string>",
            "seconds": 123
          }
        ],
        "replyCursor": "<string>",
        "replys": [
          {
            "timeText": {
              "text": "<string>",
              "timestamp": 123
            },
            "content": "<string>",
            "likeCount": 123,
            "replyCount": 123,
            "avatar": "<string>",
            "nickname": "<string>",
            "profileUrl": "<string>",
            "commentId": "<string>",
            "parentId": "<string>",
            "authorChannelId": "<string>",
            "authorIsVerified": true,
            "authorIsCreator": true,
            "authorIsArtist": true,
            "replyLevel": 123,
            "timestamps": [
              {
                "text": "<string>",
                "seconds": 123
              }
            ],
            "replyCursor": "<string>",
            "replys": [
              "<any>"
            ]
          }
        ]
      }
    ],
    "pagination": {
      "comments": {
        "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

成功

The response is of type object.