# Kuaishou music ranking

Fetch music ranking (songs in musics[]), with cursor pagination. Takes tab id, count and pcursor, all optional. Served by TikHub.

Purpose:
- Fetch music ranking (songs in musics[]), with cursor pagination.
Parameters:
- tab_id: 100002=hot songs (default), 100063=Pi-plan ranking
- count: Page size, default 20, range 1-50
- pcursor: Cursor, empty for first page
Returns:
- Music ranking data

- Tool ID: `tikhub/kuaishou-app-fetch-music-ranking`
- Name in the catalog: Kuaishou, Music ranking
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Kuaishou trends & hot lists](/tools/kuaishou/trends.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "tab_id": {
      "title": "榜单ID/Tab ID",
      "description": "100002=热歌榜（默认），100063=π计划推荐榜 Use an exact decimal string for IDs beyond JavaScript's safe integer range.",
      "default": 100002,
      "anyOf": [
        {
          "type": "integer",
          "maximum": 9007199254740991
        },
        {
          "type": "string",
          "pattern": "^[0-9]+$",
          "minLength": 1,
          "maxLength": 30
        }
      ]
    },
    "count": {
      "type": "integer",
      "title": "每页数量/Page size",
      "description": "默认 20，范围 1-50",
      "default": 20
    },
    "pcursor": {
      "type": "string",
      "title": "分页游标/Pagination cursor",
      "description": "首次留空，翻页传上一页响应的 pcursor",
      "default": ""
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/kuaishou-app-fetch-music-ranking",
  "input": {
    "tab_id": 100002,
    "count": 20,
    "pcursor": ""
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Kuaishou-App-API/fetch_music_ranking_api_v1_kuaishou_app_fetch_music_ranking_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/kuaishou-app-fetch-music-ranking) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/kuaishou-app-fetch-music-ranking) · [Agent index](/llms.txt)
