Guides
Custom comments
Send your own comments one per line. The number of lines is the quantity.
Sending comments
Custom Comments services post each line you send, word for word, from a different profile. Send the comments in the comments field, one per line:
- v2: one string with lines separated by
\nor\r\n. If the string contains no real line breaks, we also split on a literal backslash-n (\\n), which some panels send. - v3: the same string, or an array of strings — one per comment.
- Each line is trimmed, and blank lines are ignored.
These services take Custom Comments:
| ID | Service | Comments per order | List rate |
|---|---|---|---|
| 301 | TikTok Custom Comments · US & EU [30D Refill] | 5–5,000 | $8.50 |
| 603 | TikTok LIVE Interactive Chat | 5–2,000 | $4.50 |
Limits
- Up to 150 characters per comment — TikTok rejects longer ones, so we reject them up front. Characters are counted as Unicode code points, so an emoji built from several code points (flags, skin tones, families) counts as more than one.
- Emoji, accents and any language are fine.
- The number of lines must be within the service’s minimum and maximum (for example 5–5,000 for service 301).
- Duplicate lines aren’t rejected: each line counts and is posted. Remove repeats on your side if you don’t want them.
- Custom Comments orders can’t be canceled once accepted — your text is already queued — and they don’t offer drip-feed or refill.
Quantity and price
The quantity is the number of non-blank lines; any quantity you send is ignored. The charge is the usual rate × lines ÷ 1,000. Five comments on service 301 at a list rate of $8.50 cost $8.50 × 5 ÷ 1,000 = $0.04250 before your tier discount.
The v3 order returns the lines in order as comments, and quantity and total_quantity equal the line count.
Examples
Provider API v2
curl https://ultrasmm.io/api/v2 \
-d key=tk_live_your_key_here \
-d action=add \
-d service=301 \
--data-urlencode link=https://www.tiktok.com/@mila.makes/video/7431187220394482945 \
--data-urlencode $'comments=Saving this for later\nThe lighting in this one 🔥\nNeed a part 2\nHow did you do the transition?\nThis made my day'<?php
$ch = curl_init('https://ultrasmm.io/api/v2');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'tk_live_your_key_here',
'action' => 'add',
'service' => '301',
'link' => 'https://www.tiktok.com/@mila.makes/video/7431187220394482945',
'comments' => "Saving this for later\nThe lighting in this one 🔥\nNeed a part 2\nHow did you do the transition?\nThis made my day",
]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
// Failures answer HTTP 200 with an "error" key.
if (isset($response['error'])) {
throw new RuntimeException($response['error']);
}
print_r($response);import requests
response = requests.post(
"https://ultrasmm.io/api/v2",
data={
"key": "tk_live_your_key_here",
"action": "add",
"service": "301",
"link": "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
"comments": "Saving this for later\nThe lighting in this one 🔥\nNeed a part 2\nHow did you do the transition?\nThis made my day",
},
timeout=30,
).json()
# Failures answer HTTP 200 with an "error" key.
if isinstance(response, dict) and "error" in response:
raise RuntimeError(response["error"])
print(response)const response = await fetch("https://ultrasmm.io/api/v2", {
method: "POST",
body: new URLSearchParams({
key: "tk_live_your_key_here",
action: "add",
service: "301",
link: "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
comments: "Saving this for later\nThe lighting in this one 🔥\nNeed a part 2\nHow did you do the transition?\nThis made my day",
}),
}).then((res) => res.json())
// Failures answer HTTP 200 with an "error" key.
if (response.error) throw new Error(response.error)
console.log(response){
"order": 184612
}REST API v3
curl https://ultrasmm.io/api/v3/orders \
-H 'Authorization: Bearer tk_live_your_key_here' \
-H 'Content-Type: application/json' \
-d '{
"service": 301,
"link": "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
"comments": [
"Saving this for later",
"The lighting in this one 🔥",
"Need a part 2",
"How did you do the transition?",
"This made my day"
]
}'<?php
$ch = curl_init('https://ultrasmm.io/api/v3/orders');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer tk_live_your_key_here',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'service' => 301,
'link' => 'https://www.tiktok.com/@mila.makes/video/7431187220394482945',
'comments' => ['Saving this for later', 'The lighting in this one 🔥', 'Need a part 2', 'How did you do the transition?', 'This made my day'],
]),
]);
$body = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
if ($status >= 400) {
// $body['error']['code'] is stable; switch on it.
throw new RuntimeException($body['error']['code'] . ': ' . $body['error']['message']);
}
print_r($body);import requests
res = requests.post(
"https://ultrasmm.io/api/v3/orders",
headers={
"Authorization": "Bearer tk_live_your_key_here",
"Content-Type": "application/json",
},
json={
"service": 301,
"link": "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
"comments": ["Saving this for later", "The lighting in this one 🔥", "Need a part 2", "How did you do the transition?", "This made my day"],
},
timeout=30,
)
body = res.json()
if not res.ok:
# body["error"]["code"] is stable; switch on it.
raise RuntimeError(f'{body["error"]["code"]}: {body["error"]["message"]}')
print(body)const res = await fetch("https://ultrasmm.io/api/v3/orders", {
method: "POST",
headers: {
Authorization: "Bearer tk_live_your_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
service: 301,
link: "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
comments: ["Saving this for later", "The lighting in this one 🔥", "Need a part 2", "How did you do the transition?", "This made my day"],
}),
})
const body = await res.json()
if (!res.ok) {
// body.error.code is stable; switch on it.
throw new Error(`${body.error.code}: ${body.error.message}`)
}
console.log(body){
"id": 184612,
"object": "order",
"status": "pending",
"service": {
"id": 301,
"name": "TikTok Custom Comments · US & EU [30D Refill]"
},
"quantity": 5,
"total_quantity": 5,
"comments": [
"Saving this for later",
"The lighting in this one 🔥",
"Need a part 2",
"How did you do the transition?",
"This made my day"
]
}Errors
{"error": "Incorrect comments"}No non-blank lines. v3 message: “Add at least one comment, one per line.” invalid_comments{"error": "Incorrect comments"}A line is over 150 characters. v3 message names up to five lines: “Lines 3, 7 are longer than 150 characters. TikTok rejects longer comments.” invalid_comments{"error": "Quantity less than minimal 5"}Fewer lines than the service minimum. quantity_below_minimum{"error": "Quantity more than maximum 5000"}More lines than the service maximum. quantity_above_maximum
Comments are checked right after the service and the link, before anything is charged. All codes are on Errors.
Comment likes
Service 302, TikTok Comment Likes · Top-Comment Boost, likes one comment under a video to push it to the top. Send the video link, the username of the person who wrote the comment (with or without the @), and a quantity between 10 and 50,000. We like that person’s most recent comment on the video.
curl https://ultrasmm.io/api/v2 \
-d key=tk_live_your_key_here \
-d action=add \
-d service=302 \
--data-urlencode link=https://www.tiktok.com/@mila.makes/video/7431187220394482945 \
--data-urlencode username=jordan.eats \
-d quantity=200<?php
$ch = curl_init('https://ultrasmm.io/api/v2');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'tk_live_your_key_here',
'action' => 'add',
'service' => '302',
'link' => 'https://www.tiktok.com/@mila.makes/video/7431187220394482945',
'username' => 'jordan.eats',
'quantity' => '200',
]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
// Failures answer HTTP 200 with an "error" key.
if (isset($response['error'])) {
throw new RuntimeException($response['error']);
}
print_r($response);import requests
response = requests.post(
"https://ultrasmm.io/api/v2",
data={
"key": "tk_live_your_key_here",
"action": "add",
"service": "302",
"link": "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
"username": "jordan.eats",
"quantity": "200",
},
timeout=30,
).json()
# Failures answer HTTP 200 with an "error" key.
if isinstance(response, dict) and "error" in response:
raise RuntimeError(response["error"])
print(response)const response = await fetch("https://ultrasmm.io/api/v2", {
method: "POST",
body: new URLSearchParams({
key: "tk_live_your_key_here",
action: "add",
service: "302",
link: "https://www.tiktok.com/@mila.makes/video/7431187220394482945",
username: "jordan.eats",
quantity: "200",
}),
}).then((res) => res.json())
// Failures answer HTTP 200 with an "error" key.
if (response.error) throw new Error(response.error)
console.log(response){
"order": 184613
}{"error": "Incorrect username"}No username. v3 message: “Add the username of the person who wrote the comment.” invalid_username{"error": "Incorrect username"}Not a valid username. v3 message: “That username isn't valid. Usernames are 2–24 letters, numbers, underscores or periods.” invalid_username
The v3 order returns the username without the @ as username.
Something unclear or out of date? Write to [email protected] and quote the page.