Discover Feed
curl --request GET \
--url https://relay.snipp.gg/discover \
--header 'relay-key: <api-key>'import requests
url = "https://relay.snipp.gg/discover"
headers = {"relay-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'relay-key': '<api-key>'}};
fetch('https://relay.snipp.gg/discover', 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://relay.snipp.gg/discover",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"relay-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://relay.snipp.gg/discover"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("relay-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://relay.snipp.gg/discover")
.header("relay-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.snipp.gg/discover")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["relay-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": 312,
"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
}
]
}{
"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>"
}
]
}
}Posts
Discover Feed
Up to 50 recent public posts in random order.
GET
/
discover
Discover Feed
curl --request GET \
--url https://relay.snipp.gg/discover \
--header 'relay-key: <api-key>'import requests
url = "https://relay.snipp.gg/discover"
headers = {"relay-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'relay-key': '<api-key>'}};
fetch('https://relay.snipp.gg/discover', 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://relay.snipp.gg/discover",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"relay-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://relay.snipp.gg/discover"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("relay-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://relay.snipp.gg/discover")
.header("relay-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.snipp.gg/discover")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["relay-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": 312,
"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
}
]
}{
"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>"
}
]
}
}Browse public posts from the community. Returns up to 50 of the most recent public posts in random order.
Behavior
- Only public posts appear. Unlisted, private, draft, team, moderated and restricted posts never do.
- Posts by suspended users are left out, as are posts by users you block or who block you.
- Each item is a full post object with every file.
likedis whether you have liked it; use Like Post to change it. - Each request counts a view on every returned post. Views are deduplicated per IP and post: up to 3 counted views per IP per post per hour.
- There is no pagination. Call it again for a new shuffle.
- Not rate limited.
Examples
curl "https://relay.snipp.gg/discover" \
-H "relay-key: YOUR_RELAY_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": 312,
"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
}
]
}
Errors
| Status | Type | When |
|---|---|---|
401 | unauthorized | Missing or invalid key |
403 | suspended | Your account is suspended |