eternalsocial.dev
Kwai

Get Kwai post information

POST
/api/kwai/post

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

postUrl*string
Formaturi
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/post" \  -H "Content-Type: application/json" \  -d '{    "postUrl": "https://www.kwai.com/@username/video123"  }'
{
  "success": true,
  "requestId": "string",
  "data": {
    "@type": "VideoObject",
    "@context": "https://schema.org/",
    "url": "string",
    "name": "string",
    "description": "string",
    "transcript": "string",
    "thumbnailUrl": [
      "string"
    ],
    "uploadDate": "string",
    "contentUrl": "string",
    "commentCount": 0,
    "duration": "string",
    "width": 0,
    "height": 0,
    "audio": {
      "@type": "CreativeWork",
      "name": "string",
      "author": "string"
    },
    "creator": {
      "@type": "ProfilePage",
      "@context": "https://schema.org",
      "mainEntity": {
        "@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
        }
      }
    },
    "interactionStatistic": [
      {
        "@type": "InteractionCounter",
        "interactionType": {
          "@type": "https://schema.org/WatchAction"
        },
        "userInteractionCount": 0
      }
    ],
    "genre": [
      "string"
    ],
    "mainEntityOfPage": {
      "@id": "string",
      "@type": "ItemPage"
    }
  },
  "itemCount": 0,
  "creditsCharged": 0
}
{
  "success": true,
  "requestId": "string",
  "status": "processing",
  "message": "string"
}
{
  "success": false,
  "error": "string",
  "requestId": "string"
}