/v1/community
One community in full by name or id, with moderators
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/piefed-api/v1/community" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/piefed-api/v1/community", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/piefed-api/v1/community");
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/community",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"id": 5803,
"url": "https://piefed.social/c/technology",
"name": "technology",
"nsfw": false,
"posts": 1624,
"title": "Technology",
"source": "PieFed",
"comments": null,
"instance": "piefed.social",
"published": "2025-05-24",
"moderators": [
"rimu"
],
"description": "Tech related news and discussion. Link to anything, it doesn't need to be a news article. \r\n\r\nLet's keep the politics and business side of things to a minimum. \r\n\r\n## Rules \r\n\r\nNo memes",
"subscribers": 2638,
"active_users_month": null
},
"meta": {
"timestamp": "2026-06-13T14:04:31.692Z",
"request_id": "c3e2f214-71fc-4337-bfa9-5451b58835f0"
},
"status": "ok",
"message": "Community retrieved successfully",
"success": true
}