Get user posts
curl --request GET \
--url https://api.konbiniapi.com/v1/reddit/users/{username}/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.konbiniapi.com/v1/reddit/users/{username}/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.konbiniapi.com/v1/reddit/users/{username}/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.konbiniapi.com/v1/reddit/users/{username}/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.konbiniapi.com/v1/reddit/users/{username}/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.konbiniapi.com/v1/reddit/users/{username}/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.konbiniapi.com/v1/reddit/users/{username}/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "OrderedCollectionPage",
"partOf": "https://api.konbiniapi.com/v1/reddit/users/spez/posts",
"totalItems": 1309,
"cursor": "0",
"nextCursor": "1772217402000",
"next": "https://api.konbiniapi.com/v1/reddit/users/spez/posts?cursor=t3_post_2&count=25&order=top&time=week",
"itemCount": 30,
"orderedItems": [
{
"type": "Note",
"id": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"url": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"content": "We shipped Reddit support.",
"likeCount": 93210,
"entityId": "post_1",
"name": "Launch day",
"published": "2026-02-27T20:37:38.000Z",
"isEdited": false,
"isLocked": false,
"isOriginal": false,
"isPinned": false,
"isSponsored": false,
"isAdult": false,
"isSpoiler": false,
"isSearchable": true,
"voteCount": 118,
"commentCount": 15,
"shareCount": 8,
"attributedTo": {
"type": "Person",
"id": "https://www.reddit.com/user/spez/",
"url": "https://www.reddit.com/user/spez/",
"entityId": "t2_4x25quk",
"preferredUsername": "spez",
"name": "Steve Huffman",
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"role": "admin",
"summary": "Reddit CEO",
"published": "2005-12-08T07:46:43.000Z",
"isVerified": true,
"isEmployee": true,
"isMod": false,
"isPremium": false,
"isSearchable": true,
"isFollowable": true,
"isAdult": false,
"score": 999999,
"postScore": 555555,
"commentScore": 444444,
"awarderScore": 123,
"awardeeScore": 321,
"status": "active",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
},
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"image": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"attachment": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"tag": [
{
"type": "Tag",
"name": "programming",
"href": "https://www.reddit.com/r/programming/"
}
],
"quote": {
"type": "Note",
"id": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"url": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"content": "We shipped Reddit support.",
"likeCount": 93210,
"entityId": "post_1",
"name": "Launch day",
"published": "2026-02-27T20:37:38.000Z",
"isEdited": false,
"isLocked": false,
"isOriginal": false,
"isPinned": false,
"isSponsored": false,
"isAdult": false,
"isSpoiler": false,
"isSearchable": true,
"voteCount": 118,
"commentCount": 15,
"shareCount": 8,
"attributedTo": {
"type": "Person",
"id": "https://www.reddit.com/user/spez/",
"url": "https://www.reddit.com/user/spez/",
"entityId": "t2_4x25quk",
"preferredUsername": "spez",
"name": "Steve Huffman",
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"role": "admin",
"summary": "Reddit CEO",
"published": "2005-12-08T07:46:43.000Z",
"isVerified": true,
"isEmployee": true,
"isMod": false,
"isPremium": false,
"isSearchable": true,
"isFollowable": true,
"isAdult": false,
"score": 999999,
"postScore": 555555,
"commentScore": 444444,
"awarderScore": 123,
"awardeeScore": 321,
"status": "active",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
},
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"image": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"attachment": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"tag": [
{
"type": "Tag",
"name": "programming",
"href": "https://www.reddit.com/r/programming/"
}
]
}
}
]
}
}{
"errors": [
{
"code": "validation_error",
"message": "Validation error"
}
],
"data": null
}{
"errors": [
{
"message": "Invalid API key"
}
],
"data": null
}{
"errors": [
{
"code": "credits_exhausted",
"message": "Credits exhausted. Upgrade your plan at konbiniapi.com"
}
],
"data": null
}{
"errors": [
{
"message": "API key is disabled"
}
],
"data": null
}{
"errors": [
{
"message": "Not found"
}
],
"data": null
}{
"errors": [
{
"code": "validation_error",
"message": "Request body too large"
}
],
"data": null
}{
"errors": [
{
"code": "internal_error",
"message": "Internal error"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}{
"errors": [
{
"code": "service_unavailable",
"message": "Service unavailable"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}Users
Get user posts
Returns public posts submitted by a Reddit user. Supports hot, new, top, and controversial ordering, with optional time windows for top and controversial.
GET
/
v1
/
reddit
/
users
/
{username}
/
posts
Get user posts
curl --request GET \
--url https://api.konbiniapi.com/v1/reddit/users/{username}/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.konbiniapi.com/v1/reddit/users/{username}/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.konbiniapi.com/v1/reddit/users/{username}/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.konbiniapi.com/v1/reddit/users/{username}/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.konbiniapi.com/v1/reddit/users/{username}/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.konbiniapi.com/v1/reddit/users/{username}/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.konbiniapi.com/v1/reddit/users/{username}/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "OrderedCollectionPage",
"partOf": "https://api.konbiniapi.com/v1/reddit/users/spez/posts",
"totalItems": 1309,
"cursor": "0",
"nextCursor": "1772217402000",
"next": "https://api.konbiniapi.com/v1/reddit/users/spez/posts?cursor=t3_post_2&count=25&order=top&time=week",
"itemCount": 30,
"orderedItems": [
{
"type": "Note",
"id": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"url": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"content": "We shipped Reddit support.",
"likeCount": 93210,
"entityId": "post_1",
"name": "Launch day",
"published": "2026-02-27T20:37:38.000Z",
"isEdited": false,
"isLocked": false,
"isOriginal": false,
"isPinned": false,
"isSponsored": false,
"isAdult": false,
"isSpoiler": false,
"isSearchable": true,
"voteCount": 118,
"commentCount": 15,
"shareCount": 8,
"attributedTo": {
"type": "Person",
"id": "https://www.reddit.com/user/spez/",
"url": "https://www.reddit.com/user/spez/",
"entityId": "t2_4x25quk",
"preferredUsername": "spez",
"name": "Steve Huffman",
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"role": "admin",
"summary": "Reddit CEO",
"published": "2005-12-08T07:46:43.000Z",
"isVerified": true,
"isEmployee": true,
"isMod": false,
"isPremium": false,
"isSearchable": true,
"isFollowable": true,
"isAdult": false,
"score": 999999,
"postScore": 555555,
"commentScore": 444444,
"awarderScore": 123,
"awardeeScore": 321,
"status": "active",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
},
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"image": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"attachment": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"tag": [
{
"type": "Tag",
"name": "programming",
"href": "https://www.reddit.com/r/programming/"
}
],
"quote": {
"type": "Note",
"id": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"url": "https://www.reddit.com/r/programming/comments/post_1/launch_day/",
"content": "We shipped Reddit support.",
"likeCount": 93210,
"entityId": "post_1",
"name": "Launch day",
"published": "2026-02-27T20:37:38.000Z",
"isEdited": false,
"isLocked": false,
"isOriginal": false,
"isPinned": false,
"isSponsored": false,
"isAdult": false,
"isSpoiler": false,
"isSearchable": true,
"voteCount": 118,
"commentCount": 15,
"shareCount": 8,
"attributedTo": {
"type": "Person",
"id": "https://www.reddit.com/user/spez/",
"url": "https://www.reddit.com/user/spez/",
"entityId": "t2_4x25quk",
"preferredUsername": "spez",
"name": "Steve Huffman",
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"role": "admin",
"summary": "Reddit CEO",
"published": "2005-12-08T07:46:43.000Z",
"isVerified": true,
"isEmployee": true,
"isMod": false,
"isPremium": false,
"isSearchable": true,
"isFollowable": true,
"isAdult": false,
"score": 999999,
"postScore": 555555,
"commentScore": 444444,
"awarderScore": 123,
"awardeeScore": 321,
"status": "active",
"image": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
},
"icon": {
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
},
"image": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"attachment": [
{
"type": "Image",
"url": "https://i.redd.it/post1.png",
"width": 1200,
"height": 675
}
],
"tag": [
{
"type": "Tag",
"name": "programming",
"href": "https://www.reddit.com/r/programming/"
}
]
}
}
]
}
}{
"errors": [
{
"code": "validation_error",
"message": "Validation error"
}
],
"data": null
}{
"errors": [
{
"message": "Invalid API key"
}
],
"data": null
}{
"errors": [
{
"code": "credits_exhausted",
"message": "Credits exhausted. Upgrade your plan at konbiniapi.com"
}
],
"data": null
}{
"errors": [
{
"message": "API key is disabled"
}
],
"data": null
}{
"errors": [
{
"message": "Not found"
}
],
"data": null
}{
"errors": [
{
"code": "validation_error",
"message": "Request body too large"
}
],
"data": null
}{
"errors": [
{
"code": "internal_error",
"message": "Internal error"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}{
"errors": [
{
"code": "service_unavailable",
"message": "Service unavailable"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}Authorizations
Send your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer <your-api-key>
Path Parameters
Reddit username (with or without u/ prefix)
Example:
"spez"
Query Parameters
Number of posts to fetch (maximum: 100)
Required range:
1 <= x <= 100Example:
25
Pagination cursor
Example:
"0"
Sort order: new (default), hot, top, or controversial
Available options:
hot, new, top, controversial Example:
"new"
Time window for top or controversial ordering: hour, day, week, month, year, or all (default)
Available options:
hour, day, week, month, year, all Example:
"week"
Response
Returns the user posts
Show child attributes
Show child attributes
⌘I