/v1/servers
Largest servers by user count
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/fediverse-api/v1/servers" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fediverse-api/v1/servers", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fediverse-api/v1/servers");
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/fediverse-api/v1/servers",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 20,
"servers": [
{
"rank": 1,
"posts": 709278,
"users": 193391,
"domain": "lemmy.world",
"version": "0.19.18-8-g5d8cbdd9d",
"location": {
"city": null,
"country": null
},
"software": "Lemmy",
"description": null,
"software_slug": "lemmy",
"open_registration": true,
"monthly_active_users": 13284
},
{
"rank": 2,
"posts": 133985,
"users": 34340,
"domain": "sh.itjust.works",
"version": "0.19.18",
"location": {
"city": null,
"country": null
},
"software": "Lemmy",
"description": null,
"software_slug": "lemmy",
"open_registration": true,
"monthly_active_users": 2269
},
{
"rank": 3,
"posts": 63955,
"users": 20075,
"domain": "lemmy.dbzer0.com",
"version": "0.19.15",
"location": {
"city": null,
"country": "France"
},
"software": "Lemmy",
"description": null,
"software_slug": "lemmy",
"open_registration": true,
"monthly_active_users": 1310
},
{
"rank": 4,
"posts": 101197,
"users": 12899,
"domain": "lemmy.ca",
"version": "0.19.18",
"location": {
"city": null,
"country": null
},
"software": "Lemmy",
"description": null,
"software_slug": "lemmy",
"open_registration": true,
"monthly_active_users": 1283
},
{
"rank": 5,
"posts": 26169,
"users": 12089,
"domain": "programming.dev",
"version": "0.19.18",
"location": {
"city": null,
"country": null
},
"software": "Lemmy",
"description": null,
"software_slug": "lemmy",
"open_registration": true,
"monthly_active_users": 867
},
{
"rank": 6,
"posts": 92655,
"users": 10875,
"domain": "lemmy.zip",
"version": "0.19.18",
"location": {
"city": null,
"country": null
},
…