Skip to main content
GET
/
api
/
v1
/
openclaw
/
reddit
/
subreddit
Subreddit Posts
curl --request GET \
  --url https://yoinkit.ai/api/v1/openclaw/api/v1/openclaw/reddit/subreddit \
  --header 'Authorization: Bearer <token>'

Parameters

subreddit
string
required
Subreddit name (e.g., AskReddit)
sort
string
Sort by Available options: hot, new, top, rising
after
string
Pagination token. Get ‘after’ from previous response.

Example Request

curl -X GET "https://yoinkit.ai/api/v1/openclaw/reddit/subreddit?subreddit=AskReddit" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Example Response

{
  "success": true,
  "data": {
    "posts": [
      {
        "subreddit": "AskReddit",
        "title": "What are your thoughts on...",
        "subreddit_name_prefixed": "r/AskReddit",
        "ups": 12606,
        "upvote_ratio": 0.93,
        "score": 12606,
        "num_comments": 5678,
        "name": "t3_1ldr6b9"
      }
      // ... more posts
    ]
  },
  "meta": {
    "platform": "reddit",
    "endpoint": "subreddit",
    "request_id": "req_abc123"
  }
}
Response data is returned directly from the Yoinkit API.