Post
curl --request GET \
--url https://api.example.com/api/v1/scrape/kwai/post \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/kwai/post"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/kwai/post', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/kwai/post",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/kwai/post"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/kwai/post")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/kwai/post")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyKwai Scraper
Post
Fetches public Kwai post details including caption, media URLs, cover images, counts, author info, and music metadata. Uses Kwai’s public web API endpoint, not HTML scraping.
GET
/
api
/
v1
/
scrape
/
kwai
/
post
Post
curl --request GET \
--url https://api.example.com/api/v1/scrape/kwai/post \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/kwai/post"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/kwai/post', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/kwai/post",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/kwai/post"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/kwai/post")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/kwai/post")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | No | Kwai post URL |
Response Example
{
"success": true,
"data": {
"success": true,
"data": {
"id": "5193363430624671876",
"photo_id": 5193363430624672000,
"url": "https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876",
"caption": "O Marquinhos entrou em campo e realizou o maior sonho da vida da sua avó...",
"created_at": "2026-06-07T03:00:00.028Z",
"created_at_text": "2026-06-07 03:00:00",
"video_url": "https://ak-br-cdn.kwai.net/upic/example.mp4",
"cover_url": "https://ak-br-pic.kwai.net/upic/example.webp",
"view_count": 12345,
"like_count": 678,
"comment_count": 9,
"forward_count": 10,
"author": {
"id": 558843093,
"handle": "KwaiBrasilOficial",
"username": "Kwai Brasil Oficial",
"avatar_url": "https://ak-br-pic.kwai.net/bs2/overseaHead/20260430040305_BNTU4ODQzMDkz_s.jpg",
"verified": true,
"verified_description": "Conta Oficial"
},
"music": {
"id": 13337080415,
"name": "",
"artist": "Kwai Brasil Oficial",
"url": "https://ak-br-pic.kwai.net/bs2/ost/example.m4a"
},
"tags": []
}
}
}
Last modified on September 21, 2026

