POST
/
api
/
v1
/
social
/
youtube-works
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/youtube-works \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.youtube.com/@NASA"
}'
{
  "data": {
    "type": "works",
    "works": [
      {
        "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>"
      }
    ],
    "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

成功

The response is of type object.