Call it
curl https://api.peume.com/v1/call/reddit-subreddit-settings-by-t5-fullname \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"subreddit_id": "t5_2qh0u",
"need_format": false
}
}'const res = await fetch("https://api.peume.com/v1/call/reddit-subreddit-settings-by-t5-fullname", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"subreddit_id": "t5_2qh0u",
"need_format": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/reddit-subreddit-settings-by-t5-fullname",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"subreddit_id": "t5_2qh0u",
"need_format": False
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: reddit-subreddit-settings-by-t5-fullname.
Parameters
subreddit_idRequiredstringSubreddit FULLNAME — the t5_ prefix is required (t5_2qh0u, not 2qh0u)
Example: t5_2qh0u
need_formatbooleanWhether to clean and format the data
Example: false
