Skip to main content
POST
Kwai Profile API

Get Kwai Profiles

Fetch normalized profiles data from Kwai. Each successful task costs a fixed 0.19 credits.

Request Body

Request Constraints

  • Provide at least one of username or url; both may be supplied and are forwarded to the provider.
  • username may have one leading @, followed by 1 to 64 ASCII letters, digits, periods, underscores, or hyphens. The maximum total length is 65 characters.
  • url must be non-empty and its parsed hostname must be kwai.com, kwai-video.com, or a subdomain of either host. Any scheme is accepted when the reference contains an authority and hostname; protocol-relative references are also accepted. Bare domains, hostless references, and other hosts are rejected.
  • Only username and url are accepted. Source cursors, results_limit, and other request fields are rejected. Each task makes one provider request.

Use with MCP

A successful request returns a task_id. Poll it with socq_get_task, then read normalized records from results.items.

Result Fields

Completed Task Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

A non-empty profile reference whose parsed hostname is kwai.com, kwai-video.com, or a subdomain of either host. Any scheme is accepted when an authority and hostname are present; protocol-relative references are also accepted.

Minimum string length: 1
username
string

A Kwai username with one optional leading @ followed by 1 to 64 ASCII letters, digits, periods, underscores, or hyphens, for a maximum total length of 65 characters.

Required string length: 1 - 65
Pattern: ^@?[A-Za-z0-9._-]{1,64}$

Response

Task accepted

code
integer
data
object