POST
/
api
/
v1
/
social
/
youtube-search
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/youtube-search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "lofi hip hop"
}'
{
  "data": {
    "videos": [
      {
        "url": "<string>",
        "title": "<string>",
        "duration": 123,
        "videoId": "<string>",
        "isShort": true,
        "descriptionSnippet": "<string>",
        "durationText": "<string>",
        "views": 123,
        "shortViewCountText": "<string>",
        "publishedTimeText": "<string>",
        "thumbnails": [
          {
            "url": "<string>",
            "width": 123,
            "height": 123
          }
        ],
        "cover": "<string>",
        "badges": [
          "<string>"
        ],
        "poster": {
          "nickname": "<string>",
          "channelId": "<string>",
          "handle": "<string>",
          "avatar": "<string>",
          "profileUrl": "<string>",
          "badges": [
            "<string>"
          ]
        }
      }
    ],
    "channels": [
      {
        "channelId": "<string>",
        "title": "<string>",
        "handle": "<string>",
        "url": "<string>",
        "thumbnails": [
          {
            "url": "<string>",
            "width": 123,
            "height": 123
          }
        ],
        "descriptionSnippet": "<string>",
        "subscriberCountText": "<string>",
        "subscriberCount": 123,
        "videoCountText": "<string>",
        "videoCount": 123,
        "badges": [
          "<string>"
        ]
      }
    ],
    "count": 123,
    "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.