cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/qrcode?user_id=6865486669187171334' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/influencer/qrcode',
params={"user_id": "6865486669187171334"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"user_id": "6865486669187171334"});
const response = await fetch(`https://api.keyapi.ai/v1/tiktok/influencer/qrcode?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "20260207035334D261DF9724360636BB19",
"now": 1770436414000
},
"log_pb": {
"impr_id": "20260207035334D261DF9724360636BB19"
},
"qrcode_url": {
"uri": "tikcode-tx/7603966499316826125",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx/7603966499316826125~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1770454800&x-signature=zToxlo%2BNodtBxBtCBTkT2WxkhRA%3D&idc=useast5&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p16-common-sign.tiktokcdn-us.com/tikcode-tx/7603966499316826125~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1770454800&x-signature=ZLt%2BqKlaNydEqF0JvRj%2Bqkfqj0c%3D&idc=useast5&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx/7603966499316826125~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&x-expires=1770454800&x-signature=iL2%2B7OQI3U%2Byls61eGDq1LIkPoU%3D&idc=useast5&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474"
]
},
"status_code": 0,
"status_msg": ""
},
"requestId": "6a133703-df58-40fe-852c-8001f339ac70"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}TikTok Influencer
Get Influencer QR Code
Generate a QR code for a TikTok influencer’s profile page, suitable for embedding in marketing materials.
GET
/
v1
/
tiktok
/
influencer
/
qrcode
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/influencer/qrcode?user_id=6865486669187171334' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/influencer/qrcode',
params={"user_id": "6865486669187171334"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"user_id": "6865486669187171334"});
const response = await fetch(`https://api.keyapi.ai/v1/tiktok/influencer/qrcode?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "20260207035334D261DF9724360636BB19",
"now": 1770436414000
},
"log_pb": {
"impr_id": "20260207035334D261DF9724360636BB19"
},
"qrcode_url": {
"uri": "tikcode-tx/7603966499316826125",
"url_list": [
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx/7603966499316826125~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1770454800&x-signature=zToxlo%2BNodtBxBtCBTkT2WxkhRA%3D&idc=useast5&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p16-common-sign.tiktokcdn-us.com/tikcode-tx/7603966499316826125~tplv-tiktokx-cropcenter:720:720.webp?dr=9640&x-expires=1770454800&x-signature=ZLt%2BqKlaNydEqF0JvRj%2Bqkfqj0c%3D&idc=useast5&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474",
"https://p19-common-sign.tiktokcdn-us.com/tikcode-tx/7603966499316826125~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&x-expires=1770454800&x-signature=iL2%2B7OQI3U%2Byls61eGDq1LIkPoU%3D&idc=useast5&ps=13740610&shcp=9b759fb9&shp=45744a80&t=4d5b0474"
]
},
"status_code": 0,
"status_msg": ""
},
"requestId": "6a133703-df58-40fe-852c-8001f339ac70"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}🪙1 creditper request
Copy for AI
🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
Authorizations
Query Parameters
Creator user ID (numeric string)
Example:
"6865486669187171334"
Response
Success
The response is of type object.
⌘I

