π¦ ClawHub
Scavio Reddit
by @scavio-ai
Search Reddit posts or fetch a full post with threaded comments by URL. Use for discussion research, brand monitoring, sentiment analysis, or RAG pipelines n...
π‘ Examples
import os, requestsBASE = "https://api.scavio.dev"
HEADERS = {"Authorization": f"Bearer {os.environ['SCAVIO_API_KEY']}"}
Search Reddit
results = requests.post(f"{BASE}/api/v1/reddit/search", headers=HEADERS,
json={"query": "FastAPI vs Django 2026", "sort": "top"}).json()posts = results["data"]["posts"]
next_cursor = results["data"]["nextCursor"] # pass as "cursor" for next page
Fetch full post and comments
post_data = requests.post(f"{BASE}/api/v1/reddit/post", headers=HEADERS,
json={"url": "https://www.reddit.com/r/Python/comments/1smb9du/fastapi_vs_django/"}).json()post = post_data["data"]["post"]
comments = post_data["data"]["comments"] # flat list, use depth/parentId for tree
βοΈ Configuration
Get a free API key at https://scavio.dev (1,000 free credits/month, no card required):
export SCAVIO_API_KEY=sk_live_your_key
TERMINAL
clawhub install scavio-reddit