Sources › Social media › Reddit › User

Reddit User API

Fetch a user profile and submissions.

RedditGET /userAll plans5 Zap

Request

GET
https://api.zapi.ink/v1/social-media:reddit/user/:username

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

NameTypeInRequiredDescription
usernamestringpathYesReddit username (without the u/ prefix) Example: spez
afterstringqueryNoCursor from a previous response's `after` field Example: t3_1vdnb3e

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:reddit/user/spez?after=t3_1vdnb3e" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:reddit/user/spez?after=t3_1vdnb3e", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:reddit/user/spez",
    params={"after":"t3_1vdnb3e"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Frequently asked questions

How do I call the Reddit User API?

Send a GET request to https://api.zapi.ink/v1/social-media:reddit/user/spez with your Zapi key in the x-api-key header. Parameters — required: username; optional: after. The response is JSON in the { project, data, timestamp } envelope.

What does the Reddit User API return?

Fetch a user profile and submissions.

Is the Reddit User API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 5 Zap. Paid plans raise the limits.

Can an AI assistant call the Reddit User API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "reddit" and endpoint "user".

What other Reddit API endpoints are there?

It has 3 endpoints. Besides User: Post, Subreddit.