Getting Started
Amazon Scrapers
- Overview
- Amazon Scraper API
- Amazon Review API
- Amazon Alexa API
E-commerce Scrapers
- Overview
- TikTok Shop
- Walmart
- Costco
- Best Buy
- Sam’s Club
- Target
- Naver Shopping
Social Media Scrapers
- Overview
- Facebook
- Instagram
- Pinterest
- Reddit
- Threads
- TikTok
- Trustpilot
- X
- YouTube
- Naver Cafe
Search engine scrapers
TRO Data API
Playground
- Amazon Scrapers
- E-commerce Scrapers
- Social Media Scrapers
- Facebook
- Instagram
- Pinterest
- Reddit
- Threads
- TikTok
- Trustpilot
- X
- YouTube
- Naver Cafe
- Search engine scrapers
- TRO Data API
YouTube
YouTube Post API
Send target and only the options listed for this operation. Unlisted options are ignored. Search and comment maxPages defaults to 1 and is capped at 5. Cursors pass through unchanged. Billing: 0.8 points per primary result, including direct replies in explicit reply mode. Included comments and works are free. Facebook includes nested comment replies. One transcript track counts once.
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
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.
The response is of type object.
The response is of type object.
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
}
}
}
