# Kick Leaderboard API Documentation

Retrieve the platform-wide channel ranking by gifted subscriptions, with rank, slug, username, profile picture and live state per entry. The ranking window moves by shifting start_time. Upstream only accepts type gifted_subs. Its interval parameter is a decoy that is ignored while upstream reports its own interval, so no interval control is exposed and the window is identified by start_time rather than by a cursor.

- **Documentation:** [https://scrappa.co/docs/kick-api/kick_leaderboard](https://scrappa.co/docs/kick-api/kick_leaderboard)
- **API group:** Kick API
- **Endpoint:** `GET https://scrappa.co/api/kick/v1/leaderboard`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | No | Only gifted_subs is accepted upstream. |
| `start_time` | string | Yes | ISO-8601 timestamp with milliseconds that starts the ranking window, for example 2026-10-04T14:00:00.000Z. |
| `limit` | integer | No | Maximum entries returned, up to 100. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kick/v1/leaderboard?type=gifted_subs&start_time=2026-10-04T14%3A00%3A00.000Z"
```

## Example response

```json
{
    "success": true,
    "data": {
        "leaderboards": [
            {
                "interval": "weekly",
                "metric": "gifted_subs",
                "values": [
                    {
                        "rank": 1,
                        "channel_id": 1234,
                        "slug": "xqc",
                        "username": "xqc",
                        "profile_picture": "https://example.test/avatar.png",
                        "count": 68,
                        "is_live": true
                    }
                ]
            }
        ],
        "pagination": {
            "start_time": "2026-10-04T14:00:00.000Z",
            "limit": null
        },
        "search_parameters": {
            "start_time": "2026-10-04T14:00:00.000Z",
            "limit": null
        }
    },
    "meta": {
        "upstream_family": "leaderboard"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested channel, clip, video, or subcategory does not exist. This response is not billable. |
| 422 | Validation Error | A public parameter is invalid, such as an unsupported clip sort or an empty search query. This response is not billable. |
| 502 | Invalid Source Response | Kick returned a response shape the API does not recognise. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result from Kick. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
