# Kwai Search Suggest

Kwai search suggestions returned as full video objects instead of plain suggestion strings.

- **Documentation:** [https://scrappa.co/docs/kwai-api/kwai_search_suggest](https://scrappa.co/docs/kwai-api/kwai_search_suggest)
- **API group:** Kwai API
- **Endpoint:** `GET https://scrappa.co/api/kwai/search/suggest`

## 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 |
| --- | --- | --- | --- |
| `q` | string | Yes | Search query. |
| `count` | integer | No | Requested number of suggestions, 1 to 50. Default: 10. |

## Example response

```json
{
    "meta": {
        "attempts": 1,
        "billable": true,
        "duration_ms": 1420
    },
    "query": "beach",
    "results": [
        {
            "caption": "Beach day",
            "video_id": "3xk9qz2abcde"
        }
    ],
    "success": true,
    "results_count": 1,
    "requested_count": 10
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 502 | Upstream Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |
| 404 | Not Found | Kwai has no public data for this identifier. A not-found is a completed lookup that was not billed. |
| 404 | Profile Not Found | Kwai has no public profile for this handle. A not-found is a completed lookup that was not billed. |
| 422 | Upstream Rejected The Request | Kwai rejected the request body as malformed. Retrying will not change the outcome, so the request is sent once and is not billed. |
| 422 | Validation Error | A required parameter is missing or malformed. |

## 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)
