# Kuaishou Web Share Short URL API

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

Source: https://www.sandbase.ai/model/kuaishou/web/generate-share-short-url
API reference: https://www.sandbase.ai/model/kuaishou/web/generate-share-short-url/docs

## Facts

- Provider: Kuaishou
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, kuaishou
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/kuaishou/web/generate-share-short-url` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `photo_id` | string | yes |  |

## 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.

## 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

```bash
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

| Name | Type | Required | Description |
|---|---|---|---|
| `photo_id` | string | Yes | — |

#### Notes

- Requires a valid `photo_id` corresponding to the Kuaishou post.

#### Related APIs

- [Kuaishou User ID Lookup](/model/kuaishou/web/get-user-id): Resolves a Kuaishou user ID from a provided user share link.
- [Kuaishou Web Hot List](/model/kuaishou/web/hot-list-v1): Returns the current trending hot list from Kuaishou Web.
- [Kuaishou Web Hot List (V2)](/model/kuaishou/web/hot-list-v2): Returns current trending search rankings and hot topics on Kuaishou web.
