POST
/
api
/
v1
/
social
/
reddit-search
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/reddit-search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "cat"
}'
{
  "data": {
    "posts": [
      {
        "title": "<string>",
        "publishedAt": {
          "text": "<string>",
          "value": 123
        },
        "likes": 123,
        "commentsCount": 123,
        "redditPostId": "<string>",
        "id36": "<string>",
        "url": "<string>",
        "subreddit": "<string>",
        "over18": true,
        "spoiler": true,
        "thumbnail": "<string>",
        "previewImage": "<string>",
        "gallery": [
          {
            "url": "<string>",
            "width": 123,
            "height": 123
          }
        ],
        "content": "<string>",
        "snippetId": "<string>",
        "subredditId": "<string>",
        "safeSearch": "<string>",
        "structureType": "<string>",
        "subredditNsfw": true,
        "subredditQuarantined": true,
        "actionInfo": {
          "position": 123,
          "relativePosition": 123,
          "type": "<string>"
        },
        "poster": {
          "nickname": "<string>",
          "profileUrl": "<string>",
          "id": "<string>"
        }
      }
    ],
    "count": 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

Success or account business error

The response is of type object.