eternalsocial.dev
Kwai

Get Kwai posts from a profile

POST
/api/kwai/posts

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from /auth/login or API key from /keys

In: header

Request Body

application/json

profileUrl*string
Formaturi
maxPosts?number

Maximum number of posts to fetch. Charged per 10 posts.

Default50
Range1 <= value <= 1000
oldestDate?number

Filter posts until this timestamp (milliseconds)

webhookUrl?string

Webhook URL to receive results. If provided, request returns immediately.

Formaturi

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:3222/api/kwai/posts" \  -H "Content-Type: application/json" \  -d '{    "profileUrl": "https://www.kwai.com/@username"  }'
{
  "success": true,
  "requestId": "string",
  "data": {
    "posts": [
      {
        "id": "string",
        "url": "string",
        "caption": "string",
        "description": "string",
        "thumbnailUrl": "string",
        "videoUrl": "string",
        "uploadDate": "string",
        "timestamp": 0,
        "duration": "string",
        "width": 0,
        "height": 0,
        "viewCount": 0,
        "likeCount": 0,
        "commentCount": 0,
        "shareCount": 0,
        "audio": {
          "name": "string",
          "author": "string"
        },
        "genres": [
          "string"
        ],
        "source": "html"
      }
    ],
    "creator": {
      "@type": "Person",
      "name": "string",
      "alternateName": "string",
      "identifier": "string",
      "description": "string",
      "image": "string",
      "url": "string",
      "sameAs": [
        "string"
      ],
      "interactionStatistic": [
        {
          "@type": "InteractionCounter",
          "interactionType": {
            "@type": "https://schema.org/WatchAction"
          },
          "userInteractionCount": 0
        }
      ],
      "agentInteractionStatistic": {
        "@type": "InteractionCounter",
        "interactionType": {
          "@type": "https://schema.org/WatchAction"
        },
        "userInteractionCount": 0
      }
    },
    "accountStatus": "active"
  },
  "itemCount": 0,
  "creditsCharged": 0
}
{
  "success": true,
  "requestId": "string",
  "status": "processing",
  "message": "string"
}
{
  "success": false,
  "error": "string",
  "requestId": "string"
}