curl --request POST \
--url https://api.anysite.io/api/reddit/posts/comments \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"post_url": "<string>",
"timeout": 300
}
'[
{
"id": "<string>",
"@type": "@reddit_comment",
"author": {
"id": "<string>",
"name": "<string>",
"@type": "@reddit_author"
},
"text": "<string>",
"score": 123,
"created_at": 123,
"depth": 0,
"parent_id": "<string>",
"is_submitter": false,
"is_deleted": false,
"replies_count": 0,
"replies": []
}
]Get Reddit Post Comments
curl --request POST \
--url https://api.anysite.io/api/reddit/posts/comments \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"post_url": "<string>",
"timeout": 300
}
'[
{
"id": "<string>",
"@type": "@reddit_comment",
"author": {
"id": "<string>",
"name": "<string>",
"@type": "@reddit_author"
},
"text": "<string>",
"score": 123,
"created_at": 123,
"depth": 0,
"parent_id": "<string>",
"is_submitter": false,
"is_deleted": false,
"replies_count": 0,
"replies": []
}
]Successful Response
Show child attributes