toolzerhub API Docs

Get posts in a batch

Returns posts identified by required comma-separated post_ids. Optional comment fields select a specific included comment.

8 credits / requestBilled only on success
GET
/v2/reddit/posts/batch

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

post_ids*string

Comma-separated Reddit post fullnames.

Length1 <= length
include_comment_id?string

Whether to include a specific comment ID's context in the post response.

comment_id?string

Comment fullname to include context for.

curl -X GET "https://example.com/v2/reddit/posts/batch?post_ids=t3_1uw2gep" \  -H "x-api-key: YOUR_API_KEY"
{  "data": [    {      "id": "string",      "property1": null,      "property2": null    }  ]}