Naar de inhoud
GET /v1/stats

Social graph and engagement totals

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "posts": 17343,
        "quotes": 1269,
        "source": "Lens",
        "address": "0xAd2c0BEAdE60fb9f7ec5C87bDE8e4c126145F6E7",
        "reposts": 133,
        "collects": 21,
        "comments": 10840,
        "followers": 143358,
        "following": 1332
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:51.952Z",
        "request_id": "0e309bcc-12e1-4641-b65a-b114777ef323"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}