Aller au contenu
GET /v1/user/rating-history

Rating history

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/lichess-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "history": [
            {
                "perf": "UltraBullet",
                "points": [
                    {
                        "date": "2019-07-13",
                        "rating": 2519
                    },
                    {
                        "date": "2020-03-23",
                        "rating": 2413
                    },
                    {
                        "date": "2020-08-29",
                        "rating": 2406
                    }
                ]
            },
            {
                "perf": "Bullet",
                "points": [
                    {
                        "date": "2018-12-15",
                        "rating": 2864
                    },
                    {
                        "date": "2019-01-04",
                        "rating": 2970
                    },
                    {
                        "date": "2019-01-05",
                        "rating": 3117
                    },
                    {
                        "date": "2019-01-07",
                        "rating": 3009
                    },
                    {
                        "date": "2019-01-29",
                        "rating": 2987
                    },
                    {
                        "date": "2019-01-30",
                        "rating": 3091
                    },
                    {
                        "date": "2019-01-31",
                        "rating": 3111
                    },
                    {
                        "date": "2019-02-05",
                        "rating": 3110
                    },
                    {
                        "date": "2019-02-08",
                        "rating": 3076
                    },
                    {
                        "date": "2019-02-09",
                        "rating": 3056
                    },
                    {
                        "date": "2019-03-18",
                        "rating": 3002
                    },
                    {
                        "date": "2019-04-16",
                        "rating": 2973
                    },
                    {
                        "date": "2019-04-26",
                        "rating": 3044
                    },
                    {
                        "date": "2019-05-04",
                        "rating": 3065
                    },
                    {
                        "date": "2019-05-23",
                        "rating": 3050
                    },
                    {
                        "date": "2019-06-02",
                        "rating": 3037
                    },
                    {
                        "date": "2019-06-16",
                        "rating": 3078
                    },
                    {
                        "date": "2019-06-17",
                        "rating": 3073
                    },
                    {
                      
…