YouTube
YouTube Comments API
Amazon Scrapers
- Overview
- Amazon Scraper API
- Amazon Review API
- Amazon Alexa API
电商数据
- Overview
- TikTok Shop
- Walmart
- Costco
- Best Buy
- Sam’s Club
- Target
- Naver Shopping
社媒数据
- Overview
- Facebook
- Instagram
- Pinterest
- Reddit
- Threads
- TikTok
- Trustpilot
- X
- YouTube
- Naver Cafe
TRO Data API
Playground
- Amazon Scrapers
- 电商数据
- 社媒数据
- Facebook
- Instagram
- Pinterest
- Reddit
- Threads
- TikTok
- Trustpilot
- X
- YouTube
- Naver Cafe
- 搜索引擎数据
- TRO Data API
YouTube
YouTube Comments API
POST
/
api
/
v1
/
social
/
youtube-comments
curl --request POST \
--url https://scrapeapi.pangolinfo.com/api/v1/social/youtube-comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"target": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}'{
"data": {
"type": "comments",
"commentsCount": 123,
"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>"
]
}
]
}
],
"commentId": "<string>",
"replies": [
{
"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
成功
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-comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"target": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}'{
"data": {
"type": "comments",
"commentsCount": 123,
"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>"
]
}
]
}
],
"commentId": "<string>",
"replies": [
{
"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
}
}
}
