object_idstring필수
Object id, currently supports the uid in the response of the personal homepage interface as a parameter.
https://api.sandbase.ai/v1/api/tiktok/app-v3/share-qr-codeReturns a shareable QR code for a target TikTok profile. Requests require an object identifier and accept an optional schema type configuration.
[
{
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "202609291415039526CD84BD36B315A83E",
"now": 1790691303000
},
"log_pb": {
"impr_id": "202609291415039526CD84BD36B315A83E"
},
"qrcode_url": {
"uri": "tikcode-tx2/7690960586162569246",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx2/7690960586162569246~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1790712000&x-signature=dPnI%2B4MXd%2FPG%2BBkKnrvfrEC6jws%3D&idc=useast8&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p16-common-sign.tiktokcdn-us.com/tikcode-tx2/7690960586162569246~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1790712000&x-signature=MTKJgTclWo0hnMQ9oUxPf2hK9h0%3D&idc=useast8&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx2/7690960586162569246~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&x-expires=1790712000&x-signature=fA%2BGhiEM%2F%2BkZjH3LPUkQ2%2BxF0y4%3D&idc=useast8&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474"
]
},
"status_code": 0,
"status_msg": ""
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns a QR code image for a TikTok profile. The request needs an object_id, which is the user's uid, and accepts an optional schema_type integer. The response lists signed image URLs for the QR code.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/share-qr-code" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"object_id": "6762244951259661318"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
object_id | string | Yes | Object id, currently supports the uid in the response of the personal homepage interface as a parameter. |
schema_type | integer | No | Schema type |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"fatal_item_ids": [],
"logid": "20261103074359D5CDAF63A5538401C815",
"now": 1793691839000
},
"log_pb": {
"impr_id": "20261103074359D5CDAF63A5538401C815"
},
"qrcode_url": {
"uri": "tikcode-tx2/7703847789901709343",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tikcode-tx2/7703847789901709343~tplv-ti…"
]
},
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
qrcode_url.url_list[] | Image URLs for the QR code. The sample contains two .webp links and one .jpeg link, each sized 720 by 720. Each URL carries x-expires and x-signature query parameters. |
qrcode_url.uri | Internal path of the QR code image. It also appears inside every URL in url_list. |
status_code / status_msg | Result of the call. The sample returns 0 and an empty message. |
extra.logid / log_pb.impr_id | Request identifiers. They carry the same value in the sample. |
extra.now | Timestamp attached to the response. The sample value 1793691839000 has 13 digits, which fits milliseconds. |
extra.fatal_item_ids | List of item IDs that failed. It is empty in the sample. |
object_id from the uid field in a profile response, for example from TikTok User Profile Details.x-expires value, so download or store the image soon after the call.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/share-qr-code" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"object_id": "6762244951259661318"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
object_idstring필수Object id, currently supports the uid in the response of the personal homepage interface as a parameter.
schema_typeintegerSchema type
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "202609291415039526CD84BD36B315A83E",
"now": 1790691303000
},
"log_pb": {
"impr_id": "202609291415039526CD84BD36B315A83E"
},
"qrcode_url": {
"uri": "tikcode-tx2/7690960586162569246",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx2/7690960586162569246~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1790712000&x-signature=dPnI%2B4MXd%2FPG%2BBkKnrvfrEC6jws%3D&idc=useast8&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p16-common-sign.tiktokcdn-us.com/tikcode-tx2/7690960586162569246~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1790712000&x-signature=MTKJgTclWo0hnMQ9oUxPf2hK9h0%3D&idc=useast8&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx2/7690960586162569246~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&x-expires=1790712000&x-signature=fA%2BGhiEM%2F%2BkZjH3LPUkQ2%2BxF0y4%3D&idc=useast8&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474"
]
},
"status_code": 0,
"status_msg": ""
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
TikTok Share QR Code이 API TikTok | $0.001 / 호출 | JSON |
TikTok | $0.001 / 호출 | JSON |
TikTok | $0.01 / 호출 | JSON |
TikTok | $0.001 / 호출 | JSON |
TikTok | $0.001 / 호출 | JSON |
TikTok | $0.001 / 호출 | JSON |
가이드:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/tiktok/app-v3/share-qr-code에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: object_id (string). 선택: schema_type (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. TikTok Share QR Code은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. TikTok API 액세스를 별도로 신청할 필요는 없습니다.