/v1/comments
Comment stream
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/lemmy-api/v1/comments" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lemmy-api/v1/comments", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lemmy-api/v1/comments");
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/lemmy-api/v1/comments",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"comments": [
{
"post": {
"id": 47654461,
"body": "Hi all, \n\nI want to spin up a small home server. Nothing crazy, maybe 4 or 8GB ram at most. 1 Docker instance running a few privacy frontends (Invidious, Redlib, Xcancel, SearxNG, etc.) and split tunneling VPN connections for each one.\n\nObviously, a Raspberry Pi 4 or higher is the internet's favorite choice, but I don't need wireless connectivity, I just need a single HDMI and 2 USB ports to get everything set up, one ethernet port, and a dream in my heart.\n\nHas anyone use alternatives like Le Potato or Orange Pi? I'm curious what their community support is like, and if there's a FOSS-friendly standard.\n\nThanks!",
"name": "Question: What are some alternatives to a Raspberry Pi good for a small home server?",
"nsfw": false,
"ap_id": "https://lemmy.world/post/47654461",
"local": true,
"locked": false,
"deleted": false,
"removed": false,
"published": "2026-06-02T06:42:01.114412Z",
"creator_id": 11977639,
"language_id": 37,
"community_id": 116,
"featured_local": false,
"featured_community": false
},
"saved": false,
"counts": {
"score": 1,
"upvotes": 1,
"downvotes": 0,
"published": "2026-06-02T08:32:56.462975Z",
"comment_id": 24046005,
"child_count": 0
},
"comment": {
"id": 24046005,
"path": "0.24045116.24046005",
"ap_id": "https://lemmy.world/comment/24046005",
"local": true,
"content": "Thanks - I think this is how I'm going to go. I appreciate it, I totally blanked on thin client being an option!",
"deleted": false,
"post_id": 47654461,
"removed": false,
"published": "2026-06-02T08:32:56.462975Z",
"creator_id": 11977639,
"language_id": 37,
"distinguished": false
},
"creator": {
"id": 11977639,
"name": "GreenShimada",
"local": true,
"banned": false,
"deleted": false,
"actor_id": "https://lemmy.world/u/GreenShimada",
"published": "2024-12-22T11:47:43.216960Z",
"bot_account": false,
"instance_id": 1
},
"community": {
"id": 116,
"icon": "h
…