List User Posts
curl --request GET \
--url https://api.snipp.gg/users/{id}/posts \
--header 'api-key: <api-key>'import requests
url = "https://api.snipp.gg/users/{id}/posts"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://api.snipp.gg/users/{id}/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.snipp.gg/users/{id}/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 => [
"api-key: <api-key>"
],
]);
$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.snipp.gg/users/{id}/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
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.snipp.gg/users/{id}/posts")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.snipp.gg/users/{id}/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"posts": [
{
"code": "QwEr5678",
"url": "https://snipp.gg/p/QwEr5678",
"title": "Launch teaser",
"description": null,
"privacy": "public",
"created_at": "2026-09-28T10:00:00.000Z",
"view_count": 311,
"like_count": 17,
"comment_count": 2,
"priority": false,
"file_count": 1,
"files": [
{
"name": "a1b2c3d4e5f6789012345678abcdef01.png",
"url": "https://i.snipp.gg/987654321098765432/a1b2c3d4e5f6789012345678abcdef01.png",
"size": 2487312,
"mime_type": "image/png",
"width": 1920,
"height": 1080,
"thumbnail_url": null
}
],
"team_id": null,
"author": {
"id": "987654321098765432",
"username": "playertwo",
"nickname": "Player Two",
"avatar": "https://cdn.snipp.gg/avatar.png",
"verified": false,
"plan": "free"
},
"liked": false
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0"
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}Users
List User Posts
List a user’s public posts, newest first. Unlisted, private, draft, team, moderated and restricted posts are never included.
GET
/
users
/
{id}
/
posts
List User Posts
curl --request GET \
--url https://api.snipp.gg/users/{id}/posts \
--header 'api-key: <api-key>'import requests
url = "https://api.snipp.gg/users/{id}/posts"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://api.snipp.gg/users/{id}/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.snipp.gg/users/{id}/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 => [
"api-key: <api-key>"
],
]);
$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.snipp.gg/users/{id}/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
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.snipp.gg/users/{id}/posts")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.snipp.gg/users/{id}/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"posts": [
{
"code": "QwEr5678",
"url": "https://snipp.gg/p/QwEr5678",
"title": "Launch teaser",
"description": null,
"privacy": "public",
"created_at": "2026-09-28T10:00:00.000Z",
"view_count": 311,
"like_count": 17,
"comment_count": 2,
"priority": false,
"file_count": 1,
"files": [
{
"name": "a1b2c3d4e5f6789012345678abcdef01.png",
"url": "https://i.snipp.gg/987654321098765432/a1b2c3d4e5f6789012345678abcdef01.png",
"size": 2487312,
"mime_type": "image/png",
"width": 1920,
"height": 1080,
"thumbnail_url": null
}
],
"team_id": null,
"author": {
"id": "987654321098765432",
"username": "playertwo",
"nickname": "Player Two",
"avatar": "https://cdn.snipp.gg/avatar.png",
"verified": false,
"plan": "free"
},
"liked": false
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0"
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}List a user’s public posts, newest first. Use
Next page:
@me for your own.
Behavior
- Only public posts are returned. Unlisted, private, draft, team, moderated and restricted posts never appear, including on
@me. To list all of your own posts, useGET /posts. - Results are paginated: pass
limit(1 to 100, default 30) and the previous page’snext_cursorascursor. - Each item is a full post object.
likedis whether you have liked it.moderatedandrestrictedonly appear on your own posts. - If the user is suspended, the response is
403with typesuspended. If the user has blocked you, it is403with typeblocked. - Shares a rate limit bucket with
GET /posts/{code}.
Examples
curl "https://api.snipp.gg/users/987654321098765432/posts?limit=20" \
-H "api-key: YOUR_API_KEY"
curl "https://api.snipp.gg/users/987654321098765432/posts?limit=20&cursor=eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0" \
-H "api-key: YOUR_API_KEY"
Responses
{
"posts": [
{
"code": "QwEr5678",
"url": "https://snipp.gg/p/QwEr5678",
"title": "Launch teaser",
"description": null,
"privacy": "public",
"created_at": "2026-09-28T10:00:00.000Z",
"view_count": 311,
"like_count": 17,
"comment_count": 2,
"priority": false,
"file_count": 1,
"files": [
{
"name": "a1b2c3d4e5f6789012345678abcdef01.png",
"url": "https://i.snipp.gg/987654321098765432/a1b2c3d4e5f6789012345678abcdef01.png",
"size": 2487312,
"mime_type": "image/png",
"width": 1920,
"height": 1080,
"thumbnail_url": null
}
],
"team_id": null,
"author": {
"id": "987654321098765432",
"username": "playertwo",
"nickname": "Player Two",
"avatar": "https://cdn.snipp.gg/avatar.png",
"verified": false,
"plan": "free"
},
"liked": false
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0"
}
Errors
| Status | Type | When |
|---|---|---|
400 | invalid_request | Invalid id, limit or cursor |
401 | unauthorized | Missing or invalid key |
403 | suspended | The user is suspended |
403 | blocked | The user has blocked you |
404 | not_found | No user with that ID |
429 | rate_limited | Too many requests |
Authorizations
Your API key from an app on snipp.gg/settings/apps
Path Parameters
User ID, or @me for your own account.
Query Parameters
Items per page, 1 to 100.
Required range:
1 <= x <= 100next_cursor from the previous page.