# Kwai Profile

Public Kwai profile with bio, verification, avatar and owner counts. Accepts the handle with or without a leading @.

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

## 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 |
| --- | --- | --- | --- |
| `user` | string | Yes | Kwai handle, with or without a leading @. |

## Example response

```json
{
    "meta": {
        "attempts": 1,
        "billable": true,
        "duration_ms": 940
    },
    "user": {
        "headurl": "https://cdn.example.com/avatar.jpg",
        "kwai_id": "praiabeach",
        "user_id": 150000129421921,
        "user_sex": "M",
        "verified": false,
        "user_name": "praiabeach",
        "user_text": "Beaches of Brazil.",
        "isFollowing": false
    },
    "success": true,
    "owner_count": {
        "fan": 1200000,
        "like": 54000000,
        "liked": 12,
        "photo": 8200,
        "follow": 34,
        "photo_public": 8200
    }
}
```

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