Naar de inhoud
GET /v1/stats

Computed recent-watching stats

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "latest": {
            "film": "Rush Hour",
            "rating": 3.5,
            "watched_date": "2026-05-31"
        },
        "username": "dave",
        "profile_url": "https://letterboxd.com/dave/",
        "rated_films": 28,
        "rewatch_pct": 6,
        "recent_films": 50,
        "highest_rated": {
            "film": "Resurrection",
            "year": 2025,
            "rating": 4.5
        },
        "rewatch_count": 3,
        "average_rating": 3.38,
        "rating_distribution": {
            "0.5": 0,
            "1.0": 0,
            "1.5": 0,
            "2.0": 3,
            "2.5": 4,
            "3.0": 3,
            "3.5": 6,
            "4.0": 11,
            "4.5": 1,
            "5.0": 0
        }
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:00.830Z",
        "request_id": "199c1b93-6ccd-4375-b47a-367b75d43bef"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}