Every request must include a valid token issued by the Telegram bot. To get your token and top up balance:
token.Our API's base URL is: https://socialfinder.net/api/index.php?v=1
Content-Type: application/json
No additional auth headers—just JSON body including action and token.
{
"action":"searchTiktok",
"token":"your_token_here",
"text":"@username_or_phone"
}
Searches TikTok data by provided text (username/phone/etc.). It will normalize input by stripping ( ) + - / @ characters.
| Field | Type | Required | Description |
|---|---|---|---|
action | string | yes | Must be searchTiktok |
token | string | yes | API token from Telegram bot |
text | string | yes | Search string (username, phone, etc.)—will be sanitized |
{
"status":"success",
"message":"User found",
"data": { /* result from Functions::getTiktokData */ }
}
{
"status":"error",
"message":"User not found"
}
{
"status":"error",
"message":"Your balance is not enough"
}
{
"status":"error",
"message":"Token is not valid"
}
curl -X POST https://socialfinder.net/api/index.php?v=1 \
-H "Content-Type: application/json" \
-d '{
"action":"searchTiktok",
"token":"REPLACE_WITH_TOKEN",
"text":"@someuser"
}'
fetch("https://socialfinder.net/api/index.php?v=1", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
action: "searchTiktok",
token: "REPLACE_WITH_TOKEN",
text: "@someuser"
})
})
.then(r => r.json())
.then(console.log)
.catch(console.error);
Returns current user's balance.
| Field | Type | Required | Description |
|---|---|---|---|
action | string | yes | Must be getBalance |
token | string | yes | API token |
{
"status":"success",
"message":"Balance retrieved",
"data": {
"balance": 42
}
}
{
"status":"error",
"message":"Token is not valid"
}
{
"status":"error",
"message":"Your account is not active"
}
curl -X POST https://socialfinder.net/api/index.php?v=1 \
-H "Content-Type: application/json" \
-d '{
"action":"getBalance",
"token":"REPLACE_WITH_TOKEN"
}'
If action is unrecognized:
{
"status":"error",
"message":"Invalid action"
}
active != 1. Contact with support.searchTiktok, balance must be > 0.text before showing or logging.200 with status inside JSON—document this so integrators aren’t confused.