Reddit API for Openclaw

A high-performance API skill to fetch Reddit post details, comments, and perform keyword searches for deep community analysis.

justoneapi
v1.0.6
Apr 23, 2026
0
874
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install justoneapi-reddit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install justoneapi-reddit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Reddit API?

This skill provides a robust interface for Openclaw Skills to interact with Reddit data via the JustOneAPI service. It enables developers and AI agents to programmatically access rich social signals including post engagement metrics, author metadata, and discussion threads without complex scraping setups. By utilizing direct API access, this integration ensures that your Openclaw Skills receive structured, reliable, and up-to-date information from one of the internet's largest discussion platforms.

Reddit API Use Cases

  • Analyzing Reddit post engagement and author metrics for content research.
  • Retrieving comprehensive comment threads for sentiment analysis or moderation tasks.
  • Performing keyword searches to discover trending topics and community discussions.
  • Monitoring specific subreddits for relevant keywords or brand mentions using Openclaw Skills.

How Reddit API Works

  1. The user provides a Reddit-specific identifier like a postId or a specific search keyword.
  2. The Openclaw Skills agent identifies the correct operation such as getRedditPostDetailV1 or searchRedditV1.
  3. The skill executes a GET request to the JustOneAPI backend using the JUST_ONE_API_TOKEN environment variable.
  4. Structured data is returned, including post bodies, timestamps, author info, and engagement counts.
  5. The agent synthesizes the JSON response into a plain-language answer for the end-user.

Reddit API Setup

To integrate this with your Openclaw Skills, follow these steps:

  1. Obtain a JUST_ONE_API_TOKEN from the Just One API Dashboard.
  2. Ensure Node.js is installed in your environment.
  3. Set your environment variable:
export JUST_ONE_API_TOKEN='your_api_token_here'
  1. Run the skill via CLI:
node {baseDir}/bin/run.mjs --operation "getRedditPostDetailV1" --token "$JUST_ONE_API_TOKEN" --params-json '{"postId":"XYZ123"}'

Reddit API Data Schema & Taxonomy

The skill processes data using the following parameter schema to ensure high-fidelity responses within Openclaw Skills:

Parameter Purpose Example
postId Unique ID for specific post retrieval '18abcde'
keyword The search string for discovery 'AI agents'
after Pagination cursor for next results 't3_xyz'
cursor Index pointer for large data sets 'batch_2'

Reddit API Advanced Features

  • Direct API-backed answers that avoid the hallucinations common in freeform AI summaries.
  • Precise filtering using after and cursor parameters for deep data scraping.
  • Integrated metadata support including author details and subreddit engagement metrics.
  • Modular request patterns that allow Openclaw Skills to chain search and detail operations for complex workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins node
Github Stars: 0
forks: 0

Featured*