User Lookup.

Enter any Reddit username to see their profile, karma, and recent activity.

Code powering this demo
// Step 1: Get a Reddit token from ThoughtLab $ch = curl_init('https://thoughtlab.cloud/v1/token'); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_HTTPHEADER => ['Authorization: Bearer sk_live_...'], ]); $token = json_decode(curl_exec($ch), true)['token']; // Step 2: Fetch user profile for u/spez $ch = curl_init('https://oauth.reddit.com/user/spez/about'); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: bearer $token"], ]); $profile = json_decode(curl_exec($ch), true);
More live examples:Subreddit FeedPost Search
Built with ThoughtLab Token API — one API call, one Reddit token, 24 hours of access. Get the source code.
Look up
any user.
// Get a token
POST thoughtlab.cloud/v1/token

// Fetch any user's profile
GET oauth.reddit.com/user/spez/about