Naar de inhoud
GET /v1/server

Live NodeInfo for any server, read directly from it

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/fediverse-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/fediverse-api/v1/server" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fediverse-api/v1/server", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fediverse-api/v1/server");
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/server",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Live NodeInfo for one fediverse server, read directly from the server (not the FediDB aggregate) — so it works for any ActivityPub server, including small or new ones FediDB doesn't track, and is as fresh as the server reports. users_total is registered accounts; active_month/active_halfyear are active users; local_posts is statuses posted on this server. Some servers omit active counts (null). Pass domain (e.g. mastodon.social).",
        "domain": "mastodon.social",
        "source": "NodeInfo (live, direct from the server)",
        "version": "4.6.0-nightly.2026-06-12",
        "software": "mastodon",
        "node_name": "Mastodon",
        "protocols": [
            "activitypub"
        ],
        "server_url": "https://mastodon.social",
        "local_posts": 177681098,
        "users_total": 3307019,
        "active_month": 273548,
        "local_comments": null,
        "active_halfyear": 713385,
        "node_description": "The original server of Mastodon, operated by Mastodon GmbH for the common good.",
        "open_registrations": true
    },
    "meta": {
        "timestamp": "2026-06-13T14:10:42.291Z",
        "request_id": "89d6ab03-4027-4bf9-aab1-2e1da9ef5e8e"
    },
    "status": "ok",
    "message": "Server NodeInfo retrieved successfully",
    "success": true
}