# Kuaishou Music Search API

> Searches for Kuaishou music tracks by song name or artist keyword. Returns matched audio results with support for cursor-based pagination.

Source: https://www.sandbase.ai/apis/kuaishou/app/search-music
API reference: https://www.sandbase.ai/apis/kuaishou/app/search-music/docs

## Facts

- Provider: Kuaishou
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/kuaishou/app/search-music`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, kuaishou
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/kuaishou/app/search-music` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | yes |  |
| `pcursor` | string | no |  |

## FAQ

### How do I use the Kuaishou Music Search API?

Send a POST request to https://api.sandbase.ai/v1/api/kuaishou/app/search-music with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Kuaishou Music Search API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Kuaishou Music Search API accept?

Required: keyword (string). Optional: pcursor (string). The Parameters table and the Playground on this page list every field.

### What does the Kuaishou Music Search API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Kuaishou developer account or API key?

No. Kuaishou Music Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Kuaishou API access separately.

## README

### Kuaishou Music Search API

Query Kuaishou music tracks by specifying a search term in `keyword`. Supports cursor pagination across search results using `pcursor`.

#### Use cases

- Search for specific songs or artists on Kuaishou
- Discover background audio tracks matching query terms
- Paginate through music catalog search results

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-music" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | Yes | — |
| `pcursor` | string | No | Cursor, empty for first page |

#### Notes

- Leave `pcursor` empty to retrieve the first page of results, or supply the cursor string for subsequent pages.

#### Related APIs

- [Kuaishou Brand Top List](/model/kuaishou/app/brand-top-list): Returns top brand rankings and related live stream links from Kuaishou.
- [Kuaishou App Share Link](/model/kuaishou/app/generate-share-link): Generates a shareable URL for Kuaishou application content using a specified object identifier.
- [Kuaishou Hot Board Categories](/model/kuaishou/app/hot-board-categories): Returns the active list of hot board categories available in the Kuaishou app.
