POST
/
api
/
v1
/
social
/
reddit-home
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/reddit-home \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.reddit.com/user/spez/"
}'
{
  "data": {
    "type": "home",
    "user": {
      "accountId": "<string>",
      "userId": "<string>",
      "id36": "<string>",
      "username": "<string>",
      "nickname": "<string>",
      "accountName": "<string>",
      "profileUrl": "<string>",
      "avatar": "<string>",
      "banner": "<string>",
      "bio": "<string>",
      "isVerified": true,
      "isSuspended": true,
      "isDeleted": true,
      "postsCount": 123,
      "commentsCount": 123,
      "contributions": 123,
      "linkKarma": 123,
      "commentKarma": 123,
      "totalKarma": 123,
      "contribution": 123,
      "merits": 123,
      "registerTime": {
        "text": "<string>",
        "timestamp": 123
      },
      "targetUrl": "<string>"
    },
    "works": [
      {
        "workId": "<string>",
        "workType": "post",
        "type": "post",
        "id36": "<string>",
        "authorId": "<string>",
        "url": "<string>",
        "content": "<string>",
        "score": 123,
        "likes": 123,
        "createdUtc": 123,
        "createdISO": "<string>",
        "subreddit": "<string>",
        "subredditPrefixed": "<string>",
        "stickied": true,
        "title": "<string>",
        "selftext": "<string>",
        "comments": 123,
        "domain": "<string>",
        "thumbnail": "<string>",
        "isSelf": true,
        "isVideo": true,
        "over18": true,
        "spoiler": true,
        "flair": "<string>",
        "upvoteRatio": 123,
        "body": "<string>",
        "linkId": "<string>",
        "linkTitle": "<string>",
        "linkPermalink": "<string>",
        "isSubmitter": true,
        "distinguished": "<string>",
        "controversiality": 123
      }
    ],
    "pagination": {
      "after": "<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.