Kuaishou Web Share Short URL

https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url

Returns a shareable short URL for a specified Kuaishou video or photo post. Supply the target post identifier using the photo_id query parameter.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
OutputExample
Responseoutputs · 1.8 KB · 47 lines
[
  {
    "data": {
      "cache-scope": "nocache",
      "error_msg": null,
      "host-name": "public-bjzey-c34-kce-node2692.idchb1az3.hb1.kwaidc.com",
      "hostName": "public-bjzey-c34-kce-node2692.idchb1az3.hb1.kwaidc.com",
      "max-age": 0,
      "result": 1,
      "share": {
        "appIconUrl": "https://static.yximgs.com/udata/pkg/ks-share-sdk/cardlogonew.png",
        "appName": "as",
        "extParams": {
          "battleTemplateId": "",
          "expTag": "1_i/0_unknown0",
          "logExt": "{\"expTag\":\"1_i/0_unknown0\",\"trendingType\":\"\"}",
          "shareInfoWrap": "{\"shareTitleInfo\":{\"title\":\"分享一个作品给你\",\"subTitle\":\"推荐你看这个视频\"},\"shareId\":\"19139080234162\",\"docId\":9,\"groupName\":\"\",\"shareType\":\"PHOTO_OTHER\",\"coverUrlKey\":null,\"coverUrl\":null,\"tagType\":null,\"webShareVerifyData\":null}",
          "shareMethod": "token",
          "shareMode": "app",
          "styleKey": "",
          "templateGenerationType": "",
          "templateStyle": "",
          "tokenExtParams": "{}",
          "useMmuTitle": false
        },
        "kpn": "KUAISHOU",
        "shareChannel": "COPY_LINK",
        "shareMethod": "TOKEN",
        "shareMethodType": null,
        "shareMode": "APP",
        "shareObject": {
          "copyPopupWindowType": "DEFAULT",
          "copylinkFailedTips": "复制失败",
          "copylinkSuccessTips": "链接复制成功,快去分享给朋友吧",
          "kwaiToken": "X5B2v6BG2NvB1sp",
          "shareId": "19139080234162",
          "shareMessage": "https://v.kuaishou.com/KXF28siR 哥哥我会魔法一人就能变成两 \"李秀妍u \"为自己代言 该作品在快手被播放过157.6万次,点击链接,打开【快手】直接观看!",
          "shareObjectId": "5193494945927590140",
          "shareResourceType": "PHOTO_OTHER",
          "shortLink": "https://v.kuaishou.com/KXF28siR",
          "toastDisplayTimeMillis": 1000
        },
        "subBiz": "BROWSE_SLIDE_PHOTO"
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

photo_id
string · required

Access

Provider
Kuaishou
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/kuaishou/web/generate-share-short-url
Authentication
Bearer API key

API README

Kuaishou Web Share Short URL API

Retrieve a shareable short link for a Kuaishou post by supplying its photo_id.

Use cases

  • Generating compact share links for external distribution.
  • Embedding shortened links to Kuaishou posts in mobile messaging.
  • Simplifying URL presentation across marketing channels.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"photo_id": "5193494945927590140"}'

Parameters

NameTypeRequiredDescription
photo_idstringYes—

Notes

  • Requires a valid photo_id corresponding to the Kuaishou post.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "photo_id": "5193494945927590140"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Kuaishou$0.0015 per callJSONJul 31, 2026
Kuaishou$0.0015 per callJSONJul 31, 2026
Kuaishou$0.0015 per callJSONJul 31, 2026
Kuaishou$0.0015 per callJSONJul 31, 2026
Kuaishou$0.003 per callJSONJul 31, 2026
Kuaishou$0.003 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Kuaishou Web Share Short URL API?

Send a POST request to https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Kuaishou Web Share Short URL API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Kuaishou Web Share Short URL API accept?

Required: photo_id (string). The Parameters table and the Playground on this page list every field.

What does the Kuaishou Web Share Short URL API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Kuaishou developer account or API key?

No. Kuaishou Web Share Short URL runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Kuaishou API access separately.