/v1/post
A single post in full
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/piefed-api/v1/post" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/piefed-api/v1/post", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/piefed-api/v1/post");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/piefed-api/v1/post",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"id": 115819,
"url": "https://x.com/TheNotesOfJosh/status/1791627871519174697",
"body": null,
"nsfw": false,
"score": 355,
"title": "To my fellow Android custom ROM enthusiasts, I highly advise you uninstall and stop supporting @projectelixiros",
"author": "Welp_im_damned",
"source": "PieFed",
"upvotes": 359,
"comments": 32,
"community": "android",
"downvotes": 4,
"published": "2024-05-18T17:41:39.597945Z",
"community_title": "Android"
},
"meta": {
"timestamp": "2026-06-10T14:02:07.620Z",
"request_id": "565db3ac-4353-43a6-9fec-c95955cae7db"
},
"status": "ok",
"message": "Post retrieved successfully",
"success": true
}